-
Notifications
You must be signed in to change notification settings - Fork 30
/
Package.swift
55 lines (53 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// swift-tools-version:5.5
/*
* Copyright 2022 TikTok Pte. Ltd.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*/
import PackageDescription
let package = Package(
name: "TikTokOpenSDK",
defaultLocalization: "en",
platforms: [
.iOS(.v12)
],
products: [
.library(
name: "TikTokOpenAuthSDK",
targets: ["TikTokOpenAuthSDK"]
),
.library(
name: "TikTokOpenSDKCore",
targets: ["TikTokOpenSDKCore"]
),
.library(
name: "TikTokOpenShareSDK",
targets: ["TikTokOpenShareSDK"]
)
],
targets: [
.target(
name: "TikTokOpenAuthSDK",
dependencies: ["TikTokOpenSDKCore"],
resources: [.copy("TikTokOpenAuthSDK/Resources/PrivacyInfo.xcprivacy"),]
),
.testTarget(
name: "TikTokOpenAuthSDKTests",
dependencies: ["TikTokOpenAuthSDK"]
),
.target(
name: "TikTokOpenSDKCore",
resources: [.copy("Resources/PrivacyInfo.xcprivacy"),]
),
.target(
name: "TikTokOpenShareSDK",
dependencies: ["TikTokOpenSDKCore"],
resources: [.copy("Resources/PrivacyInfo.xcprivacy"),]
),
.testTarget(
name: "TikTokOpenShareSDKTests",
dependencies: ["TikTokOpenShareSDK"]
)
]
)