71 lines
2.6 KiB
Swift
71 lines
2.6 KiB
Swift
// swift-tools-version:5.3
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "WebIdEPassPlugin",
|
|
platforms: [
|
|
.iOS(.v13)
|
|
],
|
|
products: [
|
|
// Products define the executables and libraries a package produces, and make them visible to other packages.
|
|
.library(name: "WebIdEPassPlugin", targets: ["WebIdEPassPluginWrapper"]),
|
|
],
|
|
dependencies: [
|
|
// Dependencies declare other packages that this package depends on.
|
|
.package(
|
|
name: "WebIdPluginCore",
|
|
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-plugin-core-spm.git",
|
|
.branch("snapshots")
|
|
),
|
|
.package(
|
|
name: "OpenSSL",
|
|
url: "https://github.com/krzyzanowskim/OpenSSL.git",
|
|
.upToNextMajor(from: "3.6.1")
|
|
),
|
|
.package(
|
|
name: "CryptoSwift",
|
|
url: "https://github.com/krzyzanowskim/CryptoSwift",
|
|
.upToNextMajor(from: "1.9.0")
|
|
),
|
|
.package(
|
|
name: "ASN1",
|
|
url: "https://github.com/leif-ibsen/ASN1",
|
|
.upToNextMajor(from: "2.7.0")
|
|
),
|
|
.package(
|
|
name: "SwiftECC",
|
|
url: "https://github.com/leif-ibsen/SwiftECC",
|
|
.upToNextMajor(from: "5.5.0")
|
|
),
|
|
.package(
|
|
name: "Logging",
|
|
url: "https://github.com/apple/swift-log",
|
|
.upToNextMajor(from: "1.6.4")
|
|
)
|
|
],
|
|
targets: [
|
|
.binaryTarget(
|
|
name: "WebIdEPassPlugin",
|
|
url: "https://api.webid-solutions.de/releases/ios/xcframework/snapshots/de/webid-solutions/WebIdEPassPlugin/1.0.0/WebIdEPassPlugin.framework-v1.0.0-SNAPSHOT-27.zip",
|
|
checksum: "7a4b42e931d8b8039e72ff75cdcbb05decd778c8da1769635dbaecdb35deffca"
|
|
),
|
|
.target(
|
|
name: "WebIdEPassPluginWrapper",
|
|
dependencies: [
|
|
.target(name: "WebIdEPassPlugin"),
|
|
// [target dependecies here]
|
|
|
|
.product(name: "WebIdPluginCore", package: "WebIdPluginCore"),
|
|
.product(name: "OpenSSL", package: "OpenSSL"),
|
|
.product(name: "CryptoSwift", package: "CryptoSwift"),
|
|
.product(name: "ASN1", package: "ASN1"),
|
|
.product(name: "SwiftECC", package: "SwiftECC"),
|
|
.product(name: "Logging", package: "Logging"),
|
|
]
|
|
)
|
|
],
|
|
swiftLanguageVersions: [SwiftVersion.v5]
|
|
)
|