Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding Firestore generates the error ld: framework not found GRPCClient

I added Firestore to my my existing project, I have been using Realtime Database of Firebase and am having trouble to run my project again .It's now Impossible to compile my project. I keep having ld: framework not found GRPCClient.

When I remove pod 'Firebase/Firestore' , my project runs with no problem. But I as soon as I add pod 'Firebase/Firestore' and install it I got the error with ld: framework not found GRPCClient

Here is my Podfile content :

  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'

A screenshot of the build error

like image 313
jamesthakid Avatar asked Oct 29 '22 00:10

jamesthakid


1 Answers

I finally got a solution myself:

In the app workspace:

Target -> Project -> Build Settings 

changing Build Active Architectures to No, also in Pods project, changing it in each of the targets, cleaning and re-building finally resolved the framework not found GRPCClient error.

like image 65
Karlo A. López Avatar answered Nov 02 '22 23:11

Karlo A. López