build error "_OBJC_CLASS_$_RNFIRMessaging"
See original GitHub issueHi,
I’m using react-native 0.48.2 and the last know sdk version.
I’m not using cocoapods for the project (kinda lost with it), I did every steps explained in the FCM README
- drag and drop each .framework
- add to target
- make sure that a specific checkbox is checked
Then I modified every needed file (AppDelegate.m | h)
And now whenever I try to build I got this this
"_OBJC_CLASS_$_RNFIRMessaging", referenced from:
objc-class-ref in AppDelegate.o
"_OBJC_CLASS_$_SKPaymentQueue", referenced from:
objc-class-ref in FirebaseAnalytics(FIRAInAppPurchaseTransactionReporter_51b6624ff1330bf43a3ed7d9ba76e1ba.o)
"_OBJC_CLASS_$_SKProductsRequest", referenced from:
objc-class-ref in FirebaseAnalytics(FIRAProductsRequest_b9979194c8f29313114f911734ebc0e8.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)```
I really am inexperienced with XCODE and IOS development so I'm sorry if I didn't fill this issue right, I will try my best to correct it with your advice
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:20 (7 by maintainers)
Top Results From Across the Web
IOS build errors - Xcode 13 - Stack Overflow
Below are errors while building in latest xcode 13 & Mac Apple Pro M1 chip <unknown>:0: error: module map file ...
Read more >Undefined Symbols For Architecture I386 "_Objc_Class_$_ ...
I have face this compile error out on Xcode 11.3 swift compile version > swift 5. ... Undefined symbols for architecture arm64: OBJCCLASSRNFIRMessaging...
Read more >Error message when building upgraded framework target
Hello,. I have a workspace with a framework project from before Xcode 14. It links to four external frameworks(no cocoa pods or SPM)....
Read more >CCS/TMS320F28335: recipe for target 'build ... - TI E2E
Hi,. When I tried to build a project that was working before, I got the following errors. Any idea why this error happens?...
Read more >Build error: don't know how to make obj - CodeProject
I am not familiar with the build command but the usual problem in a case like this is that the build system has...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For your information, I solved this (after 3-4 hours…) by adding
just before
OMG, @evollu Thank you so much for your work and your reactivity !!!
I just fixed my problem by simply drag and dropping the RNFireMessaing.xcodeproject into the libraries of mine and linking it, I didn’t do react-native link in the first place so that’s on me 🤦♂️