Skip to content

Commit

Permalink
testing github action 18
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishekinstnt committed Sep 18, 2024
1 parent 26769b6 commit 1c7d003
Show file tree
Hide file tree
Showing 7 changed files with 1,566 additions and 46 deletions.
33 changes: 11 additions & 22 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,38 +7,27 @@
import PackageDescription

let package = Package(
name: "InstntAriesVCX",
name: "InstntAriesVCXPackage",
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
.library(
name: "InstntAriesVCX",
targets: ["InstntAriesVCX"]),
name: "InstntAriesVCXPackage",
targets: ["InstntAriesVCXPackage"]),
],
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
// Targets can depend on other targets in this package and products from dependencies.
.target(
name: "InstntAriesVCX",
name: "InstntAriesVCXPackage",
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 AriesVCXTarget = package.targets.first(where: { $0.name == "InstntAriesVCX" })
//let AriesVCXTarget = package.targets.first(where: { $0.name == "InstntAriesVCXPackage" })

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

//checksum: "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
//#path: "aries/agents/ios/ariesvcx/ariesvcx/SPM/vcx.xcframework"))

AriesVCXTarget?.dependencies.append("VCX_uniffiFFI_Lib")
//AriesVCXTarget?.dependencies.append("VCX_uniffiFFI_Lib")

Loading

0 comments on commit 1c7d003

Please sign in to comment.