Compare commits
20 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c7bc009bef | ||
|
|
fd9fd3127a | ||
|
|
39e3755bd4 | ||
|
|
6268b559ae | ||
|
|
80702c0c3f | ||
|
|
a0b21401ad | ||
|
|
c7430c3f58 | ||
|
|
aa6f120dfd | ||
|
|
e52fa0aa20 | ||
|
|
56582f19d6 | ||
|
|
d2a9d9e463 | ||
|
|
83bbb3b9e9 | ||
|
|
12ba9f3faa | ||
|
|
5c8bb517cb | ||
|
|
1badbcc371 | ||
|
|
dc00ac7c4b | ||
|
|
836b547ccb | ||
| ebdbc02ede | |||
| bafe45b10e | |||
| 0374457b42 |
|
|
@ -2,36 +2,32 @@
|
||||||
import PackageDescription
|
import PackageDescription
|
||||||
|
|
||||||
let package = Package(
|
let package = Package(
|
||||||
// 1. 패키지 이름 (Git 저장소 이름과 일치시켜야 함 -> 언더바)
|
name: "tcmpush",
|
||||||
name: "tcm_push_solution",
|
|
||||||
platforms: [
|
platforms: [
|
||||||
.iOS(.v14)
|
.iOS(.v16)
|
||||||
],
|
],
|
||||||
products: [
|
products: [
|
||||||
.library(
|
.library(
|
||||||
// 2. 고객이 import 할 때 쓰는 이름 (언더바 권장)
|
name: "tcmpush",
|
||||||
name: "tcm_push_solution",
|
targets: ["tcmpushWrapper"]
|
||||||
// 3. 아래 정의된 target 이름을 정확히 가리켜야 함
|
|
||||||
targets: ["tcm_push_solution"]
|
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
dependencies: [
|
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: [
|
targets: [
|
||||||
// 4. 바이너리 타겟 (내부용 이름, 언더바로 통일)
|
// 4. 바이너리 타겟 (내부용 이름)
|
||||||
.binaryTarget(
|
.binaryTarget(
|
||||||
name: "tcm_push_solution_core",
|
name: "tcmpush_core",
|
||||||
// URL은 아까 만드신 Gitea 주소 그대로
|
url: "https://git.ipstein.myds.me/api/packages/seonkyu.kim/generic/tcmpush/1.0.8/tcmpush.xcframework.zip",
|
||||||
url: "https://git.ipstein.myds.me/api/packages/seonkyu.kim/generic/tcm_push_solution/1.0.6/tcm_push_solution.xcframework.zip",
|
checksum: "1b7d3cc1381d213f13f888015fce49f05ca6547846e8b8ab4e74d2cf9d2e426e"
|
||||||
checksum: "473e3adb39dbc6a2a4f0b99629a54c996471d88d7e858b43b4ed62612cad4392"
|
|
||||||
),
|
),
|
||||||
|
|
||||||
// 5. 래퍼 타겟 (최종 모듈 이름)
|
// 5. 래퍼 타겟 (최종 모듈 이름)
|
||||||
.target(
|
.target(
|
||||||
name: "tcm_push_solution", // product의 targets와 일치해야 함
|
name: "tcmpushWrapper",
|
||||||
dependencies: [
|
dependencies: [
|
||||||
"tcm_push_solution_core", // 위 binaryTarget 이름과 일치해야 함
|
"tcmpush_core",
|
||||||
.product(name: "FirebaseMessaging", package: "firebase-ios-sdk")
|
.product(name: "FirebaseMessaging", package: "firebase-ios-sdk")
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
|
||||||
BIN
Sources/.DS_Store
vendored
Normal file
BIN
Sources/.DS_Store
vendored
Normal file
Binary file not shown.
3
Sources/tcmpushWrapper/Dummy.swift
Normal file
3
Sources/tcmpushWrapper/Dummy.swift
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
|
||||||
|
import Foundation
|
||||||
|
@_exported import tcmpush
|
||||||
Loading…
Reference in New Issue
Block a user