I faced following error when I ran react-native run-ios
. My project was ejected from Expo.
Error running
xcrun simctl openurl booted exp3ef760b8379f42f08ed322d17da22973://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.)
Error running app. Have you installed the app already using Xcode? Since you are detached you must build manually. Error: xcrun exited with non-zero code: 194
The solution is below:
- In project folder, make
rm -rf node_modules && npm install
. - make
cd ios
and makerm -rf Pods Podfile.lock build && pod install
. - make
cd ..
to in project folder. - make
expo start
to start server. - make
react-native run-ios
.
reference