-
Notifications
You must be signed in to change notification settings - Fork 820
/
Package.swift
30 lines (29 loc) · 1.12 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
// swift-tools-version: 5.4
import PackageDescription
let package = Package(
name: "PhoneNumberKit",
platforms: [
.iOS(.v12), .macOS(.v10_13), .tvOS(.v12), .watchOS(.v4)
],
products: [
.library(name: "PhoneNumberKit", targets: ["PhoneNumberKit"]),
.library(name: "PhoneNumberKit-Static", type: .static, targets: ["PhoneNumberKit"]),
.library(name: "PhoneNumberKit-Dynamic", type: .dynamic, targets: ["PhoneNumberKit"])
],
targets: [
.target(name: "PhoneNumberKit",
path: "PhoneNumberKit",
exclude: ["Resources/Original",
"Resources/README.md",
"Resources/update_metadata.sh",
"Info.plist"],
resources: [
.process("Resources/PhoneNumberMetadata.json"),
.copy("Resources/PrivacyInfo.xcprivacy")
]),
.testTarget(name: "PhoneNumberKitTests",
dependencies: ["PhoneNumberKit"],
path: "PhoneNumberKitTests",
exclude: ["Info.plist"])
]
)