diff --git a/LionHeart-iOS/LionHeart-iOS.xcodeproj/project.pbxproj b/LionHeart-iOS/LionHeart-iOS.xcodeproj/project.pbxproj index 0cd7f7b0..569c26af 100644 --- a/LionHeart-iOS/LionHeart-iOS.xcodeproj/project.pbxproj +++ b/LionHeart-iOS/LionHeart-iOS.xcodeproj/project.pbxproj @@ -281,6 +281,7 @@ B57BEB6B2A6149AD00D1727C /* NetworkRequest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NetworkRequest.swift; sourceTree = ""; }; B57BEB6D2A6275D600D1727C /* Serviceable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Serviceable.swift; sourceTree = ""; }; B57BEB6F2A6275F500D1727C /* ViewControllerServiceable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewControllerServiceable.swift; sourceTree = ""; }; + B58E8CBD2A6AE0F200FF5202 /* LionHeart-iOSRelease.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "LionHeart-iOSRelease.entitlements"; sourceTree = ""; }; B59892802A56C3F900CE1FEB /* LionHeart-iOSDebug.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "LionHeart-iOSDebug.entitlements"; sourceTree = ""; }; B59892822A56C93400CE1FEB /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = ""; }; B59892932A57A93300CE1FEB /* Config.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Config.swift; sourceTree = ""; }; @@ -561,6 +562,7 @@ B532E8302A5525C600F0DB19 /* LionHeart-iOS */ = { isa = PBXGroup; children = ( + B58E8CBD2A6AE0F200FF5202 /* LionHeart-iOSRelease.entitlements */, B59892802A56C3F900CE1FEB /* LionHeart-iOSDebug.entitlements */, B598925D2A56B87D00CE1FEB /* Application */, B59892022A56B29B00CE1FEB /* Scenes */, @@ -1904,6 +1906,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = "LionHeart-iOS/LionHeart-iOSRelease.entitlements"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution"; CODE_SIGN_STYLE = Manual; CURRENT_PROJECT_VERSION = 1; diff --git a/LionHeart-iOS/LionHeart-iOS/Application/AppDelegate.swift b/LionHeart-iOS/LionHeart-iOS/Application/AppDelegate.swift index d41a7f3a..ea3cd03c 100644 --- a/LionHeart-iOS/LionHeart-iOS/Application/AppDelegate.swift +++ b/LionHeart-iOS/LionHeart-iOS/Application/AppDelegate.swift @@ -59,7 +59,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate { extension AppDelegate: MessagingDelegate { func messaging(_ messaging: Messaging, didReceiveRegistrationToken fcmToken: String?) { - guard let fcmToken else { return } print("✅✅✅✅✅✅✅✅✅✅✅✅✅fcmToken받아오기 성공✅✅✅✅✅✅✅✅✅✅✅✅✅✅") print("fcmToken: ", fcmToken) diff --git a/LionHeart-iOS/LionHeart-iOS/LionHeart-iOSRelease.entitlements b/LionHeart-iOS/LionHeart-iOS/LionHeart-iOSRelease.entitlements new file mode 100644 index 00000000..903def2a --- /dev/null +++ b/LionHeart-iOS/LionHeart-iOS/LionHeart-iOSRelease.entitlements @@ -0,0 +1,8 @@ + + + + + aps-environment + development + +