Adding Firestore generates ld: framework error not found GRPCClient

I added Firestore to my existing project, I use the Realtime Firebase database, and again I had problems starting my project. Now it is impossible to compile my project. I keep having ld: framework not found GRPCClient .

When I delete the pod 'Firebase/Firestore' , my project starts without any problems. But as soon as I add the pod 'Firebase/Firestore' and install it, I got an error with ld: framework not found GRPCClient

Here is my content in the subfile:

  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' 

Screenshot of build error

+5
source share
2 answers

I finally got a solution:

In the workspace of the application:

 Target -> Project -> Build Settings 

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

+3
source

Finally, I upgrade my version of cocoapod and perform a pod installation to install it with the latest version of cocoapod.

0
source

Source: https://habr.com/ru/post/1272804/


All Articles