Hey everyone,
I have stuggled with this for a few days now. I can use react-native-cli
with no issues, but if I create a new project with the expo-cli
, I cannot get the new app running in an emulator/simulator.
I get errors about the build being detached. For example
# After npm start I press 'i' to run in the iPad simulator
[14:43:24] Trying to open the project in iOS simulator...
[14:43:25] Opening exp37658ad2fef24150b0b5731e57462079://127.0.0.1:19000 in iOS simulator
[14:43:25] Error running `xcrun simctl openurl booted exp37658ad2fef24150b0b5731e57462079://127.0.0.1:19000`: An error was encountered processing the command (domain=NSOSStatusErrorDomain, code=-10814):
The operation couldn’t be completed. (OSStatus error -10814.)
[14:43:25] Error running app. Have you installed the app already using Xcode? Since you are detached you must build manually. Error: Process exited with non-zero code: 194
This app and the the app I have working on react-native-cli
have different names and working directories. I have Erased all content and settings
off of my simulator.
Note: I tried expo
first before giving up and trying react-native-cli
. Seeing as I had things working I thought to try expo
again, but I am running in to this issue again.
I feel like it is something that I have done and not an issue the cli
itself.