React-native-fcm: FIRAnalyticsConnector not found

Created on 19 Nov 2018  路  18Comments  路  Source: evollu/react-native-fcm

I have used cocoapods approach
And my pods looks like :
screen shot 2018-11-19 at 3 51 04 pm
Still I am getting FIRAnalyticsConnector framwork not found

screen shot 2018-11-19 at 3 52 51 pm

Most helpful comment

I saw a fix by adding $(inherited) to target's build Framework search path

All 18 comments

How did you resolve this?

@roots-ai yes I have resolved but I can not get push whether app in background or foreground
I can get FCM_Token perfectly but when I try to send via firebase console or from api rest client I just get a success response but not any push in real device
{ "multicast_id": 5795576345818531662, "success": 1, "failure": 0, "canonical_ids": 0, "results": [ { "message_id": "0:1542883228414419%d4db7150d4db7150" } ] }

@ashishparmar care to share how you solved that ?

I too have :

framework not found FIRAnalyticsConnector

@Daavidaviid I have just drag and drop FIRAnalyticsConnector framwork from pods to build and it's works
screenshot 2018-11-29 at 3 32 06 pm

thanks @Daavidaviid . it works for me also

What does it mean to drag and drop from pods to build can you be more specific @ashishparmar

I saw a fix by adding $(inherited) to target's build Framework search path

tried both... nothing works... life has no meaning...

any solution of this?

so far take a look is your pod client updated (not pods in project but pod client on your machine)
add $(inherited) to target's build Framework search path
and do the drag & drop thingy...

adding $(inherited) to target's build Framework search path resolved my issue.

Any solution for this?

I resolved my problem with Sultan Ali's answer: https://stackoverflow.com/a/55025730

I already have $(inherited) in my search path and have added the frameworks in question to my "Linked Framework and Libraries" and I am still getting the same error:

:-1: Framework not found FIRAnalyticsConnector

This is incredibly frustrating I've been trying all day. Maybe its a problem with the new version of Firebase? Can anyone confirm for me what version they are using that is working?

Thanks.

@allthetime you can try to add
pod 'Firebase/Crash'
dont know why, but works for me

@lazarevand1997 according to pods that lib is outdated. I managed to install it but it didn't help.

I gave up trying to figure out what it was and just built the ios folder from scratch. It seems there was something weird about my xcode/project settings that was messing thing up.

I deleted my ios folder (after saving a copy):

rm -rf ios

created a new one

react-native eject

and then relinked all my other libraries, Firebase first.

this solved this issue for me:

Going into the Targets Build Settings (not the Project), searching for Other Linker Flags, and then deleting FIRAnalyticsConnector from the list took care of the issue for me.

https://stackoverflow.com/questions/64171400/xcode-12-firanalyticsconnector-build-error

Today I updated my project pods and faced same issue, then I noticed really there is no FIRAnalyticsConnector framework and I removed the framework name from Build Settings -> Framwork Search Paths (debug and release) and it worked like charm

Was this page helpful?
0 / 5 - 0 ratings