Getting Instruments crashed on startup with real ios device

Mac version- 10.8.2
IOS version - 6.0.2
Trying with real device

IOSDriver driver;
File app = new File(“apk//SCPSMobileApp.app”);
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability(MobileCapabilityType.BROWSER_NAME, “”);
capabilities.setCapability(MobileCapabilityType.PLATFORM_VERSION, “6.0”);
capabilities.setCapability(MobileCapabilityType.DEVICE_NAME, “iPhone”);
capabilities.setCapability(MobileCapabilityType.APP, app.getAbsolutePath());
driver = new IOSDriver(new URL(“http://127.0.0.1:4723/wd/hub”), capabilities);

SERVER LOG

info: Welcome to Appium v1.3.1 (REV 1160ce02bb89c354cb99317985123acf39f0e7d3)

info: Appium REST http interface listener started on 0.0.0.0:4723
info: [debug] Non-default server args: {“defaultDevice”:true,“showSimulatorLog”:true}
warn: Deprecated server args: {"–show-sim-log":“use instead: --show-ios-log”}
info: Console LogLevel: debug

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}

info: <-- GET /wd/hub/status 200 9.638 ms - 104 {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}

info: <-- GET /wd/hub/status 200 2.251 ms - 104 {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}

info: <-- GET /wd/hub/status 200 1.836 ms - 104 {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}
info: <-- GET /wd/hub/status 200 1.433 ms - 104 {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}
info: <-- GET /wd/hub/status 200 1.145 ms - 104 {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}
info: <-- GET /wd/hub/status 200 1.196 ms - 104 {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}

info: <-- GET /wd/hub/status 200 1.532 ms - 104 {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}
info: <-- GET /wd/hub/status 200 1.051 ms - 104 {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}
info: <-- GET /wd/hub/status 200 0.985 ms - 104 {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}
info: <-- GET /wd/hub/status 200 1.253 ms - 104 {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}
info: <-- GET /wd/hub/status 200 1.321 ms - 104 {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}
info: <-- GET /wd/hub/status 200 1.593 ms - 104 {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}
info: <-- GET /wd/hub/status 200 1.111 ms - 104 {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}
info: <-- GET /wd/hub/status 200 1.166 ms - 104 {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}
info: <-- GET /wd/hub/status 200 1.086 ms - 104 {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}
info: <-- GET /wd/hub/status 200 1.836 ms - 104 {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}
info: <-- GET /wd/hub/status 200 1.280 ms - 104 {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}
info: <-- GET /wd/hub/status 200 1.626 ms - 104 {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}

info: <-- GET /wd/hub/status 200 1.368 ms - 104 {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}
info: <-- GET /wd/hub/status 200 1.142 ms - 104 {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}
info: <-- GET /wd/hub/status 200 0.928 ms - 104 {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}
info: <-- GET /wd/hub/status 200 1.201 ms - 104 {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}
info: <-- GET /wd/hub/status 200 1.153 ms - 104 {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}

info: --> POST /wd/hub/session {“desiredCapabilities”:{“platformVersion”:“6.0”,“app”:"/Users/santoships/Documents/RamAutomation/AutomationMob/SdpMobileAutomation/apk/SCPSMobileApp.app",“platformName”:“iOS”,“deviceName”:“iPhone”,“browserName”:""}}

info: Client User-Agent string: Apache-HttpClient/4.3.3 (java 1.5)
info: [debug] Using local app from desired caps: /Users/santoships/Documents/RamAutomation/AutomationMob/SdpMobileAutomation/apk/SCPSMobileApp.app
info: [debug] Creating new appium session 61760be6-66a3-4e21-9ae4-aa2b6003a9f0
info: [debug] Removing any remaining instruments sockets
info: [debug] Cleaned up instruments socket /tmp/instruments_sock
info: [debug] Setting Xcode folder

info: [debug] Setting Xcode version

info: [debug] Setting iOS SDK Version

info: [debug] iOS SDK Version set to 6.1

info: [debug] Instruments v < 7.1, not checking device string support
info: [debug] Detecting automation tracetemplate

info: [debug] Not auto-detecting udid, running on sim

info: [debug] Parsed app Info.plist (as binary)
info: [debug] Parsed app Localizable.strings
info: [debug] Getting bundle ID from app

info: [debug] Parsed app Info.plist (as binary)

info: [debug] Creating instruments
info: [debug] Preparing uiauto bootstrap
info: [debug] Dynamic bootstrap dir: /Users/santoships/Library/Application Support/appium/bootstrap
info: [debug] Dynamic env: {“nodePath”:"/Volumes/Appium/Appium.app/Contents/Resources/node/bin/node",“commandProxyClientPath”:"/Volumes/Appium/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js",“instrumentsSock”:"/tmp/instruments_sock",“interKeyDelay”:null,“justLoopInfinitely”:false,“autoAcceptAlerts”:false}

info: [debug] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!

info: [debug] Dynamic bootstrap path: /Users/santoships/Library/Application Support/appium/bootstrap/bootstrap-9280a4dc9be20ec9.js

info: [debug] Reusing dynamic bootstrap: /Users/santoships/Library/Application Support/appium/bootstrap/bootstrap-9280a4dc9be20ec9.js

info: [debug] User specified default device, letting instruments launch it
info: [debug] Getting device string from opts: {“forceIphone”:false,“forceIpad”:false,“xcodeVersion”:“4.5.2”,“iOSSDKVersion”:“6.1”,“deviceName”:“iPhone”,“platformVersion”:“6.0”}
info: [debug] fixDevice is on
info: [debug] Final device string is: ‘iPhone’

info: [debug] Parsed app Info.plist (as binary)

info: [debug] Wrote new app Info.plist with device type
info: [debug] Checking whether we need to set app preferences
info: [debug] Running ios sim reset flow
info: [debug] Killing the simulator process
info: [debug] Killall iPhoneSimulator

info: [debug] Killing any other simulator daemons

info: [debug] Cleaning sim data files

info: Couldn’t find support directories to clean out old data. Probably there’s nothing to clean out

info: [debug] Cleaning app data files
info: Couldn’t find app directories to delete. Probably it’s not installed
info: [debug] Not setting locale
info: [debug] No iOS / app preferences to set

info: [debug] Starting iOS 6.* simulator log capture

info: [debug] Not pre-launching simulator

info: [debug] No device id or app, not installing to real device.
info: [debug] Starting command proxy.

info: [debug] Instruments socket server started at /tmp/instruments_sock
info: [debug] Starting instruments

info: [debug] Instruments is at: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments

info: Launching instruments

info: [debug] Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace /Users/santoships/Documents/RamAutomation/AutomationMob/SdpMobileAutomation/apk/SCPSMobileApp.app -e UIASCRIPT “/Users/santoships/Library/Application Support/appium/bootstrap/bootstrap-9280a4dc9be20ec9.js” -e UIARESULTSPATH /tmp/appium-instruments
info: [debug] And extra without-delay env: {“DYLD_INSERT_LIBRARIES”:"/Volumes/Appium/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-instruments/thirdparty/iwd4/InstrumentsShim.dylib",“LIB_PATH”:"/Volumes/Appium/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-instruments/thirdparty/iwd4"}
info: [debug] And launch timeouts (in ms): {“global”:90000}

info: [debug] [INST STDERR] posix spawn failure; aborting launch (binary == /Users/santoships/Documents/RamAutomation/AutomationMob/SdpMobileAutomation/apk/SCPSMobileApp.app/SCPSMobileApp).

info: [debug] [INST STDERR] 2014-11-18 18:07:04.407 instruments[56109:707] Recording cancelled : At least one target failed to launch; aborting run

info: [debug] [INST STDERR] Instruments Trace Error : Failed to start trace.
info: [IOS_SYSLOG_ROW ] Nov 18 18:07:04 santosh-ipss-MacBook-Pro.local instruments[56109]: Recording cancelled : At least one target failed to launch; aborting run

info: [debug] [INSTSERVER] Instruments exited with code 253

info: [debug] Killall instruments

info: [debug] Instruments crashed on startup
info: [debug] Attempting to retry launching instruments, this is retry #1
info: [debug] Killall iPhoneSimulator

info: Launching instruments

info: [debug] Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace /Users/santoships/Documents/RamAutomation/AutomationMob/SdpMobileAutomation/apk/SCPSMobileApp.app -e UIASCRIPT “/Users/santoships/Library/Application Support/appium/bootstrap/bootstrap-9280a4dc9be20ec9.js” -e UIARESULTSPATH /tmp/appium-instruments

info: [debug] And extra without-delay env: {“DYLD_INSERT_LIBRARIES”:"/Volumes/Appium/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-instruments/thirdparty/iwd4/InstrumentsShim.dylib",“LIB_PATH”:"/Volumes/Appium/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-instruments/thirdparty/iwd4"}
info: [debug] And launch timeouts (in ms): {“global”:90000}

info: [debug] [INST STDERR] posix spawn failure; aborting launch (binary == /Users/santoships/Documents/RamAutomation/AutomationMob/SdpMobileAutomation/apk/SCPSMobileApp.app/SCPSMobileApp).

info: [debug] [INST STDERR] 2014-11-18 18:07:10.053 instruments[56130:707] Recording cancelled : At least one target failed to launch; aborting run
info: [debug] [INST STDERR] Instruments Trace Error : Failed to start trace.
info: [IOS_SYSLOG_ROW ] Nov 18 18:07:10 santosh-ipss-MacBook-Pro.local instruments[56130]: Recording cancelled : At least one target failed to launch; aborting run

info: [debug] [INSTSERVER] Instruments exited with code 253

info: [debug] Killall instruments
info: [debug] Instruments crashed on startup
info: [debug] Attempting to retry launching instruments, this is retry #2
info: [debug] Killall iPhoneSimulator

Can you launch your app via instruments directly? Have you enable uiautomation on your device? Is you xcode compatible with you device?

@rmonteiro

No I am not able launch the app and also the code is compiled in dev machine.

Now one thing I dont understand where to enable ui automation in real device.
I am having ios 6.0.2. I dont get any option in setting -> developer

Can you please tell me where to do this setting ?

And what are the required things to be done for this problem ?

Thanks,
Ramshanakr.

I think this setting is for ios8 only.
If you are unable to launch the app via instruments then you may need to talk to your dev. Appium uses instruments to launch app as far as I know.
So you can launch the app manually and not with instruments? Does you app have a developer profile which is needed to launch app via instruments

Do you mean that below ios 8 we can not launch app with instrument directly ?

@rmonteiro
Finally I am able to launch the app but not able to test. It keeps on relaunching the app frequently.

Please have a look on Server Log

info: Welcome to Appium v1.3.1 (REV 1160ce02bb89c354cb99317985123acf39f0e7d3)

info: Appium REST http interface listener started on 0.0.0.0:4723
info: [debug] Non-default server args: {“udid”:“debe7c83ffc9a3bb104eae21a886656038519d88”,“defaultDevice”:true,“showSimulatorLog”:true}
warn: Deprecated server args: {"–show-sim-log":“use instead: --show-ios-log”}
info: Console LogLevel: debug

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}

info: <-- GET /wd/hub/status 200 7.777 ms - 104 {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”}}}

info: --> POST /wd/hub/session {“desiredCapabilities”:{“platformVersion”:“6.0”,“app”:"/Users/santoships/Documents/RamAutomation/AutomationMob/SdpMobileAutomation/apk/SCPSMobileApp.ipa",“platformName”:“iOS”,“deviceName”:“iPhone”,“browserName”:""}}

info: Client User-Agent string: Apache-HttpClient/4.3.3 (java 1.5)

info: [debug] Using local .ipa from desired caps: /Users/santoships/Documents/RamAutomation/AutomationMob/SdpMobileAutomation/apk/SCPSMobileApp.ipa
info: [debug] Copying local zip to tmp dir

info: [debug] /Users/santoships/Documents/RamAutomation/AutomationMob/SdpMobileAutomation/apk/SCPSMobileApp.ipa copied to /var/folders/tx/tp_cfrsx6gn764l14klgkvv40000gr/T/1141020-39476-1qy41bt/appium-app.zip

info: [debug] Unzipping /var/folders/tx/tp_cfrsx6gn764l14klgkvv40000gr/T/1141020-39476-1qy41bt/appium-app.zip

info: [debug] Testing zip archive: /var/folders/tx/tp_cfrsx6gn764l14klgkvv40000gr/T/1141020-39476-1qy41bt/appium-app.zip

info: [debug] Zip archive tested clean

info: [debug] Unzip successful

info: [debug] Using locally extracted app: /var/folders/tx/tp_cfrsx6gn764l14klgkvv40000gr/T/1141020-39476-1qy41bt/Payload/SCPSMobileApp.app

info: [debug] Creating new appium session 5a0ef741-f4e5-4181-a1a0-0d6c40f335b2
info: [debug] Removing any remaining instruments sockets
info: [debug] Cleaned up instruments socket /tmp/instruments_sock

info: [debug] Setting Xcode folder

info: [debug] Setting Xcode version

info: [debug] Setting iOS SDK Version

info: [debug] iOS SDK Version set to 6.1

info: [debug] Not checking whether simulator is available since we’re on a real device
info: [debug] Detecting automation tracetemplate

info: [debug] Not auto-detecting udid, running on sim

info: [debug] Parsed app Info.plist (as binary)

info: [debug] Parsed app Localizable.strings

info: [debug] Getting bundle ID from app
info: [debug] Parsed app Info.plist (as binary)
info: [debug] Creating instruments

info: [debug] Preparing uiauto bootstrap
info: [debug] Dynamic bootstrap dir: /Users/santoships/Library/Application Support/appium/bootstrap
info: [debug] Dynamic env: {“nodePath”:"/Volumes/Appium/Appium.app/Contents/Resources/node/bin/node",“commandProxyClientPath”:"/Volumes/Appium/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js",“instrumentsSock”:"/tmp/instruments_sock",“interKeyDelay”:null,“justLoopInfinitely”:false,“autoAcceptAlerts”:false}

info: [debug] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!

info: [debug] Dynamic bootstrap path: /Users/santoships/Library/Application Support/appium/bootstrap/bootstrap-9280a4dc9be20ec9.js

info: [debug] Reusing dynamic bootstrap: /Users/santoships/Library/Application Support/appium/bootstrap/bootstrap-9280a4dc9be20ec9.js

info: [debug] Not setting device type since we’re on a real device
info: [debug] Checking whether we need to set app preferences
info: [debug] Not setting iOS and app preferences since we’re on a real device
info: [debug] Running ios sim reset flow
info: [debug] Killing the simulator process

info: [debug] Killall iPhoneSimulator
info: [debug] Killing any other simulator daemons

info: [debug] On a real device; cannot clean device state

info: [debug] Not setting locale because we’re using a real device
info: [debug] No iOS / app preferences to set

info: [debug] Starting iOS device log capture via deviceconsole

info: [debug] Not pre-launching simulator

info: [debug] Creating iDevice object with udid debe7c83ffc9a3bb104eae21a886656038519d88

info: [debug] Checking app install status using: /Volumes/Appium/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap isInstalled --id debe7c83ffc9a3bb104eae21a886656038519d88 --bundle com.cisco.mobileapp

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”:“5a0ef741-f4e5-4181-a1a0-0d6c40f335b2”}

info: <-- GET /wd/hub/status 200 3.443 ms - 178 {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”},“isShuttingDown”:false},“sessionId”:“5a0ef741-f4e5-4181-a1a0-0d6c40f335b2”}

info: [debug] App is installed.

info: [debug] fullReset not requested. No need to install.
info: [debug] Starting command proxy.

info: [debug] Instruments socket server started at /tmp/instruments_sock
info: [debug] Starting instruments

info: [debug] Instruments is at: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments

info: Launching instruments

info: [debug] Attempting to run app on real device with UDID debe7c83ffc9a3bb104eae21a886656038519d88
info: [debug] Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace -w debe7c83ffc9a3bb104eae21a886656038519d88 com.cisco.mobileapp -e UIASCRIPT “/Users/santoships/Library/Application Support/appium/bootstrap/bootstrap-9280a4dc9be20ec9.js” -e UIARESULTSPATH /tmp/appium-instruments
info: [debug] And extra without-delay env: {}
info: [debug] And launch timeouts (in ms): {“global”:90000}

info: [IOS_SYSLOG_ROW ] Nov 20 12:52:41 santosh-ipss-iPhone mobile_installation_proxy[1359] : 0x3a033b78 MobileInstallationSlowLookupBreak: MobileInstallationBrowse was called without specifying an options dictionary containing kLookupReturnAttributesKey. This usage is inefficient and may cause performance problems. Break on MobileInstallationSlowLookupBreak to debug.

info: [IOS_SYSLOG_ROW ] Nov 20 12:52:41 santosh-ipss-iPhone mobile_installation_proxy[1359] : 0x3a033b78 MobileInstallationSlowLookupBreak: Existing options dictionary: <CFBasicHash 0x1e53c570 [0x3ac110f0]>{type = mutable dict, count = 1,
info: [IOS_SYSLOG_ROW ] entries =>
info: [IOS_SYSLOG_ROW ] 0 : <CFString 0x5a1a0 [0x3ac110f0]>{contents = “RequestProxiedFor”} = <CFString 0x1e53c6d0 [0x3ac110f0]>{contents = “fruitstrap”}
info: [IOS_SYSLOG_ROW ] }
info: [IOS_SYSLOG_ROW ] Nov 20 12:52:42 santosh-ipss-iPhone mobile_installation_proxy[1360] : main: Could not receive request from host.

info: [IOS_SYSLOG_ROW ] Nov 20 12:52:44 santosh-ipss-iPhone lockdownd[29] : 015e5000 set_response_error: handle_start_session SessionActive

info: [IOS_SYSLOG_ROW ] Nov 20 12:52:44 santosh-ipss-iPhone lockdownd[29] : 015e5000 set_response_error: handle_start_session SessionActive

info: [IOS_SYSLOG_ROW ] Nov 20 12:52:44 santosh-ipss-iPhone DTMobileIS[1361] : Unknown service requested: com.apple.instruments.server.services.filebrowser

info: [IOS_SYSLOG_ROW ] Nov 20 12:52:44 santosh-ipss-iPhone DTMobileIS[1361] : Unknown service requested: com.apple.instruments.server.services.launchdaemon
info: [IOS_SYSLOG_ROW ] Nov 20 12:52:44 santosh-ipss-iPhone DTMobileIS[1361] : Unknown service requested: com.apple.instruments.server.services.processcontrol.posixspawn

info: [IOS_SYSLOG_ROW ] Nov 20 12:52:44 santosh-ipss-iPhone lockdownd[29] : 015e5000 set_response_error: handle_start_session SessionActive

info: [IOS_SYSLOG_ROW ] Nov 20 12:52:44 santosh-ipss-iPhone mobile_installation_proxy[1362] : 0x3a033b78 MobileInstallationSlowLookupBreak: MobileInstallationBrowse was called without specifying an options dictionary containing kLookupReturnAttributesKey. This usage is inefficient and may cause performance problems. Break on MobileInstallationSlowLookupBreak to debug.

info: [IOS_SYSLOG_ROW ] Nov 20 12:52:44 santosh-ipss-iPhone mobile_installation_proxy[1362] : 0x3a033b78 MobileInstallationSlowLookupBreak: Existing options dictionary: <CFBasicHash 0x1e5384d0 [0x3ac110f0]>{type = mutable dict, count = 2,
info: [IOS_SYSLOG_ROW ] entries =>
info: [IOS_SYSLOG_ROW ] 1 : <CFString 0x101a0 [0x3ac110f0]>{contents = “RequestProxiedFor”} = <CFString 0x1e5383f0 [0x3ac110f0]>{contents = “instruments”}

info: [IOS_SYSLOG_ROW ] 6 : <CFString 0x1e5382f0 [0x3ac110f0]>{contents = “ApplicationType”} = <CFString 0x1e536ef0 [0x3ac110f0]>{contents = “User”}
info: [IOS_SYSLOG_ROW ] }

info: [IOS_SYSLOG_ROW ] Nov 20 12:52:45 santosh-ipss-iPhone lockdownd[29] : 015e5000 set_response_error: handle_start_session SessionActive

info: [IOS_SYSLOG_ROW ] Nov 20 12:52:45 santosh-ipss-iPhone mobile_installation_proxy[1363] : 0x3a033b78 MobileInstallationSlowLookupBreak: MobileInstallationBrowse was called without specifying an options dictionary containing kLookupReturnAttributesKey. This usage is inefficient and may cause performance problems. Break on MobileInstallationSlowLookupBreak to debug.

info: [IOS_SYSLOG_ROW ] Nov 20 12:52:45 santosh-ipss-iPhone mobile_installation_proxy[1363] : 0x3a033b78 MobileInstallationSlowLookupBreak: Existing options dictionary: <CFBasicHash 0x1d517790 [0x3ac110f0]>{type = mutable dict, count = 2,
info: [IOS_SYSLOG_ROW ] entries =>
info: [IOS_SYSLOG_ROW ] 1 : <CFString 0x1001a0 [0x3ac110f0]>{contents = “RequestProxiedFor”} = <CFString 0x1d5176b0 [0x3ac110f0]>{contents = “instruments”}
info: [IOS_SYSLOG_ROW ] 6 : <CFString 0x1d5175b0 [0x3ac110f0]>{contents = “ApplicationType”} = <CFString 0x1d5161b0 [0x3ac110f0]>{contents = “User”}
info: [IOS_SYSLOG_ROW ] }

info: [IOS_SYSLOG_ROW ] Nov 20 12:52:46 santosh-ipss-iPhone DTMobileIS[1361] : requesting death notification for pid: 1364

info: [IOS_SYSLOG_ROW ] Nov 20 12:52:46 santosh-ipss-iPhone kernel[0] : launchd[1364] Builtin profile: container (sandbox)

info: [IOS_SYSLOG_ROW ] Nov 20 12:52:46 santosh-ipss-iPhone kernel[0] : launchd[1364] Container: /private/var/mobile/Applications/C4782015-0F8A-4D98-A9D8-FCABD27EDA3F (sandbox)

info: [IOS_SYSLOG_ROW ] Nov 20 12:52:46 santosh-ipss-iPhone SCPSMobileApp[1364] : Multi-tasking -> Device: YES, App: YES

info: [IOS_SYSLOG_ROW ] Nov 20 12:52:46 santosh-ipss-iPhone SCPSMobileApp[1364] : Unlimited access to network resources

info: [IOS_SYSLOG_ROW ] Nov 20 12:52:46 santosh-ipss-iPhone SCPSMobileApp[1364] : Resetting plugins due to page load.

info: [IOS_SYSLOG_ROW ] Nov 20 12:52:47 santosh-ipss-iPhone SCPSMobileApp[1364] : libMobileGestalt copySystemVersionDictionaryValue: Could not lookup ReleaseType from system version dictionary

info: [IOS_SYSLOG_ROW ] Nov 20 12:52:47 santosh-ipss-iPhone SCPSMobileApp[1364] : Finished load of: file:///var/mobile/Applications/C4782015-0F8A-4D98-A9D8-FCABD27EDA3F/SCPSMobileApp.app/www/index.html

info: [IOS_SYSLOG_ROW ] Nov 20 12:52:47 santosh-ipss-iPhone kernel[0] : AppleAP3GDL::checkDataAvailable:414 DRDY was set after 0 iterations

info: [IOS_SYSLOG_ROW ] Nov 20 12:52:55 santosh-ipss-iPhone locationd[41] : GYTT inserted: bias,0.262555,0.789407,-1.002404,variance,0.001281,0.001125,0.000430,temperature,36.121094

info: [IOS_SYSLOG_ROW ] Nov 20 12:53:00 santosh-ipss-iPhone locationd[41] : GYTT inserted: bias,0.300782,0.833736,-1.057455,variance,0.001168,0.003176,0.000592,temperature,37.000000

info: [IOS_SYSLOG_ROW ] Nov 20 12:53:06 santosh-ipss-iPhone locationd[41] : GYTT inserted: bias,0.301371,0.845210,-0.996825,variance,0.001600,0.001042,0.000881,temperature,37.000000

info: [IOS_SYSLOG_ROW ] Nov 20 12:53:11 santosh-ipss-iPhone locationd[41] : GYTT inserted: bias,0.286324,0.837447,-1.017827,variance,0.000414,0.000782,0.000491,temperature,36.816406

info: [IOS_SYSLOG_ROW ] Nov 20 12:53:17 santosh-ipss-iPhone locationd[41] : GYTT inserted: bias,0.258733,0.825244,-1.027365,variance,0.001944,0.001812,0.000548,temperature,36.265625

info: [IOS_SYSLOG_ROW ] Nov 20 12:53:22 santosh-ipss-iPhone locationd[41] : GYTT inserted: bias,0.276434,0.849238,-1.000038,variance,0.000964,0.001550,0.000790,temperature,37.183594

info: [IOS_SYSLOG_ROW ] Nov 20 12:53:28 santosh-ipss-iPhone locationd[41] : GYTT inserted: bias,0.251659,0.812599,-1.052835,variance,0.000490,0.001210,0.000985,temperature,36.937500

info: [IOS_SYSLOG_ROW ] Nov 20 12:53:33 santosh-ipss-iPhone locationd[41] : GYTT inserted: bias,0.300878,0.885153,-1.042217,variance,0.001171,0.002126,0.000590,temperature,36.878906

info: [IOS_SYSLOG_ROW ] Nov 20 12:53:39 santosh-ipss-iPhone locationd[41] : GYTT inserted: bias,0.309791,0.855420,-1.018578,variance,0.001157,0.001894,0.000748,temperature,37.367188

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”:“5a0ef741-f4e5-4181-a1a0-0d6c40f335b2”}

info: <-- GET /wd/hub/status 200 2.566 ms - 178 {“status”:0,“value”:{“build”:{“version”:“1.3.1”,“revision”:“1160ce02bb89c354cb99317985123acf39f0e7d3”},“isShuttingDown”:false},“sessionId”:“5a0ef741-f4e5-4181-a1a0-0d6c40f335b2”}

info: [IOS_SYSLOG_ROW ] Nov 20 12:53:44 santosh-ipss-iPhone locationd[41] : GYTT inserted: bias,0.334973,0.840282,-0.997020,variance,0.001179,0.002718,0.000602,temperature,37.000000

info: [IOS_SYSLOG_ROW ] Nov 20 12:53:50 santosh-ipss-iPhone locationd[41] : GYTT inserted: bias,0.313531,0.834013,-1.010484,variance,0.000757,0.002094,0.000408,temperature,36.632812

info: [IOS_SYSLOG_ROW ] Nov 20 12:53:55 santosh-ipss-iPhone locationd[41] : GYTT inserted: bias,0.333431,0.839314,-1.013015,variance,0.002607,0.001311,0.000606,temperature,36.449219

info: [IOS_SYSLOG_ROW ] Nov 20 12:54:01 santosh-ipss-iPhone locationd[41] : GYTT inserted: bias,0.294521,0.845865,-1.029041,variance,0.000711,0.001416,0.000925,temperature,36.453125

info: [IOS_SYSLOG_ROW ] Nov 20 12:54:06 santosh-ipss-iPhone locationd[41] : GYTT inserted: bias,0.287296,0.824939,-1.021345,variance,0.001029,0.002561,0.000902,temperature,36.996094

warn: Instruments socket client never checked in; timing out (global)

info: [debug] Killall instruments

info: [IOS_SYSLOG_ROW ] Nov 20 12:54:12 santosh-ipss-iPhone locationd[41] : GYTT inserted: bias,0.320722,0.840229,-1.012466,variance,0.000666,0.001362,0.001029,temperature,37.015625

info: [debug] [INSTSERVER] Instruments exited with code null

info: [debug] Killall instruments

info: [debug] Instruments never checked in
info: [debug] Attempting to retry launching instruments, this is retry #1
info: [debug] Killall iPhoneSimulator

info: Launching instruments

info: [debug] Attempting to run app on real device with UDID debe7c83ffc9a3bb104eae21a886656038519d88

info: [debug] Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace -w debe7c83ffc9a3bb104eae21a886656038519d88 com.cisco.mobileapp -e UIASCRIPT “/Users/santoships/Library/Application Support/appium/bootstrap/bootstrap-9280a4dc9be20ec9.js” -e UIARESULTSPATH /tmp/appium-instruments
info: [debug] And extra without-delay env: {}
info: [debug] And launch timeouts (in ms): {“global”:90000}

info: [IOS_SYSLOG_ROW ] Nov 20 12:54:18 santosh-ipss-iPhone locationd[41] : GYTT inserted: bias,0.311002,0.819740,-0.993871,variance,0.000955,0.003023,0.000997,temperature,36.734375

info: [IOS_SYSLOG_ROW ] Nov 20 12:54:18 santosh-ipss-iPhone lockdownd[29] : 002c1000 set_response_error: handle_start_session SessionActive

info: [IOS_SYSLOG_ROW ] Nov 20 12:54:18 santosh-ipss-iPhone lockdownd[29] : 002c1000 set_response_error: handle_start_session SessionActive

info: [IOS_SYSLOG_ROW ] Nov 20 12:54:18 santosh-ipss-iPhone DTMobileIS[1369] : Unknown service requested: com.apple.instruments.server.services.filebrowser

info: [IOS_SYSLOG_ROW ] Nov 20 12:54:18 santosh-ipss-iPhone DTMobileIS[1369] : Unknown service requested: com.apple.instruments.server.services.launchdaemon

info: [IOS_SYSLOG_ROW ] Nov 20 12:54:18 santosh-ipss-iPhone DTMobileIS[1369] : Unknown service requested: com.apple.instruments.server.services.processcontrol.posixspawn

info: [IOS_SYSLOG_ROW ] Nov 20 12:54:18 santosh-ipss-iPhone lockdownd[29] : 002c1000 set_response_error: handle_start_session SessionActive

info: [IOS_SYSLOG_ROW ] Nov 20 12:54:18 santosh-ipss-iPhone mobile_installation_proxy[1370] : 0x3a033b78 MobileInstallationSlowLookupBreak: MobileInstallationBrowse was called without specifying an options dictionary containing kLookupReturnAttributesKey. This usage is inefficient and may cause performance problems. Break on MobileInstallationSlowLookupBreak to debug.

info: [IOS_SYSLOG_ROW ] Nov 20 12:54:18 santosh-ipss-iPhone mobile_installation_proxy[1370] : 0x3a033b78 MobileInstallationSlowLookupBreak: Existing options dictionary: <CFBasicHash 0x1c547dd0 [0x3ac110f0]>{type = mutable dict, count = 2,
info: [IOS_SYSLOG_ROW ] entries =>
info: [IOS_SYSLOG_ROW ] 1 : <CFString 0xe51a0 [0x3ac110f0]>{contents = “RequestProxiedFor”} = <CFString 0x1c547cf0 [0x3ac110f0]>{contents = “instruments”}
info: [IOS_SYSLOG_ROW ] 6 : <CFString 0x1c547bf0 [0x3ac110f0]>{contents = “ApplicationType”} = <CFString 0x1c5467f0 [0x3ac110f0]>{contents = “User”}
info: [IOS_SYSLOG_ROW ] }

info: [IOS_SYSLOG_ROW ] Nov 20 12:54:18 santosh-ipss-iPhone lockdownd[29] : 002c1000 set_response_error: handle_start_session SessionActive

info: [IOS_SYSLOG_ROW ] Nov 20 12:54:18 santosh-ipss-iPhone mobile_installation_proxy[1371] : 0x3a033b78 MobileInstallationSlowLookupBreak: MobileInstallationBrowse was called without specifying an options dictionary containing kLookupReturnAttributesKey. This usage is inefficient and may cause performance problems. Break on MobileInstallationSlowLookupBreak to debug.

info: [IOS_SYSLOG_ROW ] Nov 20 12:54:18 santosh-ipss-iPhone mobile_installation_proxy[1371] : 0x3a033b78 MobileInstallationSlowLookupBreak: Existing options dictionary: <CFBasicHash 0x1d515d00 [0x3ac110f0]>{type = mutable dict, count = 2,
info: [IOS_SYSLOG_ROW ] entries =>
info: [IOS_SYSLOG_ROW ] 1 : <CFString 0xfd1a0 [0x3ac110f0]>{contents = “RequestProxiedFor”} = <CFString 0x1d515c20 [0x3ac110f0]>{contents = “instruments”}
info: [IOS_SYSLOG_ROW ] 6 : <CFString 0x1d515b20 [0x3ac110f0]>{contents = “ApplicationType”} = <CFString 0x1d514720 [0x3ac110f0]>{contents = “User”}
info: [IOS_SYSLOG_ROW ] }

info: [IOS_SYSLOG_ROW ] Nov 20 12:54:19 santosh-ipss-iPhone com.apple.launchd[1] (UIKitApplication:com.cisco.mobileapp[0x3c9d][1364]) : (UIKitApplication:com.cisco.mobileapp[0x3c9d]) Exited: Killed: 9

info: [IOS_SYSLOG_ROW ] Nov 20 12:54:19 santosh-ipss-iPhone backboardd[51] : Application ‘UIKitApplication:com.cisco.mobileapp[0x3c9d]’ exited abnormally with signal 9: Killed: 9

info: [IOS_SYSLOG_ROW ] Nov 20 12:54:20 santosh-ipss-iPhone DTMobileIS[1369] : requesting death notification for pid: 1372

info: [IOS_SYSLOG_ROW ] Nov 20 12:54:20 santosh-ipss-iPhone kernel[0] : launchd[1372] Builtin profile: container (sandbox)

info: [IOS_SYSLOG_ROW ] Nov 20 12:54:20 santosh-ipss-iPhone kernel[0] : launchd[1372] Container: /private/var/mobile/Applications/C4782015-0F8A-4D98-A9D8-FCABD27EDA3F (sandbox)

info: [IOS_SYSLOG_ROW ] Nov 20 12:54:20 santosh-ipss-iPhone SCPSMobileApp[1372] : Multi-tasking -> Device: YES, App: YES

info: [IOS_SYSLOG_ROW ] Nov 20 12:54:20 santosh-ipss-iPhone SCPSMobileApp[1372] : Unlimited access to network resources

info: [IOS_SYSLOG_ROW ] Nov 20 12:54:20 santosh-ipss-iPhone SCPSMobileApp[1372] : Resetting plugins due to page load.

info: [IOS_SYSLOG_ROW ] Nov 20 12:54:20 santosh-ipss-iPhone SCPSMobileApp[1372] : libMobileGestalt copySystemVersionDictionaryValue: Could not lookup ReleaseType from system version dictionary

info: [IOS_SYSLOG_ROW ] Nov 20 12:54:21 santosh-ipss-iPhone DTPower[599] : Task info failed for task com.cisco.mobileapp

info: [IOS_SYSLOG_ROW ] Nov 20 12:54:21 santosh-ipss-iPhone SCPSMobileApp[1372] : Finished load of: file:///var/mobile/Applications/C4782015-0F8A-4D98-A9D8-FCABD27EDA3F/SCPSMobileApp.app/www/index.html

info: [IOS_SYSLOG_ROW ] Nov 20 12:54:26 santosh-ipss-iPhone locationd[41] : GYTT inserted: bias,0.353916,0.840168,-1.010751,variance,0.003526,0.003562,0.000660,temperature,37.367188

No I meant the setting “Have you enable uiautomation on your device?” is for iOS 8 only I think.
Is it doing the same when you launch from instruments directly?