0

Cocoa 포드를 통해 앱에 FCM을 추가하는 중에이 오류가 발생합니다. FCM은 Google의 Firebase 클라우드 메시징 SDK입니다.오류 iOS에서 FCM을 사용하여 아키텍처 arm64에 대한 정의되지 않은 기호

프로젝트 및 포드 프로젝트 대상에서 arm64을 제거하려고했습니다. 그리고 단지 아키텍처 빌드를 yes/no로 설정하십시오.

Undefined symbols for architecture arm64: "_OBJC_CLASS_$_FIRInstanceID", referenced from: type metadata accessor for __ObjC.FIRInstanceID in AppDelegate.o "_OBJC_CLASS_$_FIRMessaging", referenced from: type metadata accessor for __ObjC.FIRMessaging in AppDelegate.o "_OBJC_CLASS_$_FIRApp", referenced from: type metadata accessor for __ObjC.FIRApp in AppDelegate.o "_kFIRInstanceIDTokenRefreshNotification", referenced from: Memorymail.AppDelegate.configNotificationSettings (Memorymail.AppDelegate)() ->() in AppDelegate.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

+0

누구에게도 해결책이 있습니까? –

+0

포드를 설치 했습니까? 프로젝트가 아닌 작업 공간에서 빌드 했습니까? – user102008

+0

예, 이제 해결되었습니다. –

답변

0

나는 동일한 사례를 경험했습니다. 프로젝트에 GoogleService-Info.plist을 추가하여 문제를 해결했습니다. (firebase 콘솔에서 다운로드했습니다.)

관련 문제