2022-06-09 11:38:53 +02:00
|
|
|
// swift-tools-version: 5.5
|
2022-06-07 13:23:02 +02:00
|
|
|
|
|
|
|
import PackageDescription
|
|
|
|
|
|
|
|
let package = Package(
|
|
|
|
name: "Push-iOS",
|
2022-06-07 14:03:33 +02:00
|
|
|
platforms: [
|
|
|
|
.macOS(.v12),
|
|
|
|
.iOS(.v15),
|
|
|
|
],
|
2022-06-07 13:23:02 +02:00
|
|
|
products: [
|
|
|
|
.library(
|
2022-06-07 14:03:33 +02:00
|
|
|
name: "Push",
|
|
|
|
targets: ["Push"]),
|
2022-06-07 13:23:02 +02:00
|
|
|
],
|
|
|
|
dependencies: [
|
2022-06-09 13:52:17 +02:00
|
|
|
.package(url: "https://christophhagen.de/git/ch/Push-Definitions.git", from: "1.0.0"),
|
|
|
|
.package(url: "https://github.com/swift-server-community/APNSwift.git", from: "4.0.0"),
|
2022-06-07 14:03:33 +02:00
|
|
|
.package(url: "https://github.com/apple/swift-crypto.git", "1.0.0" ..< "3.0.0")
|
2022-06-07 13:23:02 +02:00
|
|
|
],
|
|
|
|
targets: [
|
|
|
|
.target(
|
2022-06-07 14:03:33 +02:00
|
|
|
name: "Push",
|
|
|
|
dependencies: [
|
2022-06-09 13:52:17 +02:00
|
|
|
.product(name: "PushMessageDefinitions", package: "Push-Definitions"),
|
2022-06-07 14:03:33 +02:00
|
|
|
.product(name: "Crypto", package: "swift-crypto")
|
|
|
|
]),
|
2022-06-07 13:23:02 +02:00
|
|
|
]
|
|
|
|
)
|