I'm getting this linker error using CocoaPods with React Native: 
ld: library not found for -lReact
I have followed the guide at https://facebook.github.io/react-native/docs/embedded-app-ios.html#content
I am trying to integrate with an existing iOS project, which is a JUCE C++ project. JUCE generates the Xcode project file so I believe I need to use the Cocoapods method.
The steps I'm doing are:
- create or save iOS build from Introjucer project
- run npm install react-nativefrom root of project (alongside the.jucerfile)
- create Podfile in Builds/iOSas per the guide (but with../../node_modulesas the path)
- run pod install
- open workspace in Xcode
- adjust GCC_PREPROCESSOR_DEFINITIONSto include$(inherited)
- build
An example project displaying this issue is at https://github.com/adamski/juce-native-navigation/tree/react-native-cocoapods
I think there is something going on with the Introjucer generated project, as I tried the whole process on a fresh new Xcode project and it builds fine.
I have also tried adding libReact.a to the 'Link Binary With Libraries' section but that does not seem to have helped.
 
     
     
     
    