Compare commits

..

No commits in common. "main" and "1.0.0" have entirely different histories.
main ... 1.0.0

3 changed files with 15 additions and 14 deletions

View File

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

BIN
Sources/.DS_Store vendored

Binary file not shown.

View File

@ -1,3 +0,0 @@
import Foundation
@_exported import tcmpush