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

8
  • Try wiping out DerivedData and rebuilding. If still having issues, share your Podfile. Commented Oct 22, 2017 at 16:46
  • @PaulBeusterien I have the same issue after wiping out DerivedData and rebuilding. I edited my question with my podfile content Commented Oct 22, 2017 at 18:11
  • Are you performing 'pod install' after add this pod? Commented Oct 22, 2017 at 22:55
  • @HaroldoGondim of course I did a pod install. I was using Firebase Realtime Database, now I want to add their new NoSQL database Firestore , gRPC is one of the dependency. Commented Oct 22, 2017 at 23:11
  • You are using MyApp.xcodeproj or MyApp.xcworkspace to open the project? Commented Oct 29, 2017 at 14:19

2 Answers 2

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.

Sign up to request clarification or add additional context in comments.

Comments

0

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.