Update Package.swift

This commit is contained in:
김선규 2025-11-26 08:55:17 +00:00
parent 0374457b42
commit bafe45b10e

View File

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