OGeek|极客世界-中国程序员成长平台

标题: ios - Xcode FIRRemoteConfig 构建错误 [打印本页]

作者: 菜鸟教程小白    时间: 2022-12-12 13:10
标题: ios - Xcode FIRRemoteConfig 构建错误

在我的 xcode 项目中,firebase 实时数据库Analytics 已经实现并成功运行。为了实现 Firebase 远程配置 功能,我将 FirebaseRemoteConfig.frameworkProtobuf.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)

这是我添加到项目中的所有框架。 enter image description here



Best Answer-推荐答案


我已经找到了这个问题的解决方案。首先,您需要添加所有更新的 firebase 框架。如果你正在使用它。就我而言,我使用的是旧版本的 firebase sdks。我刚刚更新了它并且错误消失了。快乐编码

关于ios - Xcode FIRRemoteConfig 构建错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42890842/






欢迎光临 OGeek|极客世界-中国程序员成长平台 (http://ogeek.cn/) Powered by Discuz! X3.4