Skip to content

Commit

Permalink
updating package file
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishekinstnt committed Sep 25, 2024
1 parent a8b5e65 commit 14ae6fa
Showing 1 changed file with 21 additions and 11 deletions.
32 changes: 21 additions & 11 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,32 @@
import PackageDescription

let package = Package(
name: "InstntAriesVCXPackage",
name: "InstntAriesVCX",
products: [
.library(
name: "InstntAriesVCXPackage",
targets: ["InstntAriesVCXPackage"]),
name: "InstntAriesVCX",
targets: ["InstntAriesVCX"]),
],
targets: [
.target(
name: "InstntAriesVCXPackage",
dependencies: ["VCX_uniffiFFI_Lib"],
name: "InstntAriesVCX",
// dependencies: ["VCX_uniffiFFI_Lib"],
path: "aries/agents/ios/ariesvcx/ariesvcx/Source/"
),
.binaryTarget(
name: "VCX_uniffiFFI_Lib",
url: "https://github.com/instnt-inc/instnt-aries-vcx/releases/download/abhishek_GithubAction2/vcx.xcframework.zip",
checksum: "c8964e8a20c2e74199cf40848b7b14afc95a4f3dcae80a4dba974acf54d253ac"
)
// .binaryTarget(
// name: "VCX_uniffiFFI_Lib",
// url: "https://github.com/instnt-inc/instnt-aries-vcx/releases/download/abhishek_GithubAction2/vcx.xcframework.zip",
// checksum: "c8964e8a20c2e74199cf40848b7b14afc95a4f3dcae80a4dba974acf54d253ac"
// )
]
)
)

let InstntAriesVCXTarget = package.targets.first(where: { $0.name == "InstntAriesVCX" })

package.targets.append(.binaryTarget(
name: "VCX_uniffiFFI_Lib_zip",
path: url: "https://github.com/instnt-inc/instnt-aries-vcx/releases/download/abhishek_GithubAction2/vcx.xcframework.zip",
checksum: "c8964e8a20c2e74199cf40848b7b14afc95a4f3dcae80a4dba974acf54d253ac"
))

InstntAriesVCXTarget?.dependencies.append("VCX_uniffiFFI_Lib_zip")

0 comments on commit 14ae6fa

Please sign in to comment.