-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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 stops without errors when building for release #12182
Comments
So a workaround for this now was to run: Then remove the |
Same here. I was loading GrapqhQL schema via network in a babel plugin (cf) which runs when react-native packeger runs. This logic was working well in 0.38.0 and as I upgraded to 0.42.0 it became unstable. In my case, switching from loading the schema via network to loading from a local file made build great again. I guess, in my case, nodejs process forks when bundling so fetching resources via network doesn't work well in certain situations. macOS asked me several times to allow nodejs to access network and server received same requests several times while bundling so I just thought something could go wrong. |
@taiki-t So shall we close this? |
@Naoto-Ida I'm fine with it. I'm happy with my solution. Thank you for considering me. |
Ok. Hopefully its not just us thats having issues. |
@Naoto-Ida - I tried your solution but I got this error: Script-00DD1BFF1BD5951E006B06BC.sh: (null): bad interpreter: No such file or directory |
Description
When building for Release scheme on Xcode, the build stops progressing without any warnings or alerts.
Code builds fine on Debug Release.
Before adding my JS it would build for Release scene without issues.
I am using
Relay
in my code with the required plugins which query a local GraphQL implementation which is available at build time.Reproduction
react-native init AppName
to start with clean React Native proj.Release
, uncheck Debug executable.I'm not sure what this
+ [[ ! -n false ]]
at the end is.My Terminal is opened with the packager, and the output is as follows:
Solution
I would like to know how I can debug this so that I can figure out at what is preventing the progress of the build.
Additional Information
The text was updated successfully, but these errors were encountered: