添加Firestore会生成错误ld:framework not found GRPCClient

jam*_*kid 5 firebase swift grpc google-cloud-firestore

我将Firestore添加到我现有的项目中,我一直在使用Firebase的实时数据库,并且无法再次运行我的项目.现在无法编译我的项目.我一直在 ld: framework not found 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'
Run Code Online (Sandbox Code Playgroud)

构建错误的屏幕截图

Kar*_*pez 2

我自己终于找到了解决方案:

在应用程序工作区中:

Target -> Project -> Build Settings 
Run Code Online (Sandbox Code Playgroud)

更改Build Active ArchitecturesNo,也在Pods项目中,在每个目标中更改它,清理和重新构建最终解决了the framework not found GRPCClient错误。