Skip to content

Commit ced5c36

Browse files
committed
fix: App 타깃의 GoogleSignIn 직접 링크를 제거해 GoogleUtilities 중복 포함 경고를 해결
1 parent d2fa031 commit ced5c36

4 files changed

Lines changed: 18 additions & 20 deletions

File tree

Application/DevLogApp/DevLogApp.xcodeproj/project.pbxproj

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
1589C1EF4029ECBF15A842F0 /* DevLogWidgetCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EBFCE939492CAE5AB44E6B81 /* DevLogWidgetCore.framework */; };
1313
160E41BDADA3136CD58BE0B4 /* DevLogData.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B1B97007E09855108A99428B /* DevLogData.framework */; };
1414
186E9AB4F0A79C50FE853607 /* DevLogDomain.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DA49949C677DDE083F7DE29E /* DevLogDomain.framework */; };
15-
18D57A125ACCF0F6B11A7101 /* GoogleSignIn in Frameworks */ = {isa = PBXBuildFile; productRef = F972F1E8E0F5156FE9651020 /* GoogleSignIn */; };
1615
1E452BFF04594187A06AED58 /* DevLogDomain.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = DA49949C677DDE083F7DE29E /* DevLogDomain.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
1716
26C3DC51F23F9C590FDB282D /* DevLogPresentation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 67918B544432C45E63273D84 /* DevLogPresentation.framework */; };
1817
393544DD58D941B69760727E /* DevLogPresentation.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 67918B544432C45E63273D84 /* DevLogPresentation.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
@@ -161,7 +160,6 @@
161160
79134AD67952720CCC5069EA /* DevLogPersistence.framework in Frameworks */,
162161
26C3DC51F23F9C590FDB282D /* DevLogPresentation.framework in Frameworks */,
163162
1589C1EF4029ECBF15A842F0 /* DevLogWidgetCore.framework in Frameworks */,
164-
18D57A125ACCF0F6B11A7101 /* GoogleSignIn in Frameworks */,
165163
160E41BDADA3136CD58BE0B4 /* DevLogData.framework in Frameworks */,
166164
);
167165
runOnlyForDeploymentPostprocessing = 0;
@@ -272,7 +270,6 @@
272270
);
273271
name = DevLog;
274272
packageProductDependencies = (
275-
F972F1E8E0F5156FE9651020 /* GoogleSignIn */,
276273
);
277274
productName = SwiftUI_DevLog;
278275
productReference = DFD48B002DC4D6E2005905C5 /* DevLog.app */;
@@ -312,7 +309,6 @@
312309
minimizedProjectReferenceProxies = 1;
313310
packageReferences = (
314311
DF66A07B2EA52E970098E643 /* XCRemoteSwiftPackageReference "SwiftLint" */,
315-
1D75B0AFC69F88110A25217B /* XCRemoteSwiftPackageReference "GoogleSignIn-iOS" */,
316312
);
317313
preferredProjectObjectVersion = 77;
318314
productRefGroup = 4B47FFC0E73415A65560089A /* Products */;
@@ -785,14 +781,6 @@
785781
/* End XCConfigurationList section */
786782

787783
/* Begin XCRemoteSwiftPackageReference section */
788-
1D75B0AFC69F88110A25217B /* XCRemoteSwiftPackageReference "GoogleSignIn-iOS" */ = {
789-
isa = XCRemoteSwiftPackageReference;
790-
repositoryURL = "https://github.com/google/GoogleSignIn-iOS";
791-
requirement = {
792-
kind = upToNextMajorVersion;
793-
minimumVersion = 9.0.0;
794-
};
795-
};
796784
DF66A07B2EA52E970098E643 /* XCRemoteSwiftPackageReference "SwiftLint" */ = {
797785
isa = XCRemoteSwiftPackageReference;
798786
repositoryURL = "https://github.com/realm/SwiftLint";
@@ -809,11 +797,6 @@
809797
package = DF66A07B2EA52E970098E643 /* XCRemoteSwiftPackageReference "SwiftLint" */;
810798
productName = "plugin:SwiftLintBuildToolPlugin";
811799
};
812-
F972F1E8E0F5156FE9651020 /* GoogleSignIn */ = {
813-
isa = XCSwiftPackageProductDependency;
814-
package = 1D75B0AFC69F88110A25217B /* XCRemoteSwiftPackageReference "GoogleSignIn-iOS" */;
815-
productName = GoogleSignIn;
816-
};
817800
/* End XCSwiftPackageProductDependency section */
818801
};
819802
rootObject = DFD48AF82DC4D6E2005905C5 /* Project object */;

Application/DevLogApp/Sources/App/Delegate/AppDelegate.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import UIKit
99
import DevLogCore
1010
import DevLogData
11-
import GoogleSignIn
11+
import DevLogInfra
1212

1313
class AppDelegate: UIResponder, UIApplicationDelegate {
1414
private let logger = Logger(category: "AppDelegate")
@@ -19,7 +19,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
1919
open url: URL,
2020
options: [UIApplication.OpenURLOptionsKey: Any] = [:]
2121
) -> Bool {
22-
return GIDSignIn.sharedInstance.handle(url)
22+
return GoogleSignInURLHandler.handle(url)
2323
}
2424

2525
func application(

Application/DevLogInfra/DevLogInfra.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 70;
6+
objectVersion = 71;
77
objects = {
88

99
/* Begin PBXBuildFile section */
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
//
2+
// GoogleSignInURLHandler.swift
3+
// DevLogInfra
4+
//
5+
// Created by opfic on 5/23/26.
6+
//
7+
8+
import Foundation
9+
import GoogleSignIn
10+
11+
public enum GoogleSignInURLHandler {
12+
public static func handle(_ url: URL) -> Bool {
13+
GIDSignIn.sharedInstance.handle(url)
14+
}
15+
}

0 commit comments

Comments
 (0)