You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In README.md, we documented the steps for running this expo react native hello world app for iOS as follows:
6. Run the following command to launch:
In <SOURCE_ROOT>, run the following command to launch for Android
expo run:android
In <SOURCE_ROOT>, run the following command to launch for iOS
expo run:ios
But running the expo app with Xcode seems requiring some extra config with node. It may be helpful to document this:
I found that Xcode build failed at finding the node while debugging a github issue related to react native on actual iOS device,
Error message:
Error: cannot find the node binary. Try setting the NODE_BINARY variable in the "Bundle React Native code and images" Build Phase to the absolute path to your node binary. You can find it by executing "which node" in a terminal window.
Command PhaseScriptExecution failed with a nonzero exit code
Setting NODE_BINARY variable as suggested actually doesn't help at least in my case. looks like the easiest is to create a sym link for node: (works for me)
Context
In README.md, we documented the steps for running this expo react native hello world app for iOS as follows:
But running the expo app with Xcode seems requiring some extra config with
node
. It may be helpful to document this:I found that Xcode build failed at finding the node while debugging a github issue related to react native on actual iOS device,
Error message:
Setting NODE_BINARY variable as suggested actually doesn't help at least in my case. looks like the easiest is to create a sym link for node: (works for me)
See: https://stackoverflow.com/questions/44492197/react-native-ios-build-cant-find-node
Also, fwiw, actually that command
expo run:ios
seems only would work for iOS simulator.i.e. From the metro bundler menu:
› Press a │ open Android
› Press i │ open iOS simulator
› Press w │ open web
› Press r │ reload app
› Press m │ toggle menu
› Press ? │ show all commands
The text was updated successfully, but these errors were encountered: