Unable to launch Safari Browser

Hi Everyone,

When I try to launch Safari browser from appium in a iOS real device, I encountered with Instrument Crash on startup issue. Can anybody let me know where I am going wrong,

Note:
I can able to install SafariLauncher from appium. But I am not able to launch Appium Inspector after that and below is the error log displayed in appium

Launching Appium with command: ‘/Applications/Appium.app/Contents/Resources/node/bin/node’ appium/build/lib/main.js --address “127.0.0.1” --port “4725” --pre-launch --debug-log-spacing --platform-version “9.3” --platform-name “iOS” --safari --browser-name “Safari” --udid “d25c9bf22c12e5bbdb15119eccce4b6e8ca661ea” --full-reset --show-ios-log --device-name “iPod”

[Appium] Welcome to Appium v1.5.3

[Appium] Non-default server args:

[Appium] address: ‘127.0.0.1’

[Appium] port: 4725
[Appium] launch: true
[Appium] safari: true
[Appium] debugLogSpacing: true
[Appium] platformName: ‘iOS’
[Appium] platformVersion: ‘9.3’
[Appium] deviceName: ‘iPod’
[Appium] browserName: ‘Safari’
[Appium] udid: ‘d25c9bf22c12e5bbdb15119eccce4b6e8ca661ea’
[Appium] fullReset: true
[Appium] showIOSLog: true

[Appium] Deprecated server args:
[Appium] --platform-name => --default-capabilities ‘{“platformName”:“iOS”}’
[Appium] --platform-version => --default-capabilities ‘{“platformVersion”:“9.3”}’
[Appium] --device-name => --default-capabilities ‘{“deviceName”:“iPod”}’
[Appium] --browser-name => --default-capabilities ‘{“browserName”:“Safari”}’
[Appium] -U,–udid => --default-capabilities ‘{“udid”:“d25c9bf22c12e5bbdb15119eccce4b6e8ca661ea”}’
[Appium] --full-reset => --default-capabilities ‘{“fullReset”:true}’
[Appium] --show-ios-log => --default-capabilities ‘{“showIOSLog”:true}’
[Appium] Default capabilities, which will be added to each request unless overridden by desired capabilities:

[Appium] platformName: ‘iOS’

[Appium] platformVersion: ‘9.3’
[Appium] deviceName: ‘iPod’
[Appium] browserName: ‘Safari’
[Appium] udid: ‘d25c9bf22c12e5bbdb15119eccce4b6e8ca661ea’

[Appium] fullReset: true
[Appium] showIOSLog: true

[Appium] Appium REST http interface listener started on 127.0.0.1:4725

[HTTP] --> GET /wd/hub/status {}

[MJSONWP] Calling AppiumDriver.getStatus() with args: []

[MJSONWP] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.5.3”…

[HTTP] <-- GET /wd/hub/status 200 22 ms - 83

[HTTP] --> GET /wd/hub/status {}

[MJSONWP] Calling AppiumDriver.getStatus() with args: []

[MJSONWP] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.5.3”…

[HTTP] <-- GET /wd/hub/status 200 14 ms - 83
[HTTP] --> GET /wd/hub/sessions {}
[MJSONWP] Calling AppiumDriver.getSessions() with args: []
[MJSONWP] Responding to client with driver.getSessions() result: []
[HTTP] <-- GET /wd/hub/sessions 200 3 ms - 40

[HTTP] --> POST /wd/hub/session {“desiredCapabilities”:{“platformName”:“iOS”,“newCommandTimeout”:“7200”,“app”:"/Users/ssimakurthy/Documents/SafariLauncher.app",“platformVersion”:“9.3”,“deviceName”:“iPod”,“bundleId”:“com.bytearc.SafariLauncher”,“automationName”:“Appium”,“udid”:“d25c9bf22c12e5bbdb15119eccce4b6e8ca661ea”}}

[MJSONWP] Calling AppiumDriver.createSession() with args: [{“platformName”:“iOS”,"new…

[Appium] Creating new IosDriver session
[Appium] Capabilities:
[Appium] platformName: ‘iOS’
[Appium] newCommandTimeout: ‘7200’
[Appium] app: ‘/Users/tests/Documents/SafariLauncher.app’
[Appium] platformVersion: ‘9.3’
[Appium] deviceName: ‘iPod’
[Appium] bundleId: ‘com.bytearc.SafariLauncher’
[Appium] automationName: ‘Appium’
[Appium] udid: ‘d25c9bf22c12e5bbdb15119eccce4b6e8ca661ea’
[Appium] browserName: ‘Safari’
[Appium] fullReset: true
[Appium] showIOSLog: true
[BaseDriver] Capability ‘newCommandTimeout’ changed from string (‘7200’) to integer (7200). This may cause unexpected behavior

[BaseDriver] Session created with session id: 1609798a-05ef-4ecc-b2cb-09aef786ef75
[debug] [iOS] Not auto-detecting udid.
[debug] [iOS] Creating iDevice object with udid d25c9bf22c12e5bbdb15119eccce4b6e8ca661ea

[debug] [iOS] Checking for presence of SafariLauncher at ‘/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/build/SafariLauncher/SafariLauncher.app’

[debug] [iOS] SafariLauncher exists

[debug] [iOS] Removing any remaining instruments sockets
[debug] [iOS] Cleaned up instruments socket /var/folders/jy/0fjncggn3r35gmqz_m4qhw9w0000gq/T/instruments_sock
[debug] [iOS] No language specified. Using default strings
[debug] [iOS] Strings file not found. Looking in ‘en.lproj’ directory
[iOS] Could not file localizable strings file ‘Localizable.strings’!
[debug] [iOS] Creating instruments
[debug] [UIAuto] Preparing bootstrap code
[debug] [UIAuto] Dynamic bootstrap dir: /Users/ssimakurthy/Library/Application Support/appium/bootstrap
[debug] [UIAuto] Dynamic env: {“nodePath”:"/Applications/Appium.app/Contents/Resources/node/bin/node",“commandProxyClientPath”:"/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js",“instrumentsSock”:"/var/folders/jy/0fjncggn3r35gmqz_m4qhw9w0000gq/T/instruments_sock",“interKeyDelay”:null,“justLoopInfinitely”:false,“autoAcceptAlerts”:false,“autoDismissAlerts”:false,“sendKeyStrategy”:“grouped”}

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

[debug] [UIAuto] Dynamic bootstrap path: /Users/tests/Library/Application Support/appium/bootstrap/bootstrap-ac70b0b0c3845286.js

[debug] [UIAuto] Reusing dynamic bootstrap: /Users/tests/Library/Application Support/appium/bootstrap/bootstrap-ac70b0b0c3845286.js
[debug] [iOS] Running ios real device reset flow
[debug] [iOS] Full reset requested. Will try to uninstall the app ‘com.bytearc.SafariLauncher’.

[debug] [iOS] Removed com.bytearc.SafariLauncher

[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog

[debug] [iOSLog] Found idevicesyslog: ‘/usr/local/bin/idevicesyslog’

[debug] [iOS] App is not installed. Will try to install.

[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:24 iPod-touch installd[47] : 0x16e247000 -[MIClientConnection _doBackgroundInstallationForPath:withOptions:completion:]: Install of “/var/mobile/Media/PublicStaging/SafariLauncher.app” type Developer (LSInstallType = (null)) requested by mobile_installation_proxy (pid 185)

[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:24 iPod-touch installd[47] : 0x16e247000 -[MIInstaller performInstallationWithError:]: Installing

[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:24 iPod-touch profiled[153] : (Note ) MC: Provisioning profiles changed
[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:24 iPod-touch securityd[87] : secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found
[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:24 iPod-touch securityd[87] : secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found
[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:24 Sireeshas-iPod-touch installd[47] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]
[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:24 Sireeshas-iPod-touch profiled[153] : (Note ) MC: Updating MIS trust…
[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:24 Sireeshas-iPod-touch securityd[87] : secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found
[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:24 Sireeshas-iPod-touch securityd[87] : secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found
[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:24 Sireeshas-iPod-touch installd[47] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]
[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:24 Sireeshas-iPod-touch online-auth-agent[197] : SecTrustEvaluate [leaf AnchorTrusted]

[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:24 Sireeshas-iPod-touch installd[47] : 0x16e247000 -[MIInstallableBundle _refreshUUIDForContainer:withError:]: Data container for app.testing.safari is now at /private/var/mobile/Containers/Data/Application/7854285F-E0FA-40B6-B407-ABE3F33F641D

[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:24 Sireeshas-iPod-touch installd[47] : 0x16e247000 -[MIContainer makeContainerLiveReplacingContainer:reason:withError:]: Made container live for app.testing.safari at /private/var/containers/Bundle/Application/273BAEB3-5031-4A66-9487-8E4BB67B9C9D

[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:24 Sireeshas-iPod-touch installd[47] : 0x16e247000 -[MIInstaller performInstallationWithError:]: Install Successful; Staging: 0.00s; Waiting: 0.00s; Preflight/Patch: 0.03s, Verifying: 0.24s; Overall: 0.47s

[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:24 Sireeshas-iPod-touch pkd[160] : releasing plug-in hold 33639B55-4F14-48D6-B621-02AD0C3A1209 at client’s request

[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:24 Sireeshas-iPod-touch online-auth-agent[197] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]

[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:25 Sireeshas-iPod-touch syncdefaultsd[367] : (Note ) marked “com.me.keyvalueservice” topic as “opportunistic” on <APSConnection: 0x12c61ee80>

[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:25 Sireeshas-iPod-touch syncdefaultsd[367] : (Note ) marked “com.me.keyvalueservice” topic as “enabled” on <APSConnection: 0x12c61ee80>

[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:25 Sireeshas-iPod-touch SpringBoard[54] : Installed apps did change.

[iOSLog] [IOS_SYSLOG_ROW] Added: {(
[iOSLog] [IOS_SYSLOG_ROW] )}
[iOSLog] [IOS_SYSLOG_ROW] Removed: {(
[iOSLog] [IOS_SYSLOG_ROW] )}
[iOSLog] [IOS_SYSLOG_ROW] Modified: {(
[iOSLog] [IOS_SYSLOG_ROW] “app.testing.safari”

[iOSLog] [IOS_SYSLOG_ROW] )}

[HTTP] --> GET /wd/hub/status {}

[MJSONWP] Calling AppiumDriver.getStatus() with args: []

[debug] [iOS] App installed.

[debug] [iOS] Starting UIAutoClient, and launching Instruments.

[debug] [UIAuto] Instruments socket server started at /var/folders/jy/0fjncggn3r35gmqz_m4qhw9w0000gq/T/instruments_sock

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

[debug] [Instruments] Attempting to launch instruments, this is try #1
[Instruments] Launching instruments

[debug] [Instruments] Attempting to run app on real device with UDID ‘d25c9bf22c12e5bbdb15119eccce4b6e8ca661ea’
[debug] [Instruments] Found Insruments-Without-Delay: /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-instruments/thirdparty/iwd7
[debug] [Instruments] Spawning instruments with command: ‘/Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate -D /var/folders/jy/0fjncggn3r35gmqz_m4qhw9w0000gq/T/appium-instruments/instrumentscli0.trace -w d25c9bf22c12e5bbdb15119eccce4b6e8ca661ea com.bytearc.SafariLauncher -e UIASCRIPT “/Users/ssimakurthy/Library/Application Support/appium/bootstrap/bootstrap-ac70b0b0c3845286.js” -e UIARESULTSPATH /var/folders/jy/0fjncggn3r35gmqz_m4qhw9w0000gq/T/appium-instruments’
[debug] [Instruments] And extra without-delay env: {}
[debug] [Instruments] And launch timeouts (in ms): {“global”:90000}

[HTTP] <-- GET /wd/hub/status - - ms - -

[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:27 Sireeshas-iPod-touch com.apple.xpc.launchd[1] : assertion failed: 13G35: launchd + 116796 [9F6284CF-8A17-36CC-9DB5-85D510A21F14]: 0x3

[debug] [Instruments] [INST STDERR] 2016-08-19 15:02:27.410 instruments[6721:854468] WebKit Threading Violation - initial use of WebKit from a secondary thread.

[debug] [Instruments] [INST STDERR] Instruments Usage Error: Specified target process is invalid: com.bytearc.SafariLauncher

[debug] [Instruments] [INST STDERR] instruments, version 7.3 (60134)
usage: instruments [-t template] [-D document] [-l timeLimit] [-i #] [-w device] [[-p pid] | [application [-e variable value] [argument …]]]

[Instruments] Error launching instruments: Instruments crashed on startup

[debug] [Instruments] Instruments exited with code 255
[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:27 Sireeshas-iPod-touch gputoolsd[371] : schedule invalidation <DYTransport 0x1346071d0, error: lost transport connection (31)>
[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:27 Sireeshas-iPod-touch gputoolsd[371] : terminating daemon 0x134606eb0
[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:27 Sireeshas-iPod-touch DTServiceHub[208] : Could not create service named com.apple.instruments.server.services.processcontrol.posixspawn

[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:27 Sireeshas-iPod-touch notification_proxy[118] : 0x16e12f000 -[MNPLockdownConnection receiveMessage]: lockdown_receive_message error!

[HTTP] --> GET /wd/hub/status {}

[MJSONWP] Calling AppiumDriver.getStatus() with args: []

[HTTP] <-- GET /wd/hub/status - - ms - -

[HTTP] --> GET /wd/hub/status {}

[MJSONWP] Calling AppiumDriver.getStatus() with args: []

[HTTP] <-- GET /wd/hub/status - - ms - -

[HTTP] --> GET /wd/hub/status {}

[MJSONWP] Calling AppiumDriver.getStatus() with args: []

[debug] [Instruments] Attempting to launch instruments, this is try #2

[Instruments] Launching instruments

[debug] [Instruments] Attempting to run app on real device with UDID ‘d25c9bf22c12e5bbdb15119eccce4b6e8ca661ea’
[debug] [Instruments] Found Insruments-Without-Delay: /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-instruments/thirdparty/iwd7
[debug] [Instruments] Spawning instruments with command: ‘/Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate -D /var/folders/jy/0fjncggn3r35gmqz_m4qhw9w0000gq/T/appium-instruments/instrumentscli0.trace -w d25c9bf22c12e5bbdb15119eccce4b6e8ca661ea com.bytearc.SafariLauncher -e UIASCRIPT “/Users/ssimakurthy/Library/Application Support/appium/bootstrap/bootstrap-ac70b0b0c3845286.js” -e UIARESULTSPATH /var/folders/jy/0fjncggn3r35gmqz_m4qhw9w0000gq/T/appium-instruments’
[debug] [Instruments] And extra without-delay env: {}
[debug] [Instruments] And launch timeouts (in ms): {“global”:90000}

[HTTP] <-- GET /wd/hub/status - - ms - -

[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:33 Sireeshas-iPod-touch com.apple.xpc.launchd[1] : assertion failed: 13G35: launchd + 116796 [9F6284CF-8A17-36CC-9DB5-85D510A21F14]: 0x3

[debug] [Instruments] [INST STDERR] 2016-08-19 15:02:33.569 instruments[6725:854513] WebKit Threading Violation - initial use of WebKit from a secondary thread.

[debug] [Instruments] [INST STDERR] Instruments Usage Error: Specified target process is invalid: com.bytearc.SafariLauncher
[debug] [Instruments] [INST STDERR] instruments, version 7.3 (60134)
usage: instruments [-t template] [-D document] [-l timeLimit] [-i #] [-w device] [[-p pid] | [application [-e variable value] [argument …]]]

[Instruments] Error launching instruments: Instruments crashed on startup

[debug] [Instruments] Instruments exited with code 255
[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:33 Sireeshas-iPod-touch DTServiceHub[208] : Could not create service named com.apple.instruments.server.services.processcontrol.posixspawn
[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:33 Sireeshas-iPod-touch gputoolsd[372] : schedule invalidation <DYTransport 0x137d0f870, error: lost transport connection (31)>
[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:33 Sireeshas-iPod-touch gputoolsd[372] : terminating daemon 0x137d0f550

[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:33 Sireeshas-iPod-touch notification_proxy[118] : 0x16e12f000 -[MNPLockdownConnection receiveMessage]: lockdown_receive_message error!

[HTTP] --> GET /wd/hub/status {}

[MJSONWP] Calling AppiumDriver.getStatus() with args: []

[HTTP] <-- GET /wd/hub/status - - ms - -

[HTTP] --> GET /wd/hub/status {}

[MJSONWP] Calling AppiumDriver.getStatus() with args: []

[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:36 Sireeshas-iPod-touch calaccessd[168] : ERROR: couldn’t find any operation group that responds to the selector CADDatabaseGetSharedCalendarInvitationsWithReply:

[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:36 Sireeshas-iPod-touch calaccessd[168] : ERROR: couldn’t find any operation group that responds to the invocation CADDatabaseGetSharedCalendarInvitationsWithReply:

[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:36 Sireeshas-iPod-touch assistant_service[198] : Error getting shared calendar invitations for entity types 2 from daemon: Error Domain=EKCADErrorDomain Code=1014 “(null)”

[HTTP] <-- GET /wd/hub/status - - ms - -

[HTTP] --> GET /wd/hub/status {}

[MJSONWP] Calling AppiumDriver.getStatus() with args: []

[debug] [Instruments] Attempting to launch instruments, this is try #3

[Instruments] Launching instruments

[debug] [Instruments] Attempting to run app on real device with UDID ‘d25c9bf22c12e5bbdb15119eccce4b6e8ca661ea’
[debug] [Instruments] Found Insruments-Without-Delay: /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-instruments/thirdparty/iwd7
[debug] [Instruments] Spawning instruments with command: ‘/Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate -D /var/folders/jy/0fjncggn3r35gmqz_m4qhw9w0000gq/T/appium-instruments/instrumentscli0.trace -w d25c9bf22c12e5bbdb15119eccce4b6e8ca661ea com.bytearc.SafariLauncher -e UIASCRIPT “/Users/ssimakurthy/Library/Application Support/appium/bootstrap/bootstrap-ac70b0b0c3845286.js” -e UIARESULTSPATH /var/folders/jy/0fjncggn3r35gmqz_m4qhw9w0000gq/T/appium-instruments’
[debug] [Instruments] And extra without-delay env: {}
[debug] [Instruments] And launch timeouts (in ms): {“global”:90000}

[HTTP] <-- GET /wd/hub/status - - ms - -

[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:39 Sireeshas-iPod-touch com.apple.xpc.launchd[1] : assertion failed: 13G35: launchd + 116796 [9F6284CF-8A17-36CC-9DB5-85D510A21F14]: 0x3

[debug] [Instruments] [INST STDERR] 2016-08-19 15:02:39.665 instruments[6729:854531] WebKit Threading Violation - initial use of WebKit from a secondary thread.

[debug] [Instruments] [INST STDERR] Instruments Usage Error: Specified target process is invalid: com.bytearc.SafariLauncher

[debug] [Instruments] [INST STDERR] instruments, version 7.3 (60134)
usage: instruments [-t template] [-D document] [-l timeLimit] [-i #] [-w device] [[-p pid] | [application [-e variable value] [argument …]]]

[Instruments] Error launching instruments: Instruments crashed on startup

[debug] [Instruments] Instruments exited with code 255
[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:39 Sireeshas-iPod-touch gputoolsd[373] : schedule invalidation <DYTransport 0x15ee02bb0, error: lost transport connection (31)>
[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:39 Sireeshas-iPod-touch gputoolsd[373] : terminating daemon 0x15ee02870

[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:39 Sireeshas-iPod-touch DTServiceHub[208] : Could not create service named com.apple.instruments.server.services.processcontrol.posixspawn
[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:39 Sireeshas-iPod-touch notification_proxy[118] : 0x16e087000 -[MNPLockdownConnection receiveMessage]: lockdown_receive_message error!
[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:39 Sireeshas-iPod-touch notification_proxy[118] : 0x16e247000 -[MNPLockdownConnection receiveMessage]: lockdown_receive_message error!

[HTTP] --> GET /wd/hub/status {}

[MJSONWP] Calling AppiumDriver.getStatus() with args: []

[HTTP] <-- GET /wd/hub/status - - ms - -

[HTTP] --> GET /wd/hub/status {}

[MJSONWP] Calling AppiumDriver.getStatus() with args: []

[HTTP] <-- GET /wd/hub/status - - ms - -

[HTTP] --> GET /wd/hub/status {}

[MJSONWP] Calling AppiumDriver.getStatus() with args: []

[debug] [Instruments] Attempting to launch instruments, this is try #4

[Instruments] Launching instruments

[debug] [Instruments] Attempting to run app on real device with UDID ‘d25c9bf22c12e5bbdb15119eccce4b6e8ca661ea’
[debug] [Instruments] Found Insruments-Without-Delay: /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-instruments/thirdparty/iwd7
[debug] [Instruments] Spawning instruments with command: ‘/Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate -D /var/folders/jy/0fjncggn3r35gmqz_m4qhw9w0000gq/T/appium-instruments/instrumentscli0.trace -w d25c9bf22c12e5bbdb15119eccce4b6e8ca661ea com.bytearc.SafariLauncher -e UIASCRIPT “/Users/ssimakurthy/Library/Application Support/appium/bootstrap/bootstrap-ac70b0b0c3845286.js” -e UIARESULTSPATH /var/folders/jy/0fjncggn3r35gmqz_m4qhw9w0000gq/T/appium-instruments’
[debug] [Instruments] And extra without-delay env: {}
[debug] [Instruments] And launch timeouts (in ms): {“global”:90000}

[HTTP] <-- GET /wd/hub/status - - ms - -

[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:45 Sireeshas-iPod-touch com.apple.xpc.launchd[1] : assertion failed: 13G35: launchd + 116796 [9F6284CF-8A17-36CC-9DB5-85D510A21F14]: 0x3

[debug] [Instruments] [INST STDERR] 2016-08-19 15:02:45.837 instruments[6733:854615] WebKit Threading Violation - initial use of WebKit from a secondary thread.

[debug] [Instruments] [INST STDERR] Instruments Usage Error: Specified target process is invalid: com.bytearc.SafariLauncher
instruments, version 7.3 (60134)
usage: instruments [-t template] [-D document] [-l timeLimit] [-i #] [-w device] [[-p pid] | [application [-e variable value] [argument …]]]

[debug] [Instruments] Instruments exited with code 255

[Instruments] Error launching instruments: Instruments crashed on startup

[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:46 Sireeshas-iPod-touch gputoolsd[374] : schedule invalidation <DYTransport 0x154d0f890, error: lost transport connection (31)>
[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:46 Sireeshas-iPod-touch DTServiceHub[208] : Could not create service named com.apple.instruments.server.services.processcontrol.posixspawn
[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:46 Sireeshas-iPod-touch gputoolsd[374] : terminating daemon 0x154d0f570
[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:46 Sireeshas-iPod-touch notification_proxy[118] : 0x16e12f000 -[MNPLockdownConnection receiveMessage]: lockdown_receive_message error!
[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:46 Sireeshas-iPod-touch notification_proxy[118] : 0x16e12f000 -[MNPLockdownConnection receiveMessage]: lockdown_receive_message error!

[HTTP] --> GET /wd/hub/status {}

[MJSONWP] Calling AppiumDriver.getStatus() with args: []

[HTTP] <-- GET /wd/hub/status - - ms - -

[HTTP] --> GET /wd/hub/status {}

[MJSONWP] Calling AppiumDriver.getStatus() with args: []

[HTTP] <-- GET /wd/hub/status - - ms - -

[HTTP] --> GET /wd/hub/status {}

[MJSONWP] Calling AppiumDriver.getStatus() with args: []

[debug] [Instruments] Attempting to launch instruments, this is try #5

[Instruments] Launching instruments

[debug] [Instruments] Attempting to run app on real device with UDID ‘d25c9bf22c12e5bbdb15119eccce4b6e8ca661ea’
[debug] [Instruments] Found Insruments-Without-Delay: /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-instruments/thirdparty/iwd7
[debug] [Instruments] Spawning instruments with command: ‘/Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate -D /var/folders/jy/0fjncggn3r35gmqz_m4qhw9w0000gq/T/appium-instruments/instrumentscli0.trace -w d25c9bf22c12e5bbdb15119eccce4b6e8ca661ea com.bytearc.SafariLauncher -e UIASCRIPT “/Users/ssimakurthy/Library/Application Support/appium/bootstrap/bootstrap-ac70b0b0c3845286.js” -e UIARESULTSPATH /var/folders/jy/0fjncggn3r35gmqz_m4qhw9w0000gq/T/appium-instruments’
[debug] [Instruments] And extra without-delay env: {}
[debug] [Instruments] And launch timeouts (in ms): {“global”:90000}

[HTTP] <-- GET /wd/hub/status - - ms - -

[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:52 Sireeshas-iPod-touch com.apple.xpc.launchd[1] : assertion failed: 13G35: launchd + 116796 [9F6284CF-8A17-36CC-9DB5-85D510A21F14]: 0x3

[debug] [Instruments] [INST STDERR] 2016-08-19 15:02:52.203 instruments[6737:854699] WebKit Threading Violation - initial use of WebKit from a secondary thread.

[debug] [Instruments] [INST STDERR] Instruments Usage Error: Specified target process is invalid: com.bytearc.SafariLauncher
instruments, version 7.3 (60134)
usage: instruments [-t template] [-D document] [-l timeLimit] [-i #] [-w device] [[-p pid] | [application [-e variable value] [argument …]]]

[Instruments] Error launching instruments: Instruments crashed on startup

[debug] [Instruments] Instruments exited with code 255

[Instruments] Error: We exceeded the number of retries allowed for instruments to successfully start; failing launch
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13)
at Instruments.launch$ (lib/instruments.js:220:15)
at tryCatch (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at run (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:104:47)
at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:115:28
at flush (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.microtask.js:19:5)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
[Error: We exceeded the number of retries allowed for instruments to successfully start; failing launch]

[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:52 Sireeshas-iPod-touch gputoolsd[375] : schedule invalidation <DYTransport 0x135d0f630, error: lost transport connection (31)>
[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:52 Sireeshas-iPod-touch DTServiceHub[208] : Could not create service named com.apple.instruments.server.services.processcontrol.posixspawn
[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:52 Sireeshas-iPod-touch gputoolsd[375] : terminating daemon 0x135d0f2d0
[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:02:52 Sireeshas-iPod-touch notification_proxy[118] : 0x16e087000 -[MNPLockdownConnection receiveMessage]: lockdown_receive_message error!
[HTTP] <-- POST /wd/hub/session 500 33719 ms - 232

[MJSONWP] Encountered internal error running command: Error: We exceeded the number of retries allowed for instruments to successfully start; failing launch
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13)
at Instruments.launch$ (lib/instruments.js:220:15)
at tryCatch (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at run (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:104:47)
at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:115:28
at flush (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.microtask.js:19:5)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)

[MJSONWP] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.5.3”…
[MJSONWP] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.5.3”…
[MJSONWP] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.5.3”…
[MJSONWP] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.5.3”…

[MJSONWP] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.5.3”…
[MJSONWP] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.5.3”…
[MJSONWP] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.5.3”…
[MJSONWP] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.5.3”…

[MJSONWP] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.5.3”…
[MJSONWP] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.5.3”…
[MJSONWP] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.5.3”…

[MJSONWP] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.5.3”…
[MJSONWP] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.5.3”…

[HTTP] --> GET /wd/hub/status {}
[MJSONWP] Calling AppiumDriver.getStatus() with args: []
[MJSONWP] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.5.3”…
[HTTP] <-- GET /wd/hub/status 200 19 ms - 83

[HTTP] --> GET /wd/hub/status {}

[MJSONWP] Calling AppiumDriver.getStatus() with args: []

[MJSONWP] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.5.3”…
[HTTP] <-- GET /wd/hub/status 200 12 ms - 83

[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:03:18 Sireeshas-iPod-touch assistantd[28] : tcp_connection_tls_session_error_callback_imp 20 __tcp_connection_tls_session_callback_write_block_invoke.434 error 22

[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:03:18 Sireeshas-iPod-touch assistantd[28] : NSURLSessionStreamTask: TCPConnection read invalidated by closed connection

[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:03:18 Sireeshas-iPod-touch networkd[86] : -[NETAWDManager reportStats:metricID:] AWDServerConnection newMetricContainerWithIdentifier failed for metric 2686980, server 0x13ce21550, not reporting:
[iOSLog] [IOS_SYSLOG_ROW] <AWDMPTCPConnectionReport: 0x13ce11f90> {
[iOSLog] [IOS_SYSLOG_ROW] “client_id” = assistantd;
[iOSLog] [IOS_SYSLOG_ROW] “establishment_cellular_fallback” = 0;
[iOSLog] [IOS_SYSLOG_ROW] “establishment_failure_error” = 0;
[iOSLog] [IOS_SYSLOG_ROW] “establishment_forced_tcp_fallback” = 1;
[iOSLog] [IOS_SYSLOG_ROW] “establishment_interface_name” = en0;
[iOSLog] [IOS_SYSLOG_ROW] “establishment_success” = 1;
[iOSLog] [IOS_SYSLOG_ROW] “establishment_syn_retransmits” = 0;
[iOSLog] [IOS_SYSLOG_ROW] “establishment_tcp_fallback” = 1;
[iOSLog] [IOS_SYSLOG_ROW] “establishment_time” = “0.014971458”;
[iOSLog] [IOS_SYSLOG_ROW] “interface_reports” = (
[iOSLog] [IOS_SYSLOG_ROW] {
[iOSLog] [IOS_SYSLOG_ROW] “data_in_KB” = 0;
[iOSLog] [IOS_SYSLOG_ROW] “data_out_KB” = 0;
[iOSLog] [IOS_SYSLOG_ROW] “interface_name” = en0;
[iOSLog] [IOS_SYSLOG_ROW] “post_connect_subflow_failure_errors” = (
[iOSLog] [IOS_SYSLOG_ROW] );
[iOSLog] [IOS_SYSLOG_ROW] “post_connect_tcp_fallback_count” = 0;
[iOSLog] [IOS_SYSLOG_ROW] “secondary_flow_failure_count” = 0;
[iOSLog] [IOS_SYSLOG_ROW] “secondary_flow_success_count” = 0;
[iOSLog] [IOS_SYSLOG_ROW] }
[iOSLog] [IOS_SYSLOG_ROW] );
[iOSLog] [IOS_SYSLOG_ROW] “post_connect_multi_homed” = 0;
[iOSLog] [IOS_SYSLOG_ROW] “post_connect_session_lifetime” = 0;
[iOSLog] [IOS_SYSLOG_ROW] “post_connect_single_homed” = 1;
[iOSLog] [IOS_SYSLOG_ROW] “post_connect_subflow_attempt_count” = 0;
[iOSLog] [IOS_SYSLOG_ROW] “post_connect_subflow_max_subflow_count” = 0;
[iOSLog] [IOS_SYSLOG_ROW] “subflow_switching_count” = 0;
[iOSLog] [IOS_SYSLOG_ROW] }

[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:03:23 Sireeshas-iPod-touch com.apple.CDScheduler[23] : UserNextSleepPeriod value from context store is (null)

[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:03:23 Sireeshas-iPod-touch com.apple.CDScheduler[23] : Failed to get user inactivity forecast

[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:03:23 Sireeshas-iPod-touch UserEventAgent[23] : [autosu error]: SPI for AutoSU: probabilityVector is empty
[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:03:23 Sireeshas-iPod-touch com.apple.CDScheduler[23] : AutoSu doesn’t have any prediction yet
[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:03:23 Sireeshas-iPod-touch com.apple.CDScheduler[23] : Failed to get device restart forecast

[HTTP] --> GET /wd/hub/status {}

[MJSONWP] Calling AppiumDriver.getStatus() with args: []

[MJSONWP] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.5.3”…
[HTTP] <-- GET /wd/hub/status 200 13 ms - 83

[iOSLog] [IOS_SYSLOG_ROW] Aug 19 15:04:25 Sireeshas-iPod-touch syncdefaultsd[367] : (Note ) marked “com.me.keyvalueservice” topic as “enabled” on <APSConnection: 0x12c61ee80>

Regards,
Sireesha S