Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[v2] Build failed in Release mode #196

Copy link
Copy link
Open
@sujameslin

Description

@sujameslin
Issue body actions

It seems working well in Debug mode, but in Release mode build fails

Steps to reproduce

  1. Create new project by react-native cli

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.