diff --git a/KkuMulKum/Resource/KeyChain/KeychainService.swift b/KkuMulKum/Resource/KeyChain/KeychainService.swift index 9ea718b6..52f052f9 100644 --- a/KkuMulKum/Resource/KeyChain/KeychainService.swift +++ b/KkuMulKum/Resource/KeyChain/KeychainService.swift @@ -26,8 +26,10 @@ class DefaultKeychainService: KeychainService { static let refreshToken = "refreshToken" } - init(serviceName: String = Bundle.main.bundleIdentifier ?? "KkuMulKum.yizihn") { + init() { + let serviceName = Bundle.main.privacyInfo?["ServiceName"] as? String ?? Bundle.main.bundleIdentifier ?? "DefaultServiceName" self.keychain = KeychainWrapper(serviceName: serviceName) + print("Keychain initialized with service name: \(serviceName)") } var accessToken: String? { diff --git a/KkuMulKum/Source/Onboarding/Login/ViewController/LoginViewController.swift b/KkuMulKum/Source/Onboarding/Login/ViewController/LoginViewController.swift index 96baefba..f445f116 100644 --- a/KkuMulKum/Source/Onboarding/Login/ViewController/LoginViewController.swift +++ b/KkuMulKum/Source/Onboarding/Login/ViewController/LoginViewController.swift @@ -33,10 +33,22 @@ class LoginViewController: BaseViewController { override func setupAction() { super.setupAction() - let appleTapGesture = UITapGestureRecognizer(target: self, action: #selector(appleLoginTapped)) - loginView.appleLoginImageView.addGestureRecognizer(appleTapGesture) + let appleTapGesture = UITapGestureRecognizer( + target: self, + action: #selector( + appleLoginTapped + ) + ) + loginView.appleLoginImageView.addGestureRecognizer( + appleTapGesture + ) - let kakaoTapGesture = UITapGestureRecognizer(target: self, action: #selector(kakaoLoginTapped)) + let kakaoTapGesture = UITapGestureRecognizer( + target: self, + action: #selector( + kakaoLoginTapped + ) + ) loginView.kakaoLoginImageView.addGestureRecognizer(kakaoTapGesture) loginView.dummyNextButton.addTarget(