appium: Failed to start an Appium session, err was: Error: Command failed: /bin/sh -c ideviceinstaller -u
The problem
I can’t run appium, i’ve been having this error
Environment
- Appium version (or git revision) that exhibits the issue: 1.4.13 (Draco)
- Last Appium version that did not exhibit the issue (if applicable):
- Desktop OS/version used to run Appium: OS X El Capitan 10.11.5
- Node.js version (unless using Appium.app|exe): v4.4.7 and npm v2.15.8
- Mobile platform/version under test: iphone 6s
- Real device or emulator/simulator:
- Appium CLI or Appium.app|exe:
Details
Link to Appium logs
error: Failed to start an Appium session, err was: Error: Command failed: /bin/sh -c ideviceinstaller -u B6A0A86D-7927-4D3D-B827-704C62A47587 -l
info: [debug] Installing ipa found at /Users/gp1n3d4/Music/iTunes/iTunes Media/Mobile Applications/myapp.ipa info: [debug] Cleaning up appium session info: [debug] Error: Command failed: /bin/sh -c ideviceinstaller -u B6A0A86D-7927-4D3D-B827-704C62A47587 -l
at ChildProcess.exithandler (child_process.js:751:12)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1015:16)
at Socket.<anonymous> (child_process.js:1183:11)
at Socket.emit (events.js:107:17)
at Pipe.close (net.js:485:12)
info: [debug] Responding to client with error: {“status”:33,“value”:{“message”:“A new session could not be created. (Original error: Command failed: /bin/sh -c ideviceinstaller -u B6A0A86D-7927-4D3D-B827-704C62A47587 -l \n)”,“killed”:false,“code”:2,“signal”:null,“cmd”:"/bin/sh -c ideviceinstaller -u B6A0A86D-7927-4D3D-B827-704C62A47587 -l ",“origValue”:“Command failed: /bin/sh -c ideviceinstaller -u B6A0A86D-7927-4D3D-B827-704C62A47587 -l \n”},“sessionId”:null} info: <-- POST /wd/hub/session 500 1196.128 ms - 418
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 29 (12 by maintainers)
No problem! I’m glad things worked out!
I guess I should have been more specific. What happens when you actually run
ideviceinstaller
?