I am using the Appium 1.3.1 & running the application on simulator iphone 5 & iOS.1.
Xcode version is:
OS is : 10.10.3 (Yosemite)
I am launching the app from appium.app & after some time i got this error:
info: [debug] [INST] Waiting for device to boot…
Then after i got following log:
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”},“isShuttingDown”:false},“sessionId”:“acd8bc70-ff90-4717-abad-01a5215fc3ad”}
info: <-- GET /wd/hub/status 200 1.937 ms - 178 {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”},“isShuttingDown”:false},“sessionId”:“acd8bc70-ff90-4717-abad-01a5215fc3ad”}
info: [debug] [INST STDERR] 2015-07-27 17:43:31.244 instruments[6093:104654] -[UIAInstrument(UIAInstrument_Simulator) _startAgentForApp:withPID:]: ScriptAgent failed to launch.
info: [debug] [INST] 2015-07-27 12:13:31 +0000 Fail: An error occurred while trying to run the script.
info: [debug] [INST] Instruments Trace Complete (Duration : 53.857128s; Output : /tmp/appium-instruments/instrumentscli0.trace)
info: <-- POST /wd/hub/session - - ms - -
info: [debug] [INST] 2015-07-27 12:14:14 +0000 Fail: The target application appears to have died
info: [debug] [INST STDERR] 2015-07-27 17:44:15.006 instruments[6140:105712] Attempting to set event horizon when core is not engaged, request ignored
info: [debug] [INST STDERR] 2015-07-27 17:44:15.007 instruments[6140:105760] Attempting to set event horizon when core is not engaged, request ignored
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”},“isShuttingDown”:false},“sessionId”:“acd8bc70-ff90-4717-abad-01a5215fc3ad”}
info: <-- GET /wd/hub/status 200 1.447 ms - 178 {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”},“isShuttingDown”:false},“sessionId”:“acd8bc70-ff90-4717-abad-01a5215fc3ad”}
info: [debug] [INST] 2015-07-27 12:14:17 +0000 Fail: The target application appears to have died
info: [debug] [INST] Instruments Trace Complete (Duration : 19.800606s; Output : /tmp/appium-instruments/instrumentscli0.trace)
info: [debug] [INSTSERVER] Instruments exited with code 0
info: [debug] Killall instruments
info: [debug] Instruments crashed on startup
info: [debug] Attempting to retry launching instruments, this is retry #2
info: [debug] Killall iOS Simulator
After this when i again click on inspector the app launches but the application is not get launches in simulator but recorder gets launched.
Can’t debug & find solution what actually is the problem.