-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
41 lines (40 loc) · 1.63 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.9
import PackageDescription
let package = Package(
name: "CrowdConnectedCore",
platforms: [
.iOS(.v13)
],
products: [
.library(name: "CrowdConnectedCore",
targets: ["CrowdConnectedCoreTarget"])
],
dependencies: [
.package(url: "https://github.com/crowdconnected/crowdconnected-shared-ios.git",
from: "2.1.1"),
.package(url: "https://github.com/awslabs/aws-sdk-swift",
from: "1.0.14")
],
targets: [
.target(name: "CrowdConnectedCoreTarget",
dependencies: [
.target(name: "CrowdConnectedCoreWrapper")
],
path: "CrowdConnectedCoreWrap",
resources: [.copy("Resources/PrivacyInfo.xcprivacy")]),
.target(name: "CrowdConnectedCoreWrapper",
dependencies: [
.target(name: "CrowdConnectedCore"),
.product(name: "CrowdConnectedShared", package: "crowdconnected-shared-ios"),
.product(name: "AWSCognitoIdentity", package: "aws-sdk-swift"),
.product(name: "AWSCognitoIdentityProvider", package: "aws-sdk-swift"),
.product(name: "AWSClientRuntime", package: "aws-sdk-swift"),
.product(name: "AWSKinesis", package: "aws-sdk-swift")
],
path: "CrowdConnectedCoreWrapper",
resources: [.copy("Resources/PrivacyInfo.xcprivacy")]),
.binaryTarget(name: "CrowdConnectedCore",
path: "CrowdConnectedCore.xcframework"
)
]
)