あるSEのつぶやき・改

IT・システム開発に関することをつぶやいています。

(Solved)Error running `xcrun simctl openurl booted exp...


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:

  1. In project folder, make rm -rf node_modules && npm install.
  2. make cd ios and make rm -rf Pods Podfile.lock build && pod install.
  3. make cd .. to in project folder.
  4. make expo start to start server.
  5. make react-native run-ios.

reference

github.com