Hello,
The application on which I am doing automation is built on XCode 6.3.2. Appium version i am using is 1.4.0 / 1.3.7 and iOS 8.3
Application is launching successfully.
Then I am trying to find element via inspector. However, application is crashing on some particular pages when I refresh inspector. Log generated on Appium is as below :
info: [debug] [INST] Instruments Trace Complete (Duration : 426.625488s; Output : /tmp/appium-instruments/instrumentscli0.trace)
info: [debug] [INSTSERVER] Instruments exited with code 0
info: [debug] Cleaning up after instruments exit
info: [debug] Instruments exited unexpectedly
info: [debug] Shutting down command proxy and ignoring any errors
info: [debug] Closing socket server.
info: [debug] Instruments socket server was closed
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] On a real device; cannot clean device state
info: [debug] We were in the middle of processing a command when instruments died; responding with a generic error
info: [debug] Cleaning up appium session
info: [debug] Responding to client with error: {"status":13,"value":{"message":"Instruments died while responding to command, please check appium logs","name":"UnknownError","origValue":"Instruments died while responding to command, please check appium logs"},"sessionId":null}
info: <-- GET /wd/hub/session/a6692000-3bbb-4ad4-afe0-44ba39e73757/source 500 6016.691 ms - 230
Application Log is also there if it can help anyways to finding out solution.
<Error>: -[NSISRestrictedToZeroMarkerVariable cell]: unrecognized selector sent to instance 0x175637b20
<Error>: task_set_exception_ports(B07, 400, D03, 0, 0) failed with error (4: (os/kern) invalid argument)
<Notice>: ReportCrash acting against PID 1560
ReportCrash[1563] <Notice>: Formulating crash report for process JCPenney[1560]
com.apple.xpc.launchd[1] (UIKitApplication:com.xxx.xxxenterprise[0xc3ad][1560]) <Notice>: Service exited due to signal: Abort trap: 6
SpringBoard[50] <Warning>: Unable to get short BSD proc info for 1560: No such process
ReportCrash[1563] <Notice>: Saved report to /var/mobile/Library/Logs/CrashReporter/XXX_2015-06-18-082214_XXX.ips
SpringBoard[50] <Warning>: Application 'UIKitApplication:com.xxx.xxxenterprise[0xc3ad]' crashed.
assertiond[60] <Warning>: pid_suspend failed for <BKNewProcess: 0x14462f8a0; com.xxx.xxxenterprise; pid: 1560; hostpid: -1>: Unknown error: -1, Unknown error: -1
assertiond[60] <Warning>: Could not set priority of <BKNewProcess: 0x14462f8a0; com.xxx.xxxenterprise; pid: 1560; hostpid: -1> to 2, priority: No such process
assertiond[60] <Warning>: Could not set priority of <BKNewProcess: 0x14462f8a0; com.xxx.xxxenterprise; pid: 1560; hostpid: -1> to 4096, priority: No such process
UserEventAgent[17] <Warning>: id=com.xxx.xxxenterprise pid=1560, state=0
DTMobileIS[182] <Warning>: Could not create service named com.apple.instruments.server.services.processcontrol.posixspawn
DTMobileIS[182] <Warning>: Could not create service named com.apple.instruments.server.services.launchdaemon
notification_proxy[150] <Error>: 0x100684000 -[MNPLockdownConnection receiveMessage]: lockdown_receive_message error!
notification_proxy[150] <Error>: 0x100684000 -[MNPLockdownConnection receiveMessage]: lockdown_receive_message error!
locationd[57] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
It would be great if anyone can help or can suggest any solution.
Thanks,