-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
41 lines (38 loc) · 1.46 KB
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// 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: "Data4LifeCrypto",
platforms: [
.iOS(.v13),
.macOS(.v10_12)
],
products: [
.library(
name: "Data4LifeCrypto",
targets: ["Data4LifeCrypto"]),
],
dependencies: [
.package(name: "Data4LifeCryptoRSAPSS",
url: "https://github.com/d4l-data4life/d4l-crypto-rsa-pss-ios.git",
.upToNextMinor(from: "1.0.0"))
],
targets: [
.target(name: "RSAPSSDependency",
dependencies: [
.product(name: "Data4LifeCryptoRSAPSS",
package: "Data4LifeCryptoRSAPSS")
],
path: "SwiftPMDependencyTarget/RSAPSS"),
.binaryTarget(
name: "Data4LifeCrypto",
url: "https://d4l-ios-artifact-repository.s3.eu-central-1.amazonaws.com/d4l-data4life/d4l-crypto-ios/Data4LifeCrypto-xcframework-v1.8.0.zip",
checksum: "7f2b7dcb6397ec26748115f8ea6cfda7d2c6a1a2c986eac230cbd8f63a9fe14b"
),
.testTarget(name: "Data4LifeCryptoTests",
dependencies: ["Data4LifeCrypto"],
path: "Crypto/Tests",
exclude: ["Info.plist", "Data4LifeCryptoHostApp.xctestplan"],
resources: [.process("Resources")]),
]
)