5

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

jamesthakid
  • 1,265
  • 10
  • 11

2 Answers2

2

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.

Karlo A. López
  • 2,548
  • 3
  • 29
  • 56
0

I finally update my cocoapod version, and perform the pod install to install it with the last version of cocoapod.

jamesthakid
  • 1,265
  • 10
  • 11