-
-
Notifications
You must be signed in to change notification settings - Fork 46
Getting Command PhaseScriptExecution failed with a nonzero exit code
while running in iOS
#74
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
Comments
Please share the errors you see, they give vital hints on what's going wrong. Without knowing what's wrong, it's hard to fix something. |
Fixed it. Issue was it was using some other node version (I guess 20+). I created
Now its working fine. |
@staltz I make it to work with above solution. |
Good that you discovered the underlying problem. Xcode just sometimes misbehaves. I wish I had a better answer, but given that it's such an opaque tool (not open source), we can't dig deeper. I would recommend restarting your computer, cleaning all possible caches, deleting the project's "build" folder that is usually in Application Support folder, and then trying again. |
Uh oh!
There was an error while loading. Please reload this page.
Trying to run a RN app to iOS. If I build a bare-bones RN app I can get this running in a simulator without issue. The moment I add nodejs-mobile the application no longer compiles.
Versions:
NodeJS 20.12.2 (I have also tried with Node 18.20.2 & 16.20.2)
RN 0.71.8
nodejs-mobile 18.17.7 (I have also tried with 18.17.6)
iOS Simulator 17.4
Install process
I have tried deleting the DerivedData, /ios/pod & pod install, /ios/build, removing the /node_modules & npm install, deleting the apps on the simulator. I have also tried downgrading RN and nodejs-mobile. Restarting the Mac, restarting Terminal.
react-native info
Any assistance is appreciated! @staltz @jmatsushita @jaimecbernardo
The text was updated successfully, but these errors were encountered: