[exp] install on ios simulator fails

Command exp install:ios on simulator with iOS 10.3.1 fails when running first time with ouput:

Mac-mini-Kirill:ast_connect_app nick$ exp install:ios
14:15:32 [exp] Uninstalling Expo from iOS simulator.
14:15:32 [exp] Error running `xcrun simctl uninstall booted host.exp.Exponent`: An error was encountered processing the command (domain=LSApplicationWorkspaceErrorDomain, code=111):
The operation couldn’t be completed. (LSApplicationWorkspaceErrorDomain error 111.)

{ Error: Process exited with non-zero code: 111
    at ChildProcess.child.on (/usr/local/lib/node_modules/exp/node_modules/@expo/spawn-async/build/spawnAsync.js:39:21)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at maybeClose (internal/child_process.js:925:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
  pid: 6672,
  output: 
   [ '',
     'An error was encountered processing the command (domain=LSApplicationWorkspaceErrorDomain, code=111):\nThe operation couldn’t be completed. (LSApplicationWorkspaceErrorDomain error 111.)\n' ],
  stdout: '',
  stderr: 'An error was encountered processing the command (domain=LSApplicationWorkspaceErrorDomain, code=111):\nThe operation couldn’t be completed. (LSApplicationWorkspaceErrorDomain error 111.)\n',
  status: 111,
  signal: null }
14:15:32 [exp] Process exited with non-zero code: 111
14:15:32 [exp] Set EXPO_DEBUG=true in your env to view the stack trace.

It seems, that xcrun simctl uninstall booted host.exp.Exponent throws an error, because it cannot find app with provided bundle id. Installing “hello world” app on simulator with same identifier fixes problem and command runs normally.

Environment:
macOS: 10.13.2
Xcode: 9.3.1
exp: 54.0.0

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.