Appium UI inspector was not able to install the app. Already installed app from xcode was able to launch.
Launching Appium with command: ‘/Applications/Appium.app/Contents/Resources/node/bin/node’ lib/server/main.js --command-timeout “7200” --debug-log-spacing --platform-version “8.0” --platform-name “iOS” --app “com.logitech.harmonyremote” --udid “a8d6f7210962a40203e43cc29f226b24200ae6ff” --show-ios-log --device-name “iPhone 5”
info: Welcome to Appium v1.4.8 (REV c8179bd8352d3c62d98fa58b324491230df9342a)
info: Appium REST http interface listener started on 0.0.0.0:4723
info: [debug] Non-default server args: {“app”:“com.logitech.harmonyremote”,“udid”:“a8d6f7210962a40203e43cc29f226b24200ae6ff”,“deviceName”:“iPhone 5”,“platformName”:“iOS”,“platformVersion”:“8.0”,“showIOSLog”:true,“defaultCommandTimeout”:7200,“debugLogSpacing”:true}
info: Console LogLevel: debug
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.4.8”,“revision”:“c8179bd8352d3c62d98fa58b324491230df9342a”}}}
info: <-- GET /wd/hub/status 200 15.408 ms - 104 {“status”:0,“value”:{“build”:{“version”:“1.4.8”,“revision”:“c8179bd8352d3c62d98fa58b324491230df9342a”}}}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.4.8”,“revision”:“c8179bd8352d3c62d98fa58b324491230df9342a”}}}
info: <-- GET /wd/hub/status 200 6.251 ms - 104 {“status”:0,“value”:{“build”:{“version”:“1.4.8”,“revision”:“c8179bd8352d3c62d98fa58b324491230df9342a”}}}
info: --> GET /wd/hub/sessions {}
info: [debug] Responding to client with success: {“status”:0,“value”:[]}
info: <-- GET /wd/hub/sessions 200 1.609 ms - 23 {“status”:0,“value”:[]}
info: --> POST /wd/hub/session {“desiredCapabilities”:{“platformName”:“iOS”,“platformVersion”:“8.0”,“newCommandTimeout”:“999999”,“automationName”:“Appium”,“deviceName”:“iPhone 5”}}
info: Client User-Agent string: Appium (unknown version) CFNetwork/673.6 Darwin/13.4.0 (x86_64) (MacBookAir4%2C2)
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: **** NEW SESSION ***
info: **** NEW SESSION ***
info: **** NEW SESSION ***
info: **** NEW SESSION ***
info: **** NEW SESSION ***
info: **** NEW SESSION ***
info: **** NEW SESSION ***
info: **** NEW SESSION ***
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: [debug] App is an iOS bundle, will attempt to run as pre-existing
info: [debug] Creating new appium session d9bfe341-8863-45f3-8220-6234ebaf38d4
info: [debug] Removing any remaining instruments sockets
info: [debug] Cleaned up instruments socket /tmp/instruments_sock
info: [debug] Auto-detecting iOS udid…
info: [debug] Not auto-detecting udid, running on sim
info: [debug] Could not parse plist file (as binary) at /Applications/Appium.app/Contents/Resources/node_modules/appium/com.logitech.harmonyremote/en.lproj/Localizable.strings
info: Will try to parse the plist file as XML
info: [debug] Could not parse plist file (as XML) at /Applications/Appium.app/Contents/Resources/node_modules/appium/com.logitech.harmonyremote/en.lproj/Localizable.strings
warn: Could not parse app Localizable.strings assuming it doesn’t exist
info: [debug] Creating instruments
info: [debug] Preparing uiauto bootstrap
info: [debug] Dynamic bootstrap dir: /Users/logitech/Library/Application Support/appium/bootstrap
info: [debug] Dynamic env: {“nodePath”:"/Applications/Appium.app/Contents/Resources/node/bin/node",“commandProxyClientPath”:"/Applications/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,“autoDismissAlerts”:false,“sendKeyStrategy”:“grouped”}
info: [debug] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!
…
info: [debug] Dynamic bootstrap path: /Users/logitech/Library/Application Support/appium/bootstrap/bootstrap-6745615c424bb0c0.js
info: [debug] Reusing dynamic bootstrap: /Users/logitech/Library/Application Support/appium/bootstrap/bootstrap-6745615c424bb0c0.js
info: [debug] Attempting iOS device log capture via libimobiledevice idevicesyslog
info: [debug] Creating iDevice object with udid a8d6f7210962a40203e43cc29f226b24200ae6ff
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.4.8”,“revision”:“c8179bd8352d3c62d98fa58b324491230df9342a”},“isShuttingDown”:false},“sessionId”:“d9bfe341-8863-45f3-8220-6234ebaf38d4”}
info: <-- GET /wd/hub/status 200 2.359 ms - 178 {“status”:0,“value”:{“build”:{“version”:“1.4.8”,“revision”:“c8179bd8352d3c62d98fa58b324491230df9342a”},“isShuttingDown”:false},“sessionId”:“d9bfe341-8863-45f3-8220-6234ebaf38d4”}
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: On xcode 6.0, instruments-without-delay does not work. If using appium, you can disable instruments-without-delay with the --native-instruments-lib server flag
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 a8d6f7210962a40203e43cc29f226b24200ae6ff
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.xrplugin/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace -w a8d6f7210962a40203e43cc29f226b24200ae6ff com.logitech.harmonyremote -e UIASCRIPT “/Users/logitech/Library/Application Support/appium/bootstrap/bootstrap-6745615c424bb0c0.js” -e UIARESULTSPATH /tmp/appium-instruments
info: [debug] And extra without-delay env: {}
info: [debug] And launch timeouts (in ms): {“global”:90000}
info: [debug] [INST STDERR] 2015-07-27 19:45:13.444 instruments[9243:1307] WebKit Threading Violation - initial use of WebKit from a secondary thread.
info: [debug] [INST STDERR] Instruments Trace Error : Target failed to run: The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 4.) : Failed to launch process with bundle identifier ‘com.logitech.harmonyremote’
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 iOS Simulator
info: [IOS_SYSLOG_ROW ] Jul 27 19:45:14 Vikas-Chandras-iPhone kernel[0] : IOReturn IOAsynchronousScheduler::checkAndQueueArgument(IOAsynchronousScheduler::ArgumentEntry *): max argument count (128) reached. Notify a few first.
info: [IOS_SYSLOG_ROW ] Jul 27 19:45:13 Vikas-Chandras-iPhone SpringBoard[54] : Entitlement com.apple.multitasking.termination required to kill applications.
info: [IOS_SYSLOG_ROW ] Jul 27 19:45:13 Vikas-Chandras-iPhone SpringBoard[54] : [FBSystemService] Error launching com.logitech.harmonyremote: NotFound (4)
info: [IOS_SYSLOG_ROW ] Jul 27 19:45:13 Vikas-Chandras-iPhone DTMobileIS[677] : Could not create service named com.apple.instruments.server.services.processcontrol.posixspawn
info: [IOS_SYSLOG_ROW ] Jul 27 19:45:13 Vikas-Chandras-iPhone DTMobileIS[677] : Could not create service named com.apple.instruments.server.services.launchdaemon
info: [IOS_SYSLOG_ROW ] Jul 27 19:45:13 Vikas-Chandras-iPhone notification_proxy[655] : 0x10040c000 -[MNPLockdownConnection receiveMessage]: lockdown_receive_message error!
info: [IOS_SYSLOG_ROW ] Jul 27 19:45:13 Vikas-Chandras-iPhone notification_proxy[655] : 0x10040c000 -[MNPLockdownConnection receiveMessage]: lockdown_receive_message error!
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.4.8”,“revision”:“c8179bd8352d3c62d98fa58b324491230df9342a”},“isShuttingDown”:false},“sessionId”:“d9bfe341-8863-45f3-8220-6234ebaf38d4”}
info: <-- GET /wd/hub/status 200 2.468 ms - 178 {“status”:0,“value”:{“build”:{“version”:“1.4.8”,“revision”:“c8179bd8352d3c62d98fa58b324491230df9342a”},“isShuttingDown”:false},“sessionId”:“d9bfe341-8863-45f3-8220-6234ebaf38d4”}
info: [IOS_SYSLOG_ROW ] Jul 27 19:45:16 Vikas-Chandras-iPhone locationd[61] : client ‘/System/Library/PrivateFrameworks/AssistantServices.framework’ stopping significant location changes
info: Launching instruments
info: [debug] Attempting to run app on real device with UDID a8d6f7210962a40203e43cc29f226b24200ae6ff
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.xrplugin/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace -w a8d6f7210962a40203e43cc29f226b24200ae6ff com.logitech.harmonyremote -e UIASCRIPT “/Users/logitech/Library/Application Support/appium/bootstrap/bootstrap-6745615c424bb0c0.js” -e UIARESULTSPATH /tmp/appium-instruments
info: [debug] And extra without-delay env: {}
info: [debug] And launch timeouts (in ms): {“global”:90000}
info: [debug] [INST STDERR] 2015-07-27 19:45:19.883 instruments[9260:4c0b] WebKit Threading Violation - initial use of WebKit from a secondary thread.
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.4.8”,“revision”:“c8179bd8352d3c62d98fa58b324491230df9342a”},“isShuttingDown”:false},“sessionId”:“d9bfe341-8863-45f3-8220-6234ebaf38d4”}
info: <-- GET /wd/hub/status 200 2.654 ms - 178 {“status”:0,“value”:{“build”:{“version”:“1.4.8”,“revision”:“c8179bd8352d3c62d98fa58b324491230df9342a”},“isShuttingDown”:false},“sessionId”:“d9bfe341-8863-45f3-8220-6234ebaf38d4”}
info: [IOS_SYSLOG_ROW ] Jul 27 19:45:20 Vikas-Chandras-iPhone SpringBoard[54] : Entitlement com.apple.multitasking.termination required to kill applications.
info: [IOS_SYSLOG_ROW ] Jul 27 19:45:20 Vikas-Chandras-iPhone SpringBoard[54] : [FBSystemService] Error launching com.logitech.harmonyremote: NotFound (4)
info: [debug] [INST STDERR] Instruments Trace Error : Target failed to run: The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 4.) : Failed to launch process with bundle identifier ‘com.logitech.harmonyremote’
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 iOS Simulator
info: [IOS_SYSLOG_ROW ] Jul 27 19:45:20 Vikas-Chandras-iPhone DTMobileIS[677] : Could not create service named com.apple.instruments.server.services.processcontrol.posixspawn
info: [IOS_SYSLOG_ROW ] Jul 27 19:45:20 Vikas-Chandras-iPhone DTMobileIS[677] : Could not create service named com.apple.instruments.server.services.launchdaemon
info: [IOS_SYSLOG_ROW ] Jul 27 19:45:20 Vikas-Chandras-iPhone notification_proxy[655] : 0x100384000 -[MNPLockdownConnection receiveMessage]: lockdown_receive_message error!
info: [IOS_SYSLOG_ROW ] Jul 27 19:45:20 Vikas-Chandras-iPhone notification_proxy[655] : 0x100384000 -[MNPLockdownConnection receiveMessage]: lockdown_receive_message error!
info: Launching instruments
info: [debug] Attempting to run app on real device with UDID a8d6f7210962a40203e43cc29f226b24200ae6ff
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.xrplugin/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace -w a8d6f7210962a40203e43cc29f226b24200ae6ff com.logitech.harmonyremote -e UIASCRIPT “/Users/logitech/Library/Application Support/appium/bootstrap/bootstrap-6745615c424bb0c0.js” -e UIARESULTSPATH /tmp/appium-instruments
info: [debug] And extra without-delay env: {}
info: [debug] And launch timeouts (in ms): {“global”:90000}
info: [debug] [INST STDERR] 2015-07-27 19:45:26.312 instruments[9263:2207] WebKit Threading Violation - initial use of WebKit from a secondary thread.
info: [IOS_SYSLOG_ROW ] Jul 27 19:45:26 Vikas-Chandras-iPhone SpringBoard[54] : Entitlement com.apple.multitasking.termination required to kill applications.
info: [IOS_SYSLOG_ROW ] Jul 27 19:45:26 Vikas-Chandras-iPhone SpringBoard[54] : [FBSystemService] Error launching com.logitech.harmonyremote: NotFound (4)
info: [debug] [INST STDERR] Instruments Trace Error : Target failed to run: The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 4.) : Failed to launch process with bundle identifier ‘com.logitech.harmonyremote’
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 #3
info: [debug] Killall iOS Simulator
info: [IOS_SYSLOG_ROW ] Jul 27 19:45:26 Vikas-Chandras-iPhone notification_proxy[655] : 0x100384000 -[MNPLockdownConnection receiveMessage]: lockdown_receive_message error!
info: [IOS_SYSLOG_ROW ] Jul 27 19:45:26 Vikas-Chandras-iPhone DTMobileIS[677] : Could not create service named com.apple.instruments.server.services.processcontrol.posixspawn
info: [IOS_SYSLOG_ROW ] Jul 27 19:45:26 Vikas-Chandras-iPhone DTMobileIS[677] : Could not create service named com.apple.instruments.server.services.launchdaemon
info: [IOS_SYSLOG_ROW ] Jul 27 19:45:26 Vikas-Chandras-iPhone notification_proxy[655] : 0x1007a4000 -[MNPLockdownConnection receiveMessage]: lockdown_receive_message error!
info: [IOS_SYSLOG_ROW ] Jul 27 19:45:30 Vikas-Chandras-iPhone kernel[0] : 065705.234208 wlan0.A[10778] AppleBCMWLANCore::dumpWmeCounters(): per AC tx counters: 285863 4989 43915 4037, rx counters: 432917 0 0 0
info: [IOS_SYSLOG_ROW ] Jul 27 19:45:30 Vikas-Chandras-iPhone kernel[0] : 065705.234239 wlan0.A[10779] AppleBCMWLANCore::dumpWmeCounters(): AWDL: Tx 0 0 0 0 Rx: 0 0 0 0
info: Launching instruments
info: [debug] Attempting to run app on real device with UDID a8d6f7210962a40203e43cc29f226b24200ae6ff
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.xrplugin/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace -w a8d6f7210962a40203e43cc29f226b24200ae6ff com.logitech.harmonyremote -e UIASCRIPT “/Users/logitech/Library/Application Support/appium/bootstrap/bootstrap-6745615c424bb0c0.js” -e UIARESULTSPATH /tmp/appium-instruments
info: [debug] And extra without-delay env: {}
info: [debug] And launch timeouts (in ms): {“global”:90000}
info: [debug] [INST STDERR] 2015-07-27 19:45:32.549 instruments[9280:4b13] WebKit Threading Violation - initial use of WebKit from a secondary thread.
info: [IOS_SYSLOG_ROW ] Jul 27 19:45:32 Vikas-Chandras-iPhone SpringBoard[54] : Entitlement com.apple.multitasking.termination required to kill applications.
info: [IOS_SYSLOG_ROW ] Jul 27 19:45:32 Vikas-Chandras-iPhone SpringBoard[54] : [FBSystemService] Error launching com.logitech.harmonyremote: NotFound (4)
info: [debug] [INST STDERR] Instruments Trace Error : Target failed to run: The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 4.) : Failed to launch process with bundle identifier ‘com.logitech.harmonyremote’
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] Killing any other simulator daemons
info: [debug] Killall iOS Simulator
info: [debug] On a real device; cannot clean device state
info: [debug] Cleaning up appium session
info: [debug] Error: Instruments crashed on startup
at [object Object].Instruments.onInstrumentsExit (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-instruments/lib/instruments.js:440:31)
at [object Object].<anonymous> (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-instruments/lib/instruments.js:353:12)
at ChildProcess.emit (events.js:110:17)
at Process.ChildProcess._handle.onexit (child_process.js:1074: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 23347.701 ms - 182
error: Failed to start an Appium session, err was: Error: Instruments crashed on startup