@Mayuresh_Shirodkar, I have tried with by giving the App path alone. I am getting below defined error message.
Launching Appium with command: ‘/Applications/Appium.app/Contents/Resources/node/bin/node’ lib/server/main.js --command-timeout “7200” --pre-launch --platform-version “7.1.2” --platform-name “iOS” --app “/Users/al/work/sampleApp.app” --udid “1c71d40a38f94c9e6682f5409e6ea6c0ec081736” --show-ios-log --device-name “iPhone 5s” --isolate-sim-device
info: [debug] Starting Appium in pre-launch mode
info: Pre-launching app
info: [debug] Using local app from command line: /Users/al/work/sampleApp.app
info: [debug] Creating new appium session 289423e0-7048-48e9-93d6-9f72b6f9c592
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] Getting sdk version from xcrun with a timeout
info: [debug] iOS SDK Version set to 8.3
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: On some xcode 6 platforms, instruments-without-delay does not work. If you experience this, you will need to re-run appium with the --native-instruments-lib flag
info: [debug] Preparing uiauto bootstrap
info: [debug] Dynamic bootstrap dir: /Users/al/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/al/Library/Application Support/appium/bootstrap/bootstrap-2911698fabce8e2c.js
info: [debug] Reusing dynamic bootstrap: /Users/al/Library/Application Support/appium/bootstrap/bootstrap-2911698fabce8e2c.js
info: [debug] Getting device string from opts: {“forceIphone”:false,“forceIpad”:false,“xcodeVersion”:“6.3.2”,“iOSSDKVersion”:“8.3”,“deviceName”:“iPhone 5s”,“platformVersion”:“7.1.2”}
info: [debug] fixDevice is on
info: [debug] Final device string is: ‘iPhone 5s (7.1.2 Simulator)’
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 iOS Simulator
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 1c71d40a38f94c9e6682f5409e6ea6c0ec081736
info: [debug] Checking app install status using: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap isInstalled --id 1c71d40a38f94c9e6682f5409e6ea6c0ec081736 --bundle com.company.sampleApp
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 1c71d40a38f94c9e6682f5409e6ea6c0ec081736
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 1c71d40a38f94c9e6682f5409e6ea6c0ec081736 com.company.sampleApp-e UIASCRIPT “/Users/al/Library/Application Support/appium/bootstrap/bootstrap-2911698fabce8e2c.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-06-03 09:54:25.862 instruments[1038:15511] Failed to start Instruments daemon on ‘P_v_iphone_5s (7.1.2)’ (The service is invalid.)
info: [debug] [INST] Waiting for device to boot…
info: [debug] [INST STDERR] 2015-06-03 09:54:26.041 instruments[1038:15506] Failed to start Instruments daemon on ‘P_v_iphone_5s (7.1.2)’ (The service is invalid.)
info: [IOS_SYSLOG_ROW ] Jun 3 09:54:27 P-v-iphone-5s mobile_installation_proxy[115] : 0x100494000 handle_connection: Could not receive request from host.
info: [IOS_SYSLOG_ROW ] Jun 3 09:54:28 P-v-iphone-5s lockdownd[25] : 01cdc000 spawn_service_agent: Could not look up service in the map
info: [IOS_SYSLOG_ROW ] Jun 3 09:54:28 P-v-iphone-5s lockdownd[25] : 01cdc000 spawn_and_handle_checkin: Could not spawn the com.apple.instruments.remoteserver service agent:InvalidService
info: [IOS_SYSLOG_ROW ] Jun 3 09:54:28 P-v-iphone-5s lockdownd[25] : 01cdc000 spawn_service_agent: Could not look up service in the map
info: [IOS_SYSLOG_ROW ] Jun 3 09:54:28 P-v-iphone-5s lockdownd[25] : 01cdc000 spawn_and_handle_checkin: Could not spawn the com.apple.instruments.server service agent:InvalidService
info: [IOS_SYSLOG_ROW ] Jun 3 09:54:28 P-v-iphone-5s lockdownd[25] : 01cdc000 set_response_error: handle_start_session SessionActive
info: [IOS_SYSLOG_ROW ] Jun 3 09:54:28 P-v-iphone-5s lockdownd[25] : 01cdc000 spawn_service_agent: Could not look up service in the map
info: [IOS_SYSLOG_ROW ] Jun 3 09:54:28 P-v-iphone-5s lockdownd[25] : 01cdc000 spawn_and_handle_checkin: Could not spawn the com.apple.instruments.remoteserver service agent:InvalidService
info: [IOS_SYSLOG_ROW ] Jun 3 09:54:28 P-v-iphone-5s lockdownd[25] : 01cdc000 spawn_service_agent: Could not look up service in the map
info: [IOS_SYSLOG_ROW ] Jun 3 09:54:28 P-v-iphone-5s lockdownd[25] : 01cdc000 spawn_and_handle_checkin: Could not spawn the com.apple.instruments.server service agent:InvalidService
info: [IOS_SYSLOG_ROW ] Jun 3 09:54:31 P-v-iphone-5s wifid[40] : WiFi:[454998271.954386]: WiFiLocaleManagerCheckLocale: trying to determine locale…
info: [IOS_SYSLOG_ROW ] Jun 3 09:54:31 P-v-iphone-5s wifid[40] : WiFi:[454998271.954657]: WiFiManagerCoreLocationGetCachedLocation: getting cached location…
info: [IOS_SYSLOG_ROW ] Jun 3 09:54:31 P-v-iphone-5s wifid[40] : WiFi:[454998271.955613]: __WiFiLocaleManagerGetLocaleFromMcc: finding iso country code for mcc 404 …
info: [IOS_SYSLOG_ROW ] Jun 3 09:54:31 P-v-iphone-5s wifid[40] : WiFi:[454998271.955847]: Starting Low Accuracy Location Monitoring, locationMonitoringTimeout=60.000000
info: [IOS_SYSLOG_ROW ] Jun 3 09:54:31 P-v-iphone-5s wifid[40] : WiFi:[454998271.956051]: WiFiManagerCoreLocationStartLocationUpdates: starting location updates…
info: [IOS_SYSLOG_ROW ] Jun 3 09:54:31 P-v-iphone-5s wifid[40] : WiFi:[454998271.956393]: Location Monitoring successfully started with accuracy=3000.000000meters
info: [IOS_SYSLOG_ROW ] Jun 3 09:54:31 P-v-iphone-5s wifid[40] : WiFi:[454998271.956956]: __WiFiLocationServiceManagerEventCallback, got cb dict {
info: [IOS_SYSLOG_ROW ] Jun 3 09:54:31 P-v-iphone-5s wifid[40] : eventType : 0
info: [IOS_SYSLOG_ROW ] Jun 3 09:54:31 P-v-iphone-5s wifid[40] : location : <+13.09606968,+80.23410234> +/- 65.00m (speed -1.00 mps / course -1.00) @ 6/3/15, 9:54:31 AM India Standard Time
info: [IOS_SYSLOG_ROW ] Jun 3 09:54:31 P-v-iphone-5s wifid[40] : }
info: [IOS_SYSLOG_ROW ] Jun 3 09:54:31 P-v-iphone-5s wifid[40] : WiFi:[454998271.958645]: __WiFiLocationServiceManagerProcessLocationAvailableEvent: isValidHighAccuracyLocation 1, isValidLowAccuracyLocation 1
info: [IOS_SYSLOG_ROW ] Jun 3 09:54:31 P-v-iphone-5s wifid[40] : WiFi:[454998271.958807]: __WiFiLocationServiceManagerProcessLocationAvailableEvent: give low accuracy callback
info: [IOS_SYSLOG_ROW ] Jun 3 09:54:31 P-v-iphone-5s wifid[40] : WiFi:[454998271.958940]: __WiFiLocaleManagerGetLocaleFromLocation: <+13.09606968,+80.23410234> +/- 65.00m (speed -1.00 mps / course -1.00) @ 6/3/15, 9:54:31 AM India Standard Time
info: [IOS_SYSLOG_ROW ] Jun 3 09:54:31 P-v-iphone-5s wifid[40] : WiFi:[454998271.959959]: locale from bounding box
info: [IOS_SYSLOG_ROW ] Jun 3 09:54:31 P-v-iphone-5s wifid[40] : WiFi:[454998271.960084]: new locale: , locale:
info: [IOS_SYSLOG_ROW ] Jun 3 09:54:31 P-v-iphone-5s wifid[40] : WiFi:[454998271.960206]: Stopping Low Accuracy Location Monitoring
info: [IOS_SYSLOG_ROW ] Jun 3 09:54:31 P-v-iphone-5s wifid[40] : WiFi:[454998271.960337]: Location Monitoring stopped
info: [IOS_SYSLOG_ROW ] Jun 3 09:54:31 P-v-iphone-5s wifid[40] : WiFi:[454998271.960449]: WiFiManagerCoreLocationStopLocationUpdates: stopping location updates…
info: [IOS_SYSLOG_ROW ] Jun 3 09:54:31 P-v-iphone-5s wifid[40] : WiFi:[454998271.960599]: Stopping Low Accuracy Location Monitoring
info: [IOS_SYSLOG_ROW ] Jun 3 09:54:31 P-v-iphone-5s wifid[40] : WiFi:[454998271.960764]: CLMonitoring is already stopped
info: [IOS_SYSLOG_ROW ] Jun 3 09:54:46 P-v-iphone-5s lockdownd[25] : 00484000 _select_socket: receive secure message timeout!
info: [IOS_SYSLOG_ROW ] Jun 3 09:54:48 P-v-iphone-5s lockdownd[25] : 01cdc000 _select_socket: receive secure message timeout!
info: [IOS_SYSLOG_ROW ] Jun 3 09:54:48 P-v-iphone-5s lockdownd[25] : 01cdc000 _receive_message: walk away - non-SSL 1
Launching Appium with command: ‘/Applications/Appium.app/Contents/Resources/node/bin/node’ lib/server/main.js --command-timeout “7200” --pre-launch --platform-version “7.1.2” --platform-name “iOS” --app “com.company.sampleApp” --udid “1c71d40a38f94c9e6682f5409e6ea6c0ec081736” --show-ios-log --device-name “iPhone 5s” --isolate-sim-device
info: [debug] Starting Appium in pre-launch mode
info: Pre-launching app
info: [debug] App is an iOS bundle, will attempt to run as pre-existing
info: [debug] Creating new appium session b2e96ce2-af79-43db-9ca5-c2df1dbdc011
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] Getting sdk version from xcrun with a timeout
info: [debug] iOS SDK Version set to 8.3
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] Could not parse plist file (as binary) at /Applications/Appium.app/Contents/Resources/node_modules/appium/com.company.sampleApp/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.company.sampleApp/en.lproj/Localizable.strings
warn: Could not parse app Localizable.strings assuming it doesn’t exist
info: [debug] Creating instruments
info: On some xcode 6 platforms, instruments-without-delay does not work. If you experience this, you will need to re-run appium with the --native-instruments-lib flag
info: [debug] Preparing uiauto bootstrap
info: [debug] Dynamic bootstrap dir: /Users/al/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/al/Library/Application Support/appium/bootstrap/bootstrap-2911698fabce8e2c.js
info: [debug] Reusing dynamic bootstrap: /Users/al/Library/Application Support/appium/bootstrap/bootstrap-2911698fabce8e2c.js
info: [debug] Getting device string from opts: {“forceIphone”:false,“forceIpad”:false,“xcodeVersion”:“6.3.2”,“iOSSDKVersion”:“8.3”,“deviceName”:“iPhone 5s”,“platformVersion”:“7.1.2”}
info: [debug] fixDevice is on
info: [debug] Final device string is: ‘iPhone 5s (7.1.2 Simulator)’
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 iOS Simulator
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 1c71d40a38f94c9e6682f5409e6ea6c0ec081736
info: [debug] Checking app install status using: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap isInstalled --id 1c71d40a38f94c9e6682f5409e6ea6c0ec081736 --bundle com.com.company.sampleApp
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 1c71d40a38f94c9e6682f5409e6ea6c0ec081736
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 1c71d40a38f94c9e6682f5409e6ea6c0ec081736 com.company.sampleApp -e UIASCRIPT “/Users/al/Library/Application Support/appium/bootstrap/bootstrap-2911698fabce8e2c.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-06-03 09:54:58.352 instruments[1122:15787] Failed to start Instruments daemon on ‘P_v_iphone_5s (7.1.2)’ (The service is invalid.)
info: [debug] [INST] Waiting for device to boot…
info: [debug] [INST STDERR] 2015-06-03 09:54:58.490 instruments[1122:15784] Failed to start Instruments daemon on ‘P_v_iphone_5s (7.1.2)’ (The service is invalid.)
info: [IOS_SYSLOG_ROW ] Jun 3 09:55:00 P-v-iphone-5s mobile_installation_proxy[115] : 0x100494000 handle_connection: Could not receive request from host.
info: [IOS_SYSLOG_ROW ] Jun 3 09:55:00 P-v-iphone-5s lockdownd[25] : 00484000 spawn_service_agent: Could not look up service in the map
info: [IOS_SYSLOG_ROW ] Jun 3 09:55:00 P-v-iphone-5s lockdownd[25] : 00484000 spawn_and_handle_checkin: Could not spawn the com.apple.instruments.remoteserver service agent:InvalidService
info: [IOS_SYSLOG_ROW ] Jun 3 09:55:00 P-v-iphone-5s lockdownd[25] : 00484000 spawn_service_agent: Could not look up service in the map
info: [IOS_SYSLOG_ROW ] Jun 3 09:55:00 P-v-iphone-5s lockdownd[25] : 00484000 spawn_and_handle_checkin: Could not spawn the com.apple.instruments.server service agent:InvalidService
info: [IOS_SYSLOG_ROW ] Jun 3 09:55:00 P-v-iphone-5s lockdownd[25] : 00484000 set_response_error: handle_start_session SessionActive
info: [IOS_SYSLOG_ROW ] Jun 3 09:55:00 P-v-iphone-5s lockdownd[25] : 00484000 spawn_service_agent: Could not look up service in the map
info: [IOS_SYSLOG_ROW ] Jun 3 09:55:00 P-v-iphone-5s lockdownd[25] : 00484000 spawn_and_handle_checkin: Could not spawn the com.apple.instruments.remoteserver service agent:InvalidService
info: [IOS_SYSLOG_ROW ] Jun 3 09:55:00 P-v-iphone-5s lockdownd[25] : 00484000 spawn_service_agent: Could not look up service in the map
info: [IOS_SYSLOG_ROW ] Jun 3 09:55:00 P-v-iphone-5s lockdownd[25] : 00484000 spawn_and_handle_checkin: Could not spawn the com.apple.instruments.server service agent:InvalidService
info: [IOS_SYSLOG_ROW ] Jun 3 09:55:04 P-v-iphone-5s wifid[40] : WiFi:[454998304.501187]: WoW is Enabled, 1 WoW Clients
info: [IOS_SYSLOG_ROW ] Jun 3 09:55:18 P-v-iphone-5s lockdownd[25] : 01cdc000 _select_socket: receive secure message timeout!
info: [IOS_SYSLOG_ROW ] Jun 3 09:55:20 P-v-iphone-5s lockdownd[25] : 00484000 _select_socket: receive secure message timeout!
info: [IOS_SYSLOG_ROW ] Jun 3 09:55:20 P-v-iphone-5s lockdownd[25] : 00484000 _receive_message: walk away - non-SSL 1
info: [debug] [INST STDERR] Instruments Usage Error : Timed out waiting for device to boot: “P_v_iphone_5s (7.1.2)”
info: [debug] [INSTSERVER] Instruments exited with code 255
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: Launching instruments
info: [debug] Attempting to run app on real device with UDID 1c71d40a38f94c9e6682f5409e6ea6c0ec081736
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 1c71d40a38f94c9e6682f5409e6ea6c0ec081736 com.company.sampleApp-e UIASCRIPT “/Users/al/Library/Application Support/appium/bootstrap/bootstrap-2911698fabce8e2c.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 ] Jun 3 09:55:36 P-v-iphone-5s lockdownd[25] : 00484000 spawn_service_agent: Could not look up service in the map
info: [IOS_SYSLOG_ROW ] Jun 3 09:55:36 P-v-iphone-5s lockdownd[25] : 00484000 spawn_and_handle_checkin: Could not spawn the com.apple.instruments.remoteserver service agent:InvalidService
info: [debug] [INST STDERR] 2015-06-03 09:55:33.948 instruments[1125:15936] Failed to start Instruments daemon on ‘P_v_iphone_5s (7.1.2)’ (The service is invalid.)
info: [IOS_SYSLOG_ROW ] Jun 3 09:55:36 P-v-iphone-5s lockdownd[25] : 00484000 spawn_service_agent: Could not look up service in the map
info: [debug] [INST STDERR] Instruments Usage Error : Specified target process is invalid: com.company.sampleApp
instruments, version 6.3.2 (57082)
usage: instruments [-t template] [-D document] [-l timeLimit] [-i #] [-w device] [[-p pid] | [application [-e variable value] [argument …]]]
info: [IOS_SYSLOG_ROW ] Jun 3 09:55:36 P-v-iphone-5s lockdownd[25] : 00484000 spawn_and_handle_checkin: Could not spawn the com.apple.instruments.server service agent:InvalidService
info: [debug] [INSTSERVER] Instruments exited with code 255
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: Launching instruments
info: [debug] Attempting to run app on real device with UDID 1c71d40a38f94c9e6682f5409e6ea6c0ec081736
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 1c71d40a38f94c9e6682f5409e6ea6c0ec081736 com.company.sampleApp -e UIASCRIPT “/Users/al/Library/Application Support/appium/bootstrap/bootstrap-2911698fabce8e2c.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 ] Jun 3 09:55:41 P-v-iphone-5s lockdownd[25] : 0050c000 spawn_service_agent: Could not look up service in the map
info: [IOS_SYSLOG_ROW ] Jun 3 09:55:41 P-v-iphone-5s lockdownd[25] : 0050c000 spawn_and_handle_checkin: Could not spawn the com.apple.instruments.remoteserver service agent:InvalidService
info: [debug] [INST STDERR] 2015-06-03 09:55:39.443 instruments[1128:15994] Failed to start Instruments daemon on ‘P_v_iphone_5s (7.1.2)’ (The service is invalid.)
info: [IOS_SYSLOG_ROW ] Jun 3 09:55:41 P-v-iphone-5s lockdownd[25] : 0050c000 spawn_service_agent: Could not look up service in the map
info: [debug] [INST] Waiting for device to boot…
info: [IOS_SYSLOG_ROW ] Jun 3 09:55:41 P-v-iphone-5s lockdownd[25] : 0050c000 spawn_and_handle_checkin: Could not spawn the com.apple.instruments.server service agent:InvalidService
info: [IOS_SYSLOG_ROW ] Jun 3 09:55:41 P-v-iphone-5s lockdownd[25] : 00484000 set_response_error: handle_start_session SessionActive
info: [IOS_SYSLOG_ROW ] Jun 3 09:55:41 P-v-iphone-5s lockdownd[25] : 00484000 spawn_service_agent: Could not look up service in the map
info: [IOS_SYSLOG_ROW ] Jun 3 09:55:41 P-v-iphone-5s lockdownd[25] : 00484000 spawn_and_handle_checkin: Could not spawn the com.apple.instruments.remoteserver service agent:InvalidService
info: [debug] [INST STDERR] 2015-06-03 09:55:39.579 instruments[1128:15993] Failed to start Instruments daemon on ‘P_v_iphone_5s (7.1.2)’ (The service is invalid.)
info: [IOS_SYSLOG_ROW ] Jun 3 09:55:41 P-v-iphone-5s lockdownd[25] : 00484000 spawn_service_agent: Could not look up service in the map
info: [IOS_SYSLOG_ROW ] Jun 3 09:55:41 P-v-iphone-5s lockdownd[25] : 00484000 spawn_and_handle_checkin: Could not spawn the com.apple.instruments.server service agent:InvalidService
info: [IOS_SYSLOG_ROW ] Jun 3 09:56:01 P-v-iphone-5s lockdownd[25] : 00484000 _select_socket: receive secure message timeout!
info: [IOS_SYSLOG_ROW ] Jun 3 09:56:01 P-v-iphone-5s lockdownd[25] : 00484000 _receive_message: walk away - non-SSL 1
info: [IOS_SYSLOG_ROW ] Jun 3 09:56:05 P-v-iphone-5s wifid[40] : WiFi:[454998365.192664]: WoW is Enabled, 1 WoW Clients
info: [debug] [INST STDERR] Instruments Usage Error : Timed out waiting for device to boot: “P_v_iphone_5s (7.1.2)”
info: [debug] [INSTSERVER] Instruments exited with code 255
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: Launching instruments
info: [debug] Attempting to run app on real device with UDID 1c71d40a38f94c9e6682f5409e6ea6c0ec081736
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 1c71d40a38f94c9e6682f5409e6ea6c0ec081736 com.company.sampleApp -e UIASCRIPT “/Users/al/Library/Application Support/appium/bootstrap/bootstrap-2911698fabce8e2c.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] Instruments Usage Error : Unknown device specified: “1c71d40a38f94c9e6682f5409e6ea6c0ec081736”
info: [debug] [INST] Known Devices:
al Mac mini [E2A7F347-0266-53CD-B8F4-E1E2818B52D1]
iPhone 5 (8.3 Simulator) [663C5E4D-A268-410D-AF48-53CE8A065ADC]
info: [debug] [INSTSERVER] Instruments exited with code 255
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] Killall iOS Simulator
info: [debug] Killing any other simulator daemons
info: [debug] On a real device; cannot clean device state
info: [debug] Cleaning up appium session
error: Could not pre-launch appium: Error: Instruments crashed on startup
Launching Appium with command: ‘/Applications/Appium.app/Contents/Resources/node/bin/node’ lib/server/main.js --command-timeout “7200” --pre-launch --platform-version “7.1.2” --platform-name “iOS” --app “/Users/al/work/sampleApp.app” --udid “1c71d40a38f94c9e6682f5409e6ea6c0ec081736” --show-ios-log --device-name “iPhone 5s” --isolate-sim-device
info: [debug] Starting Appium in pre-launch mode
info: Pre-launching app
info: [debug] Using local app from command line: /Users/al/work/sampleApp.app
info: [debug] Creating new appium session 552af22f-221d-40fb-8888-ebfaea5e77cd
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] Getting sdk version from xcrun with a timeout
info: [debug] iOS SDK Version set to 8.3
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: On some xcode 6 platforms, instruments-without-delay does not work. If you experience this, you will need to re-run appium with the --native-instruments-lib flag
info: [debug] Preparing uiauto bootstrap
info: [debug] Dynamic bootstrap dir: /Users/al/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/al/Library/Application Support/appium/bootstrap/bootstrap-2911698fabce8e2c.js
info: [debug] Reusing dynamic bootstrap: /Users/al/Library/Application Support/appium/bootstrap/bootstrap-2911698fabce8e2c.js
info: [debug] Getting device string from opts: {“forceIphone”:false,“forceIpad”:false,“xcodeVersion”:“6.3.2”,“iOSSDKVersion”:“8.3”,“deviceName”:“iPhone 5s”,“platformVersion”:“7.1.2”}
info: [debug] fixDevice is on
info: [debug] Final device string is: ‘iPhone 5s (7.1.2 Simulator)’
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 iOS Simulator
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 1c71d40a38f94c9e6682f5409e6ea6c0ec081736
info: [debug] Checking app install status using: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap isInstalled --id 1c71d40a38f94c9e6682f5409e6ea6c0ec081736 --bundle com.company.sampleApp
info: [debug] App is not installed. Will try to install the app.
info: [debug] Installing app using cmd: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap install --id 1c71d40a38f94c9e6682f5409e6ea6c0ec081736 --bundle “/Users/al/work/sampleApp.app”
info: [IOS_SYSLOG_ROW ] Jun 3 13:12:50 lockdownd[25] : 0050c000 -[watchedServiceInfo logService:]: first service <watchedServiceInfo: 0x13d515480> [client=deviceconsole (F0FE931A-0099-4F10-932A-FAE4065DF358 fe80::6e40:8ff:fea6:b9a:38095)] [fd=12] [pid=219 (syslog_relay fd=5)] [hb=169280183581]
info: [IOS_SYSLOG_ROW ] Jun 3 13:12:50 lockdownd[25] : 0050c000 -[watchedServiceInfo logService:]: Watching <watchedServiceInfo: 0x13d515480> [client=deviceconsole (F0FE931A-0099-4F10-932A-FAE4065DF358 fe80::6e40:8ff:fea6:b9a:38095)] [fd=12] [pid=219 (syslog_relay fd=5)] [hb=169280183581]
info: [IOS_SYSLOG_ROW ] Jun 3 13:12:50 lockdownd[25] : 01cdc000 -[hostWatcher runWatcher]: starting loop for <hostWatcher: 0x13d618e50> [F0FE931A-0099-4F10-932A-FAE4065DF358 fe80::6e40:8ff:fea6:b9a:35791] [fd=15]
info: [IOS_SYSLOG_ROW ] Jun 3 13:12:51 P-v-iphone-5s lockdownd[25] : 00484000 -[watchedServiceInfo logService:]: Freeing heartbeat <watchedServiceInfo: 0x13d515480> [client=deviceconsole (F0FE931A-0099-4F10-932A-FAE4065DF358 fe80::6e40:8ff:fea6:b9a:38095)] [fd=12] [pid=219 (syslog_relay fd=5)] [hb=169280183581]
info: [IOS_SYSLOG_ROW ] Jun 3 13:12:51 P-v-iphone-5s lockdownd[25] : 00484000 -[watchedServiceInfo logService:]: last service <watchedServiceInfo: 0x13d515480> [client=deviceconsole (F0FE931A-0099-4F10-932A-FAE4065DF358 fe80::6e40:8ff:fea6:b9a:38095)] [fd=12] [pid=219 (syslog_relay fd=5)] [hb=169280183581]
info: [IOS_SYSLOG_ROW ] Jun 3 13:12:51 P-v-iphone-5s syslog_relay[219] : 00594000 lockconn_disable_ssl: Could not shutdown SSL connection: -9806
info: [IOS_SYSLOG_ROW ] Jun 3 13:12:51 P-v-iphone-5s lockdownd[25] : 01cdc000 -[hostWatcher runWatcher]: ended loop for <hostWatcher: 0x13d618e50> [F0FE931A-0099-4F10-932A-FAE4065DF358 fe80::6e40:8ff:fea6:b9a:35791] [fd=15]
info: [IOS_SYSLOG_ROW ] Jun 3 13:12:51 P-v-iphone-5s lockdownd[25] : 00484000 -[watchedServiceInfo logService:]: dealloc <watchedServiceInfo: 0x13d515480> [client=deviceconsole (F0FE931A-0099-4F10-932A-FAE4065DF358 fe80::6e40:8ff:fea6:b9a:38095)] [fd=12] [pid=219 (syslog_relay fd=5)] [hb=169280183581]
info: [IOS_SYSLOG_ROW ] Jun 3 13:12:51 P-v-iphone-5s lockdownd[25] : 01cdc000 -[watchedServiceInfo logService:]: first service <watchedServiceInfo: 0x13d61be80> [client=fruitstrap (F0FE931A-0099-4F10-932A-FAE4065DF358 fe80::6e40:8ff:fea6:b9a:38863)] [fd=12] [pid=213 (mobile_installation_proxy fd=5)] [hb=169308432911]
info: [IOS_SYSLOG_ROW ] Jun 3 13:12:51 P-v-iphone-5s lockdownd[25] : 01cdc000 -[watchedServiceInfo logService:]: Watching <watchedServiceInfo: 0x13d61be80> [client=fruitstrap (F0FE931A-0099-4F10-932A-FAE4065DF358 fe80::6e40:8ff:fea6:b9a:38863)] [fd=12] [pid=213 (mobile_installation_proxy fd=5)] [hb=169308432911]
info: [IOS_SYSLOG_ROW ] Jun 3 13:12:51 P-v-iphone-5s lockdownd[25] : 01d64000 -[hostWatcher runWatcher]: starting loop for <hostWatcher: 0x13d618e50> [F0FE931A-0099-4F10-932A-FAE4065DF358 fe80::6e40:8ff:fea6:b9a:35791] [fd=15]
info: [IOS_SYSLOG_ROW ] Jun 3 13:12:52 P-v-iphone-5s lockdownd[25] : 01cdc000 -[watchedServiceInfo logService:]: Freeing heartbeat <watchedServiceInfo: 0x13d61be80> [client=fruitstrap (F0FE931A-0099-4F10-932A-FAE4065DF358 fe80::6e40:8ff:fea6:b9a:38863)] [fd=12] [pid=213 (mobile_installation_proxy fd=5)] [hb=169308432911]
info: [IOS_SYSLOG_ROW ] Jun 3 13:12:52 P-v-iphone-5s lockdownd[25] : 01cdc000 -[watchedServiceInfo logService:]: last service <watchedServiceInfo: 0x13d61be80> [client=fruitstrap (F0FE931A-0099-4F10-932A-FAE4065DF358 fe80::6e40:8ff:fea6:b9a:38863)] [fd=12] [pid=213 (mobile_installation_proxy fd=5)] [hb=169308432911]
info: [IOS_SYSLOG_ROW ] Jun 3 13:12:52 P-v-iphone-5s lockdownd[25] : 01d64000 -[hostWatcher runWatcher]: ended loop for <hostWatcher: 0x13d618e50> [F0FE931A-0099-4F10-932A-FAE4065DF358 fe80::6e40:8ff:fea6:b9a:35791] [fd=15]
info: [IOS_SYSLOG_ROW ] Jun 3 13:12:52 P-v-iphone-5s lockdownd[25] : 01cdc000 -[watchedServiceInfo logService:]: dealloc <watchedServiceInfo: 0x13d61be80> [client=fruitstrap (F0FE931A-0099-4F10-932A-FAE4065DF358 fe80::6e40:8ff:fea6:b9a:38863)] [fd=12] [pid=213 (mobile_installation_proxy fd=5)] [hb=169308432911]
info: [IOS_SYSLOG_ROW ] Jun 3 13:12:52 P-v-iphone-5s lockdownd[25] : 01c54000 -[watchedServiceInfo logService:]: first service <watchedServiceInfo: 0x13d514100> [client=fruitstrap (F0FE931A-0099-4F10-932A-FAE4065DF358 fe80::6e40:8ff:fea6:b9a:39375)] [fd=12] [pid=208 (afcd fd=10)] [hb=169324408922]
info: [IOS_SYSLOG_ROW ] Jun 3 13:12:52 P-v-iphone-5s lockdownd[25] : 01c54000 -[watchedServiceInfo logService:]: Watching <watchedServiceInfo: 0x13d514100> [client=fruitstrap (F0FE931A-0099-4F10-932A-FAE4065DF358 fe80::6e40:8ff:fea6:b9a:39375)] [fd=12] [pid=208 (afcd fd=10)] [hb=169324408922]
info: [IOS_SYSLOG_ROW ] Jun 3 13:12:52 P-v-iphone-5s lockdownd[25] : 01d64000 -[hostWatcher runWatcher]: starting loop for <hostWatcher: 0x13d618e50> [F0FE931A-0099-4F10-932A-FAE4065DF358 fe80::6e40:8ff:fea6:b9a:35791] [fd=15]
info: [IOS_SYSLOG_ROW ] Jun 3 13:12:52 P-v-iphone-5s lockdownd[25] : 01c54000 -[watchedServiceInfo logService:]: Freeing heartbeat <watchedServiceInfo: 0x13d514100> [client=fruitstrap (F0FE931A-0099-4F10-932A-FAE4065DF358 fe80::6e40:8ff:fea6:b9a:39375)] [fd=12] [pid=208 (afcd fd=10)] [hb=169324408922]
info: [IOS_SYSLOG_ROW ] Jun 3 13:12:52 P-v-iphone-5s lockdownd[25] : 01c54000 -[watchedServiceInfo logService:]: last service <watchedServiceInfo: 0x13d514100> [client=fruitstrap (F0FE931A-0099-4F10-932A-FAE4065DF358 fe80::6e40:8ff:fea6:b9a:39375)] [fd=12] [pid=208 (afcd fd=10)] [hb=169324408922]
info: [IOS_SYSLOG_ROW ] Jun 3 13:12:52 P-v-iphone-5s lockdownd[25] : 01d64000 -[hostWatcher runWatcher]: ended loop for <hostWatcher: 0x13d618e50> [F0FE931A-0099-4F10-932A-FAE4065DF358 fe80::6e40:8ff:fea6:b9a:35791] [fd=15]
info: [IOS_SYSLOG_ROW ] Jun 3 13:12:52 P-v-iphone-5s lockdownd[25] : 01c54000 -[watchedServiceInfo logService:]: dealloc <watchedServiceInfo: 0x13d514100> [client=fruitstrap (F0FE931A-0099-4F10-932A-FAE4065DF358 fe80::6e40:8ff:fea6:b9a:39375)] [fd=12] [pid=208 (afcd fd=10)] [hb=169324408922]
info: [IOS_SYSLOG_ROW ] Jun 3 13:12:53 P-v-iphone-5s lockdownd[25] : 01cdc000 -[watchedServiceInfo logService:]: first service <watchedServiceInfo: 0x13d61bf30> [client=fruitstrap (F0FE931A-0099-4F10-932A-FAE4065DF358 fe80::6e40:8ff:fea6:b9a:39887)] [fd=12] [pid=213 (mobile_installation_proxy fd=5)] [hb=169338155258]
info: [IOS_SYSLOG_ROW ] Jun 3 13:12:53 P-v-iphone-5s lockdownd[25] : 01cdc000 -[watchedServiceInfo logService:]: Watching <watchedServiceInfo: 0x13d61bf30> [client=fruitstrap (F0FE931A-0099-4F10-932A-FAE4065DF358 fe80::6e40:8ff:fea6:b9a:39887)] [fd=12] [pid=213 (mobile_installation_proxy fd=5)] [hb=169338155258]
info: [IOS_SYSLOG_ROW ] Jun 3 13:12:53 P-v-iphone-5s lockdownd[25] : 01d64000 -[hostWatcher runWatcher]: starting loop for <hostWatcher: 0x13d618e50> [F0FE931A-0099-4F10-932A-FAE4065DF358 fe80::6e40:8ff:fea6:b9a:35791] [fd=15]
info: [IOS_SYSLOG_ROW ] Jun 3 13:12:53 P-v-iphone-5s lockdownd[25] : 01cdc000 -[watchedServiceInfo logService:]: Freeing heartbeat <watchedServiceInfo: 0x13d61bf30> [client=fruitstrap (F0FE931A-0099-4F10-932A-FAE4065DF358 fe80::6e40:8ff:fea6:b9a:39887)] [fd=12] [pid=213 (mobile_installation_proxy fd=5)] [hb=169338155258]
info: [IOS_SYSLOG_ROW ] Jun 3 13:12:53 P-v-iphone-5s lockdownd[25] : 01cdc000 -[watchedServiceInfo logService:]: last service <watchedServiceInfo: 0x13d61bf30> [client=fruitstrap (F0FE931A-0099-4F10-932A-FAE4065DF358 fe80::6e40:8ff:fea6:b9a:39887)] [fd=12] [pid=213 (mobile_installation_proxy fd=5)] [hb=169338155258]
info: [IOS_SYSLOG_ROW ] Jun 3 13:12:53 P-v-iphone-5s lockdownd[25] : 01d64000 -[hostWatcher runWatcher]: ended loop for <hostWatcher: 0x13d618e50> [F0FE931A-0099-4F10-932A-FAE4065DF358 fe80::6e40:8ff:fea6:b9a:35791] [fd=15]
info: [IOS_SYSLOG_ROW ] Jun 3 13:12:53 P-v-iphone-5s lockdownd[25] : 01c54000 -[watchedServiceInfo logService:]: dealloc <watchedServiceInfo: 0x13d61bf30> [client=fruitstrap (F0FE931A-0099-4F10-932A-FAE4065DF358 fe80::6e40:8ff:fea6:b9a:39887)] [fd=12] [pid=213 (mobile_installation_proxy fd=5)] [hb=169338155258]
info: [IOS_SYSLOG_ROW ] Jun 3 13:12:53 P-v-iphone-5s lockdownd[25] : 01cdc000 -[watchedServiceInfo logService:]: first service <watchedServiceInfo: 0x13d517980> [client=fruitstrap (F0FE931A-0099-4F10-932A-FAE4065DF358 fe80::6e40:8ff:fea6:b9a:40143)] [fd=12] [pid=208 (afcd fd=10)] [hb=169344051941]
info: [IOS_SYSLOG_ROW ] Jun 3 13:12:53 P-v-iphone-5s lockdownd[25] : 01cdc000 -[watchedServiceInfo logService:]: Watching <watchedServiceInfo: 0x13d517980> [client=fruitstrap (F0FE931A-0099-4F10-932A-FAE4065DF358 fe80::6e40:8ff:fea6:b9a:40143)] [fd=12] [pid=208 (afcd fd=10)] [hb=169344051941]
info: [IOS_SYSLOG_ROW ] Jun 3 13:12:53 P-v-iphone-5s lockdownd[25] : 01dec000 -[hostWatcher runWatcher]: starting loop for <hostWatcher: 0x13d618e50> [F0FE931A-0099-4F10-932A-FAE4065DF358 fe80::6e40:8ff:fea6:b9a:35791] [fd=15]
info: [IOS_SYSLOG_ROW ] Jun 3 13:12:53 P-v-iphone-5s lockdownd[25] : 01d64000 -[watchedServiceInfo logService:]: Freeing heartbeat <watchedServiceInfo: 0x13d517980> [client=fruitstrap (F0FE931A-0099-4F10-932A-FAE4065DF358 fe80::6e40:8ff:fea6:b9a:40143)] [fd=12] [pid=208 (afcd fd=10)] [hb=169344051941]
info: [IOS_SYSLOG_ROW ] Jun 3 13:12:53 P-v-iphone-5s lockdownd[25] : 01d64000 -[watchedServiceInfo logService:]: last service <watchedServiceInfo: 0x13d517980> [client=fruitstrap (F0FE931A-0099-4F10-932A-FAE4065DF358 fe80::6e40:8ff:fea6:b9a:40143)] [fd=12] [pid=208 (afcd fd=10)] [hb=169344051941]
info: [IOS_SYSLOG_ROW ] Jun 3 13:12:53 P-v-iphone-5s lockdownd[25] : 01dec000 -[hostWatcher runWatcher]: ended loop for <hostWatcher: 0x13d618e50> [F0FE931A-0099-4F10-932A-FAE4065DF358 fe80::6e40:8ff:fea6:b9a:35791] [fd=15]
info: [IOS_SYSLOG_ROW ] Jun 3 13:12:53 P-v-iphone-5s lockdownd[25] : 01d64000 -[watchedServiceInfo logService:]: dealloc <watchedServiceInfo: 0x13d517980> [client=fruitstrap (F0FE931A-0099-4F10-932A-FAE4065DF358 fe80::6e40:8ff:fea6:b9a:40143)] [fd=12] [pid=208 (afcd fd=10)] [hb=169344051941]
info: [debug] Cleaning up appium session
error: Could not pre-launch appium: Error: Unable to install [/Users/al/work/sampleApp.app] to device with id [1c71d40a38f94c9e6682f5409e6ea6c0ec081736]. Error [Error: Command failed: /bin/sh -c /Applications/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap install --id 1c71d40a38f94c9e6682f5409e6ea6c0ec081736 --bundle "/Users/al/work/sampleApp.app"
Assertion failed: (AMDeviceStartService(device, CFSTR(“com.apple.afc”), &afcFd, NULL) == 0), function handle_device, file fruitstrap.c, line 523.
]