[英]Xcode FIRRemoteConfig Build error
在我的xcode项目中, firebase realtime database
和Analytics
已经实施并且可以成功运行。 为了实现Firebase remote config
功能,我在项目中添加了FirebaseRemoteConfig.framework
和Protobuf.framework
。 我收到以下消息时出现构建错误。 我尚未编写任何与远程配置相关的代码。
Undefined symbols for architecture arm64:
"_kFIRAppIsDefaultAppKey", referenced from:
+[FIRRemoteConfig(FIRApp) receivedReadyToConfigureNotification:] in FirebaseRemoteConfig(FIRRemoteConfig+FIRApp_718fa6fc16d7fc9251249ec4e3a58ce2.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我已找到此问题的解决方案。 首先,您需要添加所有更新的firebase框架。 如果您正在使用它。 就我而言,我使用的是较旧版本的Firebase SDK。 我刚刚更新了它,错误消失了。 快乐编码:)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.