Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Keychy/Keychy.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
4C25259D2F3037CD003CC5AD /* WidgetBundleModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C25259B2F303745003CC5AD /* WidgetBundleModel.swift */; };
4C25259E2F3037D6003CC5AD /* BundleImageCache.swift in Sources */ = {isa = PBXBuildFile; fileRef = C6B5707E2EC206CD0049F969 /* BundleImageCache.swift */; };
4C2525DA2F35B2A7003CC5AD /* BundleSheetFilterBar.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C2525D92F35B2A7003CC5AD /* BundleSheetFilterBar.swift */; };
4C2525DD2F39E38C003CC5AD /* FirebaseAppCheck in Frameworks */ = {isa = PBXBuildFile; productRef = 4C2525DC2F39E38C003CC5AD /* FirebaseAppCheck */; };
4C3687F72EBFA87800C64E75 /* Pretendard-Medium.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 4C3687F62EBFA87800C64E75 /* Pretendard-Medium.ttf */; };
4C3687FA2EBFC0FB00C64E75 /* NotificationManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C3687F82EBFC0FB00C64E75 /* NotificationManager.swift */; };
4C3687FC2EC05E6800C64E75 /* AccountAlert.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C3687FB2EC05E6800C64E75 /* AccountAlert.swift */; };
Expand Down Expand Up @@ -920,6 +921,7 @@
38A5943C2EAE4EE20003D712 /* FirebaseAnalytics in Frameworks */,
38A5943E2EAE4EE20003D712 /* FirebaseAuth in Frameworks */,
38A594462EAE4EE20003D712 /* FirebaseMessaging in Frameworks */,
4C2525DD2F39E38C003CC5AD /* FirebaseAppCheck in Frameworks */,
38A594422EAE4EE20003D712 /* FirebaseCrashlytics in Frameworks */,
38A594402EAE4EE20003D712 /* FirebaseCore in Frameworks */,
38A594482EAE4EE20003D712 /* FirebaseStorage in Frameworks */,
Expand Down Expand Up @@ -2367,6 +2369,7 @@
38A594472EAE4EE20003D712 /* FirebaseStorage */,
4CBBEF192EB2565900252590 /* Nuke */,
4CBBEF1B2EB2565900252590 /* NukeUI */,
4C2525DC2F39E38C003CC5AD /* FirebaseAppCheck */,
);
productName = Keychy;
productReference = 4CEC61B12EAE071B0099ECEE /* Keychy.app */;
Expand Down Expand Up @@ -3299,6 +3302,10 @@
package = 38A5943A2EAE4EE20003D712 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */;
productName = FirebaseStorage;
};
4C2525DC2F39E38C003CC5AD /* FirebaseAppCheck */ = {
isa = XCSwiftPackageProductDependency;
productName = FirebaseAppCheck;
};
4C6621DA2EAE0D93001760B5 /* Lottie */ = {
isa = XCSwiftPackageProductDependency;
package = 4C6621D92EAE0D93001760B5 /* XCRemoteSwiftPackageReference "lottie-ios" */;
Expand Down
11 changes: 10 additions & 1 deletion Keychy/Keychy/App/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import SwiftUI
import FirebaseCore
import FirebaseAuth
import FirebaseMessaging
import FirebaseAppCheck
import UserNotifications

/// UIKit AppDelegate를 SwiftUI 앱에 통합
Expand Down Expand Up @@ -42,7 +43,15 @@ class AppDelegate: NSObject, UIApplicationDelegate {

func application(_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {


// App Check 설정 (Firebase 초기화 전에 해야 함)
#if DEBUG
let providerFactory = AppCheckDebugProviderFactory()
#else
let providerFactory = DeviceCheckProviderFactory()
#endif
AppCheck.setAppCheckProviderFactory(providerFactory)

// Firebase 초기화
FirebaseApp.configure()

Expand Down