我正在尝试我们的Firebase第一次。我选择了手动安装SDK,因为Pod安装正在永久。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)
有谁知道为什么吗?
我有同样的问题,@JamesG你有没有找到这方面的解决方案? – iBapu