-
Notifications
You must be signed in to change notification settings - Fork 24.5k
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
build failed shell script invocation error : File /Users/louis/Library/Developer/Xcode/DerivedData/Scavenger-evyvzocndqoghkclcbwewolywniz/Build/Products/Release-iphoneos/Scavenger.app/main.jsbundle does not exist #18562
Comments
Thanks for posting this! It looks like your issue may refer to an older version of React Native. Can you reproduce the issue on the latest release, v0.54? Thank you for your contributions. |
I have the same problem after installing |
Same error too.. work fine on iOS Simulator / Device, when create archive i have error and now i have same error when i launch simulator.
EDIT : |
For anyone who struggles with this issue. Take a look at your folder-structure and make sure that the outer folder-name for the folder containing the project does not contain a space " ". |
@r0bbarnk the top of my project is BTW still on RN |
Umm someone? I have the same problem |
same problem on rn 0.56.0 |
@adamgins I would suggest to remove the underscore from 'buzzy_rn' |
I'm using nvm, and node versions are 6.x, 8.x, 10.x. |
Summary: Default HelloWorld template for iOS doesn't make production main.jsbundle. This is little bit confusing in compare with Android building app when everything works one first run. Make it seamless, reduce confuse. Based on docs https://facebook.github.io/react-native/docs/running-on-device#3-configure-app-to-use-static-bundle Fixes #22335 Fixes #18562 Pull Request resolved: #22531 Differential Revision: D13372773 Pulled By: cpojer fbshipit-source-id: 888c675b7d11b1a323445e092ec9ff83924c42f4
Environment
Environment:
OS: macOS Sierra 10.12.6
Node: 9.3.0
Yarn: Not Found
npm: 5.5.1
Watchman: 4.7.0
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: 3.0 AI-171.4443003
Packages: (wanted => installed)
react: ^16.0.0 => 16.2.0
react-native: ^0.50.3 => 0.50.4
Steps to Reproduce
Expected Behavior
I'm not sure why I'm getting this error. But this happen after I tried to switch to configuration Release. I want to archive my project
Actual Behavior
Build failed from xcode. The build phase already using
export NODE_BINARY=node ../node_modules/react-native/scripts/react-native-xcode.sh
The text was updated successfully, but these errors were encountered: