This commit is contained in:
SEAN 2025-11-26 18:03:33 +09:00
commit dc00ac7c4b

View File

@ -2,38 +2,35 @@
import PackageDescription
let package = Package(
// 1. (Git -> )
name: "tcm_push_solution",
name: "tcmpush",
platforms: [
.iOS(.v14)
],
products: [
.library(
// 2. import ( )
name: "tcm_push_solution",
// 3. target
targets: ["tcm_push_solution"]
name: "tcmpush",
targets: ["tcmpush"]
)
],
dependencies: [
.package(url: "https://github.com/firebase/firebase-ios-sdk", from: "11.0.0")
.package(url: "https://github.com/firebase/firebase-ios-sdk", from: "12.0.0")
],
targets: [
// 4. ( , )
// 4. ( )
.binaryTarget(
name: "tcm_push_solution_core",
// URL Gitea
url: "https://git.ipstein.myds.me/api/packages/seonkyu.kim/generic/tcm_push_solution/1.0.6/tcm_push_solution.xcframework.zip",
checksum: "473e3adb39dbc6a2a4f0b99629a54c996471d88d7e858b43b4ed62612cad4392"
name: "tcmpush_core",
url: "https://git.ipstein.myds.me/api/packages/seonkyu.kim/generic/tcmpush/1.0.0/tcmpush.xcframework.zip",
checksum: "097aa3e33ce234fa7146757a8236361f17090bb669a2463b13d311229de2d43d"
),
// 5. ( )
.target(
name: "tcm_push_solution", // product targets
name: "tcmpush",
dependencies: [
"tcm_push_solution_core", // binaryTarget
"tcmpush_core", // .
.product(name: "FirebaseMessaging", package: "firebase-ios-sdk")
]
// path: "Sources/tcmpush" ( )
)
]
)
)