Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ld: framework not found FirebaseNanoPB

I have a problem. My project does not compile. This error always appears:

ld: framework not found FirebaseNanoPB

Im using this frameworks:

Using Firebase (5.7.0)
Using FirebaseAnalytics (5.1.1)
Using FirebaseAuth (5.0.3)
Using FirebaseAuthInterop (1.0.0)
Using FirebaseCore (5.1.2)
Using FirebaseFirestore (0.13.2)
Using FirebaseInstanceID (3.2.1)
Using FirebaseMessaging (3.1.1)
Using FirebaseStorage (3.0.1)
Using nanopb (0.3.8)

I get this from terminal.

It`s my pod file:

use_frameworks!

target ‘HomeAdvisor’ do
    pod 'Firebase'
    pod 'Firebase/Firestore'
    pod 'Firebase/Messaging'
    pod 'Firebase/Auth'
    pod 'Firebase/Storage'
    pod 'FirebaseInstanceID'
    pod 'Firebase/Core'
    pod 'FirebaseAnalytics'
    pod 'GoogleToolboxForMac'

    pod 'Fabric'
    pod 'Crashlytics'
end

I`m using XCode 9.2. Please, help me.

like image 929
Илья Зубенко Avatar asked Sep 11 '18 19:09

Илья Зубенко


2 Answers

Remove below rows in Linker to fix this issue

-framework
"FirebaseNanoPB"

enter image description here

like image 195
coders Avatar answered Oct 01 '22 07:10

coders


May be, you added Other linker flags manually.

Please remove other linker flags in your project, and reinstall pods call pod install.(re-construction other linker flags)

like image 26
noppefoxwolf Avatar answered Oct 01 '22 07:10

noppefoxwolf