react-native-fcm icon indicating copy to clipboard operation
react-native-fcm copied to clipboard

FIRAnalyticsConnector not found

Open ashishparmar opened this issue 6 years ago • 18 comments

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

ashishparmar avatar Nov 19 '18 10:11 ashishparmar

How did you resolve this?

roots-ai avatar Nov 21 '18 14:11 roots-ai

@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 avatar Nov 22 '18 10:11 ashishparmar

@ashishparmar care to share how you solved that ?

I too have :

framework not found FIRAnalyticsConnector

Daavidaviid avatar Nov 29 '18 09:11 Daavidaviid

@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

ashishparmar avatar Nov 29 '18 09:11 ashishparmar

thanks @Daavidaviid . it works for me also

anshumanburman avatar Dec 07 '18 11:12 anshumanburman

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

ckOfor avatar Feb 21 '19 15:02 ckOfor

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

ckOfor avatar Feb 21 '19 15:02 ckOfor

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

ognjetina avatar Feb 23 '19 16:02 ognjetina

any solution of this?

javi10823 avatar Feb 23 '19 17:02 javi10823

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...

ognjetina avatar Feb 24 '19 14:02 ognjetina

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

cgdstnc avatar Mar 04 '19 09:03 cgdstnc

Any solution for this?

heyaj19 avatar Apr 03 '19 07:04 heyaj19

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

Myerden avatar Apr 11 '19 11:04 Myerden

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 avatar May 28 '19 08:05 allthetime

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

lazarevand1997 avatar May 28 '19 12:05 lazarevand1997

@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.

allthetime avatar May 31 '19 06:05 allthetime

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

DiegoResnik avatar Mar 01 '21 16:03 DiegoResnik

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

Coder-ACJHP avatar Mar 05 '21 13:03 Coder-ACJHP