Appium 1.3.1 : simulator crashes on start
See original GitHub issueHow to resolve - “Instruments Usage Error : Ambiguous device name/identifier ‘iPhone 5s (8.1 Simulator)’:” ? There are couple of simulator types, which one should be used? [I had added “iPhone 5s” in desired Capability ], strangely, the same had worked once.
- Xcode-6.1
info: [debug] And launch timeouts (in ms): {"global":90000}
info: [debug] [INST STDERR] Instruments Usage Error : Ambiguous device name/identifier 'iPhone 5s (8.1 Simulator)':
iPhone 5s (8.1 Simulator) [6CF8569C-C303-4137-AC6E-D9EDED164A94]
iPhone 5s (8.1 Simulator) [AAAB7161-45F9-4628-A3A9-DF3CF7E2212E]
info: [debug] [INSTSERVER] Instruments exited with code 255
info: [debug] Killall instruments
info: [debug] Instruments crashed on startup
info: [debug] We exceeded the number of retries allowed for instruments to successfully start; failing launch
info: [debug] Stopping iOS log capture
info: [debug] Running ios sim reset flow
info: [debug] Killing the simulator process
info: [debug] Killall iOS Simulator
info: [debug] Killing any other simulator daemons
info: [debug] Cleaning sim data files
info: [debug] Executing: xcrun simctl erase 6CF8569C-C303-4137-AC6E-D9EDED164A94
info: [debug] Executing: xcrun simctl erase 6CF8569C-C303-4137-AC6E-D9EDED164A94
info: [debug] Executing: xcrun simctl erase 6CF8569C-C303-4137-AC6E-D9EDED164A94
info: [debug] Executing: xcrun simctl erase 6CF8569C-C303-4137-AC6E-D9EDED164A94
info: [debug] Executing: xcrun simctl erase 6CF8569C-C303-4137-AC6E-D9EDED164A94
error: Could not reset simulator. Leaving as is. Error: Command failed: // stderr:
info: [debug] Cleaning app data files
error: Failed to start an Appium session, err was: Error: Instruments crashed on startup
warn: Applications directory /Users/pooja/Library/Developer/CoreSimulator/Devices/6CF8569C-C303-4137-AC6E-D9EDED164A94/data/Applications doesn't exist. Have you run this simulator before?
info: Couldn't find app directories to delete. Probably it's not installed
info: [debug] Cleaning up appium session
info: [debug] Error: Instruments crashed on startup
at Instruments.onInstrumentsExit (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-instruments/lib/instruments.js:387:31)
at null.<anonymous> (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-instruments/lib/instruments.js:308:12)
at ChildProcess.emit (events.js:98:17)
at Process.ChildProcess._handle.onexit (child_process.js:810:12)
info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: Instruments crashed on startup)","origValue":"Instruments crashed on startup"},"sessionId":null}
info: <-- POST /wd/hub/session 500 23770.121 ms - 182
Issue Analytics
- State:
- Created 9 years ago
- Comments:13 (4 by maintainers)
Top Results From Across the Web
App crashes when launching on simulator through Appium
My ios app keeps crashing when launching on an iphone 5s simulator running ios 7.1. The error message is that instruments crashed on...
Read more >[iOS]Instruments crashed on startup - Issues/Bugs - Appium Discuss
Hi @Kingson, I have been struggling with the same issue on appium 1.3.1 on a device with iOS7.1. Restarting the instruments or the...
Read more >Issues with Appium 1.3.1+Xcode 6.1
On Simulator, appium doesn't identify some elements, some popup windows and fails the test. This works fine with old Appium +Xcode 5.1 ....
Read more >Failed to start an Appium session, err was: Error: Instruments ...
Failed to start an Appium session, err was: Error: Instruments crashed on startup. I have stared the simulator with other app before running...
Read more >iOS)When executing UI iOS tests more than 90% are getting ...
Issue: Appium 1.3.1 + simulator 8.1 :: IOS Simulator crashes after prepunching successfully ... Ios simulator 8.1 crashes every-time after pre- ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
‘deviceName’: ‘iPhone Simulator’ worked for me - Appium Python
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.