Instruments crashes on startup (Appium 1.3.3)
See original GitHub issueInstruments is crashing for me on startup, using iOS 8.1 on a mac with Xcode 6.
This isn’t a new issue, but I thought that this would be fixed by appium 1.3.3.
Console output:
info: [debug] [INST] Waiting for device to boot...
info: [debug] [INST STDERR] Instruments Trace Error : Target failed to run: Unable to install app with path: /Users/user/Documents/Projects/tests/testApp: "(null)"
info: [debug] [INSTSERVER] Instruments exited with code 253
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 44F7E420-FCE6-4C2C-9DA3-01C471410296
info: [debug] Executing: xcrun simctl erase 44F7E420-FCE6-4C2C-9DA3-01C471410296
info: [debug] Cleaning app data files
warn: Applications directory /Users/user/Library/Developer/CoreSimulator/Devices/44F7E420-FCE6-4C2C-9DA3-01C471410296/data/Containers/Data/Application doesn't exist. Have you run this simulator before?
warn: Applications directory /Users/user/Library/Developer/CoreSimulator/Devices/44F7E420-FCE6-4C2C-9DA3-01C471410296/data/Containers/Bundle/Application 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 (/usr/local/lib/node_modules/appium/node_modules/appium-instruments/lib/instruments.js:387:31)
at null.<anonymous> (/usr/local/lib/node_modules/appium/node_modules/appium-instruments/lib/instruments.js:308:12)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at Process.ChildProcess._handle.onexit (child_process.js:789: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 46611.934 ms - 182
Issue Analytics
- State:
- Created 9 years ago
- Comments:33 (12 by maintainers)
Top Results From Across the Web
App crashes on ios 8 + appium 1.3.3 on a real device - Support
info: Launching instruments info: [debug] Attempting to run app on real device with ... App crashes on ios 8 + appium 1.3.3 on...
Read more >Instrument crash at startup appium - ios - Stack Overflow
Instrument crashed at startup while run Appium tool. Am trying to run appium tool for testing apps. While starting appium server i finished...
Read more >Appium 1.3.1 : simulator crashes on start · Issue #3986 - GitHub
How to resolve - "Instruments Usage Error : Ambiguous device name/identifier 'iPhone 5s (8.1 Simulator)':" ? There are couple of simulator ...
Read more >appium inspector crash on one of my app screen after 0.11.2 ...
16 Appium 0x0000000100160aa2 main + 34. 17 libdyld.dylib 0x00007fff8dc5d5fd start + 1. 18 ??? 0x0000000000000001 0x0 + 1. Thread 0 Crashed:: Dispatch queue: ......
Read more >appium/CHANGELOG.md - UNPKG
168, * Add `disableWindowAnimation` capability to launch instrumentation with no ... 710, - Fix bug where early ChromeDriver failure crashed Appium.
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
it seems that check “Use Native Instrument Library” on Appium iOS setting panel fixes this issue.
Even I was facing the same issue, the simulator was getting crashed and was not launching , but when I saw @shiyimin 's comment and his resolution worked, simulator loads now without any crash,if I check the “Use Native Instrument Library” on Appium iOS setting panel.
Thanks a lot @shiyimin