加入收藏 | 设为首页 | 会员中心 | 我要投稿 北几岛 (https://www.beijidao.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

swift – 添加Firestore会生成错误ld:framework not found GRPC

发布时间:2021-07-06 06:14:42 所属栏目:大数据 来源: https://www.jb51.cc
导读:我将Firestore添加到我现有的项目中,我一直在使用Firebase的实时数据库,并且无法再次运行我的项目.现在无法编译我的项目.我一直有ld:框架未找到GRPCClient. 当我删除pod’Firebase / Firestore’时,我的项目运行没有问题.但是我一添加pod’Firebase / Fires
我将Firestore添加到我现有的项目中,我一直在使用Firebase的实时数据库,并且无法再次运行我的项目.现在无法编译我的项目.我一直有ld:框架未找到GRPCClient.

当我删除pod’Firebase / Firestore’时,我的项目运行没有问题.但是我一添加pod’Firebase / Firestore’并安装它我就得到了错误ld:framework not found GRPCClient

这是我的Podfile内容:

pod 'Pastel'
  pod 'TwicketSegmentedControl'
  pod 'IQKeyboardManager'

  pod 'PINRemoteImage'

  pod 'FacebookCore'

  pod 'Firebase/Core'
  pod 'Firebase/Auth'
  pod 'FacebookLogin'
  pod 'FacebookShare'
  pod 'Firebase/Database'
  pod 'Firebase/Messaging'
  pod 'Firebase/Crash'
  pod 'Firebase/RemoteConfig'
  pod 'Firebase/Storage'
  pod 'Firebase/Firestore'

  pod 'AAPhotoCircleCrop'
  pod 'GrowingTextView','~> 0.4.0'
  pod 'TimeAgoInWords'

  pod 'Fabric'
  pod 'Crashlytics'

我终于得到了一个解决方案:

在应用程序工作区中:

Target -> Project -> Build Settings

将Build Active Architectures更改为No,同样在Pods项目中,在每个目标中更改它,清理和重新构建最终解决了框架未找到GRPCClient错误.

(编辑:北几岛)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读