- Notifications
You must be signed in to change notification settings - Fork 130
Open
Labels
Description
It seems working well in Debug mode, but in Release mode build fails
Steps to reproduce
-
Create new project by react-native cli
-
Install react-native firestack
Commands for reproduce
$ react-native init AwesomeProject $ cd AwesomeProject $ npm install react-native-firestack --save $ react-native link react-native-firestack $ cd ios && pod update --verbose $ cd .. $ react-native run-ios --configuration Release
Build fail error that I got finally
/Users/phoenix/Documents/Workspace/AwesomeProject/ios/build/Build/Intermediates/AwesomeProject.build/Release-iphonesimulator/AwesomeProjectTests.build/Objects-normal/i386/AwesomeProjectTests Undefined symbols for architecture i386: "___gxx_personality_v0", referenced from: _RCTDefaultLogFunction_block_invoke in libReact.a(RCTLog.o) _RCTFormatLog in libReact.a(RCTLog.o) ___RCTAddLogFunction_block_invoke in libReact.a(RCTLog.o) _RCTPerformBlockWithLogFunction in libReact.a(RCTLog.o) _RCTPerformBlockWithLogPrefix in libReact.a(RCTLog.o) RCTGetLocalLogFunction() in libReact.a(RCTLog.o) ___RCTPerformBlockWithLogPrefix_block_invoke in libReact.a(RCTLog.o) ... ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Does anyone know how to solve this issue?
Thanks
Versions of packages that I use for test
- OS: macOS Sierra
- react-native-cli@2.0.1
- react-native@0.39.2
- react-native-firestack@2.3.5