안녕하세요. 유니티로 게임을 개발하고 있습니다.
카카오 SDK 3.10.6을 사용하여 유니티에 카카오 로그인을 구현하려 하고 있습니다.
다만 유니티로 빌드한 프로젝트가 Xcode에서 빌드 Fail이 나고 있습니다. 아래와 같은 에러 메세지가 뜹니다.
Undefined symbols for architecture armv7:
"_ASAuthorizationScopeEmail", referenced from:
-[KGSigninWithAppleWrapper signinWithAppleWithCompletionHandler:] in KakaoGame(KGSigninWithAppleWrapper.o)
“OBJC_CLASS$_ASAuthorizationAppleIDButton”, referenced from:
objc-class-ref in KakaoGame(KGIdpLoginView.o)
"_ASAuthorizationOperationLogin", referenced from:
-[KGSigninWithAppleWrapper signinWithAppleWithCompletionHandler:] in KakaoGame(KGSigninWithAppleWrapper.o)
"_ASAuthorizationScopeFullName", referenced from:
-[KGSigninWithAppleWrapper signinWithAppleWithCompletionHandler:] in KakaoGame(KGSigninWithAppleWrapper.o)
"___isPlatformVersionAtLeast", referenced from:
-[NZWebView layoutSubviews] in KakaoGame(NZWebView.o)
___41-[NZAuthImpl loginWithCompletionHandler:]_block_invoke_2 in KakaoGame(NZAuthImpl.o)
+[NZSystem IsDeviceRemoteNotificationOption] in KakaoGame(NZSystem.o)
-[KGDaumCafeView layoutSubviews] in KakaoGame(KGDaumCafeView.o)
___27-[NZRemotePushService init]_block_invoke in KakaoGame(NZRemotePushService.o)
-[NZSupportImpl useEncodedZat] in KakaoGame(NZSupportImpl.o)
-[NZSessionRequestFactory signinWithAppleLoginRequest:idpAccount:autoLogin:isResume:] in KakaoGame(NZSessionRequestFactory.o)
…
"_ASAuthorizationAppleIDProviderCredentialRevokedNotification", referenced from:
-[KGSigninWithAppleWrapper init] in KakaoGame(KGSigninWithAppleWrapper.o)
“OBJC_CLASS$_FIRDynamicLinks”, referenced from:
objc-class-ref in libFirebaseCppApp.a(invites_receiver_internal_ios_fe43142c9b5429d3e0c956b7297ce932.o)
“OBJC_CLASS$_ASAuthorizationController”, referenced from:
objc-class-ref in KakaoGame(KGSigninWithAppleWrapper.o)
“OBJC_CLASS$_ASAuthorizationAppleIDProvider”, referenced from:
objc-class-ref in KakaoGame(KGSigninWithAppleWrapper.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
링크 에러인데 KGSigninWithAppleWrapper.o에서 참조하려는 것들이 없어서 나는 것 같습니다.
혹시 몰라 SDK를 다 제거하고 새로 다시 붙여 보았으나 똑같은 에러가 발생합니다.
어떻게 해결해야 할지 몰라 고생하다가 포럼에 글을 씁니다.
무슨 문제일까요?