当我尝试从https://github.com/firebase/login-demo-ios构建iOS登录演示时出现此错误:
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_Firebase", referenced from:
objc-class-ref in ViewController.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我已将项目Podfile更新为使用Firebase 2.4.1并将目标更新为iOS 8.4并使用XCode 7.0.1。我该如何解决这个问题?
答案 0 :(得分:1)
我根据@Frank van Puffelen的建议在Github上创建了一个问题,得到了这个回复(https://github.com/firebase/login-demo-ios/issues/15):
这是由于CocoaPods上的Firebase版本中断。我们正在努力解决这个问题。作为解决方法,直到我们发布,您可以在Podfile中指向2.3.3。
我想这会打破任何从CocoaPods拉动Firebase 2.4的项目。