Build fails in newly generated project
See original GitHub issue"react-native": "0.50.3"
After running: react-native link react-native-fcm
My pod file contains this lines:
pod 'Firebase/Messaging'
pod 'react-native-fcm', :path => '../node_modules/react-native-fcm'
when trying to pod install:
Installing React (0.11.0)
Using nanopb (0.3.8)
Installing react-native-fcm (10.0.3)
[!] React has been deprecated
then when Im building IOS
In file included from /Users/alex/dev/tandem/node_modules/react-native-fcm/ios/RNFIRMessaging.m:1:
/Users/alex/dev/tandem/node_modules/react-native-fcm/ios/RNFIRMessaging.h:7:9: fatal error: 'React/RCTEventEmitter.h' file not found
#import <React/RCTEventEmitter.h>
if I remove pod 'react-native-fcm', :path => '../node_modules/react-native-fcm'
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_RNFIRMessaging", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture x86_64
Issue Analytics
- State:
- Created 6 years ago
- Reactions:9
- Comments:14 (1 by maintainers)
Top Results From Across the Web
Build fails when referenced project contains generated code
When building a project that contains reference to another project which includes dynamically generated code, the build fails.
Read more >Xcode 13 build failure with projects generated with the legacy ...
When generating Xcode projects with cmake it is possible to specify the legacy build system via the -T buildsystem=1 option. But cmake currently ......
Read more >How to find the reason for a failed Build without any error or ...
To ensure that the Output window appears each time you do a build, you can go to Tools → Options → Projects and...
Read more >Build fails at checkout repo from a different project in the same ...
CI Build fails at checkout repo from a different project in the same organization, Let us say MyOrganisation has two projects, MyProject1 &...
Read more >"Error building project: The build hook failed with status code 1".
This article talks about the causes and solutions for the Adobe Commerce on cloud infrastructure issue, where the build phase of the deployment ......
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
I tried manually linking React and yoga
and looks like it solved the build problem, now have to check if it also works EDIT: @evollu Can you please look at this issue
I ran npm install on my whole project again and link worked after that.