2016-09-26 4 views
0

저는 Firebase를 처음으로 시험 중입니다. SDK를 수동으로 설치하기로 결정했습니다 포드 설치가 오래 걸렸습니다. Swift Firebase : "_GSDK_NSClassFromString", 다음에서 참조되었습니다 :

나는 경로를 단계별로 다음과 내가이 오류를 가지고 프로젝트를 실행하려고 할 때 :

Undefined symbols for architecture x86_64: 
    "_GSDK_NSClassFromString", referenced from: 
     -[GSDK_GTMSessionFetcher initWithRequest:configuration:] in GoogleNetworkingUtilities(GTMSessionFetcher.o) 
     ___45+[GSDK_GTMSessionFetcher fetcherUserDefaults]_block_invoke in GoogleNetworkingUtilities(GTMSessionFetcher.o) 
     -[GSDK_GTMMIMEDocument generateInputStream:length:boundary:] in GoogleNetworkingUtilities(GTMMIMEDocument.o) 
     -[GSDK_GTMSessionFetcher(GTMSessionFetcherLogging) loggedInputStreamForInputStream:] in GoogleNetworkingUtilities(GTMSessionFetcherLogging.o) 
     -[GSDK_GTMSessionFetcher(GTMSessionFetcherLogging) loggedStreamProviderForStreamProvider:] in GoogleNetworkingUtilities(GTMSessionFetcherLogging.o) 
    "_OBJC_CLASS_$_FIRApp", referenced from: 
     objc-class-ref in FirebaseAuth(FIRAuth_70be5a6d79de0ee5c6b8ffda807589e3.o) 
    "_OBJC_CLASS_$_FIRAppAssociationRegistration", referenced from: 
     objc-class-ref in FirebaseAuth(FIRAuth_70be5a6d79de0ee5c6b8ffda807589e3.o) 
    "_kFIRAppDeleteNotification", referenced from: 
     ___15+[FIRAuth load]_block_invoke in FirebaseAuth(FIRAuth_70be5a6d79de0ee5c6b8ffda807589e3.o) 
    "_kFIRAppNameKey", referenced from: 
     ___15+[FIRAuth load]_block_invoke_2 in FirebaseAuth(FIRAuth_70be5a6d79de0ee5c6b8ffda807589e3.o) 
     ___15+[FIRAuth load]_block_invoke_4 in FirebaseAuth(FIRAuth_70be5a6d79de0ee5c6b8ffda807589e3.o) 
    "_kFIRAppReadyToConfigureSDKNotification", referenced from: 
     ___15+[FIRAuth load]_block_invoke in FirebaseAuth(FIRAuth_70be5a6d79de0ee5c6b8ffda807589e3.o) 
ld: symbol(s) not found for architecture x86_64 
clang: error: linker command failed with exit code 1 (use -v to see invocation) 

사람은 이유를 알고 있나요?

내가 대역폭과 같은 다른 무언가가 아니라고 확실히 말할 수 있지만 다음을 시도하고 더 빨리 신선한 설정에서 실행되는 경우 볼 수
+0

동일한 문제가 있습니다. @JamesG이 문제에 대한 해결책을 찾았습니까? – iBapu

답변

0

설치/:

pod repo remove master 
pod setup 
pod install 
0

확인 당신이 -ObjC을 adde "기타 링커 설정"의 링커 플래그를 눌러 강제로 범주를로드하십시오. 이 기능이 없으면 때로는 범주 만있는 파일이 제대로 링크되지 않습니다.

+0

이미 완료했습니다 – JamesG

+0

프로젝트에 추가 한 프레임 워크 목록을 추가 할 수 있습니까? –

관련 문제