From 0374457b42c7e53b2b6e206bad792e065bdd2a33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=84=A0=EA=B7=9C?= Date: Wed, 26 Nov 2025 08:45:43 +0000 Subject: [PATCH] Update Package.swift --- Package.swift | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Package.swift b/Package.swift index 4c994f5..2f2db06 100644 --- a/Package.swift +++ b/Package.swift @@ -3,35 +3,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", + name: "tcmpush", // 3. 아래 정의된 target 이름을 정확히 가리켜야 함 - targets: ["tcm_push_solution"] + 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. 바이너리 타겟 (내부용 이름, 언더바로 통일) .binaryTarget( - name: "tcm_push_solution_core", + name: "tcmpush_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" + 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", // product의 targets와 일치해야 함 dependencies: [ - "tcm_push_solution_core", // 위 binaryTarget 이름과 일치해야 함 + "tcmpush", // 위 binaryTarget 이름과 일치해야 함 .product(name: "FirebaseMessaging", package: "firebase-ios-sdk") ] )