Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] When I build my RN App with Xcode in Release mode, the build fails: RCTLog.h not found #6524

Closed
shotoreaper opened this issue Mar 18, 2016 · 2 comments
Labels
Platform: iOS iOS applications. Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@shotoreaper
Copy link

I had created the main.jsbundle with this command:
react-native bundle --dev false --entry-file index.ios.js --platform ios --bundle-output main.jsbundle

My header search paths on Release:
$(SRCROOT)/../react-native/React (recursive)
$(SRCROOT)/../node_modules/react-native/React (recursive)
$(SRCROOT)/../../React (recursive)
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include (non-recursive)
$(inherited) (non-recursive)

And yes, the file RCTLog.h exists in this folder:
/node_modules/react-native/React/Base

RN: 0.19.0
RN-Cli: 0.1.10
xCode: 7.2.1
iPhone: 6
iOS: 9.2.1

@shotoreaper shotoreaper changed the title [Question] [Question] When I build my RN App with Xcode in Release mode, the build fails: RCTLog.h not found Mar 18, 2016
@DanielMSchmidt
Copy link
Contributor

@facebook-github-bot label iOS

@facebook-github-bot facebook-github-bot added Platform: iOS iOS applications. Ran Commands One of our bots successfully processed a command. labels Mar 19, 2016
@brentvatne
Copy link
Collaborator

Hi there!

A couple of ideas:

  1. You might want to try updating to the latest version of React Native -- we always have a bunch of bugfixes in each release.
  2. This is probably a question better suited for StackOverflow :)

Best of luck!

@facebook facebook locked as resolved and limited conversation to collaborators May 24, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Platform: iOS iOS applications. Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

5 participants