2024-09-26 05:17:26 +08:00
|
|
|
// swift-tools-version:5.11
|
2018-04-12 01:19:30 +08:00
|
|
|
import PackageDescription
|
|
|
|
|
|
|
|
let package = Package(
|
2018-06-29 16:49:06 +08:00
|
|
|
name: "Defaults",
|
2019-03-26 16:49:25 +08:00
|
|
|
platforms: [
|
2023-10-18 17:56:02 +08:00
|
|
|
.macOS(.v11),
|
|
|
|
.iOS(.v14),
|
|
|
|
.tvOS(.v14),
|
2024-04-20 12:14:41 +08:00
|
|
|
.watchOS(.v9),
|
2023-10-18 17:56:02 +08:00
|
|
|
.visionOS(.v1)
|
2019-03-26 16:49:25 +08:00
|
|
|
],
|
2018-06-29 16:49:06 +08:00
|
|
|
products: [
|
|
|
|
.library(
|
|
|
|
name: "Defaults",
|
|
|
|
targets: [
|
|
|
|
"Defaults"
|
|
|
|
]
|
2018-04-12 01:19:30 +08:00
|
|
|
)
|
2018-06-29 16:49:06 +08:00
|
|
|
],
|
|
|
|
targets: [
|
|
|
|
.target(
|
2024-02-10 17:20:39 +08:00
|
|
|
name: "Defaults",
|
2024-09-30 18:19:33 +08:00
|
|
|
resources: [
|
|
|
|
.copy("PrivacyInfo.xcprivacy")
|
|
|
|
]
|
|
|
|
// swiftSettings: [
|
|
|
|
// .swiftLanguageMode(.v5)
|
|
|
|
// ]
|
2018-04-12 01:19:30 +08:00
|
|
|
),
|
2018-06-29 16:49:06 +08:00
|
|
|
.testTarget(
|
|
|
|
name: "DefaultsTests",
|
|
|
|
dependencies: [
|
|
|
|
"Defaults"
|
|
|
|
]
|
2024-09-30 18:19:33 +08:00
|
|
|
// swiftSettings: [
|
|
|
|
// .swiftLanguageMode(.v5)
|
|
|
|
// ]
|
2018-04-12 01:19:30 +08:00
|
|
|
)
|
2018-06-29 16:49:06 +08:00
|
|
|
]
|
2018-04-12 01:19:30 +08:00
|
|
|
)
|