Skip to content

Instantly share code, notes, and snippets.

@shawninder
Created April 7, 2016 07:55
Show Gist options
  • Save shawninder/f91702cf0f36b4b7e2078cc5c8082118 to your computer and use it in GitHub Desktop.
Save shawninder/f91702cf0f36b4b7e2078cc5c8082118 to your computer and use it in GitHub Desktop.
$ appium
[Appium] Welcome to Appium v1.5.1 (REV e1c84bae37afae282f39b91025435c3717e6d0ab)
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"browserName":"","appium-version":"1.3","platformName":"iOS","platformVersion":"9.1","deviceName":"iPhone 5","app":"/Users/shawn/Desktop/vigour-native.app"}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"browserName":"","appium-version":"1.3","platformName":"iOS","platformVersion":"9.1","deviceName":"iPhone 5","app":"/Users/shawn/Desktop/vigour-n...
[Appium] Creating new IosDriver session
[Appium] Capabilities:
[Appium] browserName: ''
[Appium] appium-version: '1.3'
[Appium] platformName: 'iOS'
[Appium] platformVersion: '9.1'
[Appium] deviceName: 'iPhone 5'
[Appium] app: '/Users/shawn/Desktop/vigour-native.app'
[BaseDriver] The following capabilities were provided, but are not recognized by appium: appium-version.
[BaseDriver] Session created with session id: f2a1ad2a-56d8-4a39-af2b-eedbb419029c
[debug] [iOS] Not auto-detecting udid.
[BaseDriver] Using local app '/Users/shawn/Desktop/vigour-native.app'
[debug] [iOS] Removing any remaining instruments sockets
[debug] [iOS] Cleaned up instruments socket /var/folders/9c/2f080_dn6fd8tn1w4h6sfj640000gq/T/instruments_sock
[debug] [iOS] Setting Xcode version
[debug] [iOS] Xcode version set to 7.1.1
[debug] [iOS] Setting iOS SDK Version
[debug] [iOS] iOS SDK Version set to 9.1
[debug] [iOS] Checking whether instruments supports our device string
[debug] [Instruments] Getting list of devices instruments supports
[debug] [Instruments] Instruments is at: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments
[debug] [Instruments] Available devices: Apple TV 1080p (9.0) [7B8CD6C7-9BC0-46CB-A30F-0C99B08A13B3],Apple Watch - 38mm (2.0) [D0107DF4-9099-482A-983B-90CDEC51F08A],Apple Watch - 42mm (2.0) [CA9F8F38-7AC2-4460-9D56-807A3E7B8ADA],iPad 2 (9.1) [8A226B70-5E16-46D3-974C-D5E5212A27D6],iPad Air (9.1) [7B3B3ED2-23DA-4C67-9BEF-078CC3A1C00B],iPad Air 2 (9.1) [EEBC5429-CEC2-44C0-B9D6-05F414FDC941],iPad Pro (9.1) [C91EE8EF-3CC3-45F6-AE4F-F26499180684],iPad Retina (9.1) [A96BC828-CA9A-46F8-9140-78B44DFF4866],iPhone 4s (9.1) [BFDEDC87-DCCF-48E6-96BC-EE33C48EB6F6],iPhone 5 (9.1) [E215176F-2400-48A6-8B7D-9A45AAE04B8F],iPhone 5s (9.1) [9BB00154-4824-4BB5-AB03-F7B5297234C9],iPhone 6 (9.1) [A1A86AD0-7063-46B7-B9FB-BC29121C6AD3],iPhone 6 Plus (9.1) [137657B1-40A3-4C7D-A5C2-D945A6CC6A50],iPhone 6s (9.1) [336E956E-1344-4B56-A52F-AA235B08FE86],iPhone 6s (9.1) + Apple Watch - 38mm (2.0) [1CFFAD03-F631-4DB1-90CA-C1225E287862],iPhone 6s Plus (9.1) [D99A78BE-8100-42FD-93FD-4F7DA1581A7F],iPhone 6s Plus (9.1) + Apple Watch - 42mm (2.0) [0962D8F6-182C-4B6D-A85F-9AE8A9425AF8]
[iOSSim] Retrieving device name string for Xcode version 7.1.1
[debug] [iOSSim] Getting device string from options: {"deviceName":"iPhone 5","platformVersion":"9.1","forceIphone":false,"forceIpad":false}
[debug] [iOSSim] Final device string is 'iPhone 5 (9.1)'
[debug] [iOS] iOS sim UDID is E215176F-2400-48A6-8B7D-9A45AAE04B8F
[iOSSim] Constructing iOS simulator for Xcode version 7.1.1
[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-app-utils] Getting bundle ID from app
[iOS] Extracted bundleID: io.vigour.tester from app: /Users/shawn/Desktop/vigour-native.app
[debug] [iOS] Creating instruments
[debug] [UIAuto] Preparing bootstrap code
[debug] [UIAuto] Dynamic bootstrap dir: /Users/shawn/Library/Application Support/appium/bootstrap
[debug] [UIAuto] Dynamic env: {"nodePath":"/Users/shawn/.nvm/versions/node/v4.2.2/bin/node","commandProxyClientPath":"/Users/shawn/.nvm/versions/node/v4.2.2/lib/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js","instrumentsSock":"/var/folders/9c/2f080_dn6fd8tn1w4h6sfj640000gq/T/instruments_sock","interKeyDelay":null,"justLoopInfinitely":false,"autoAcceptAlerts":false,"autoDismissAlerts":false,"sendKeyStrategy":"oneByOne"}
[debug] [UIAuto] Dynamic bootstrap code: // This file is automatically generated. Do not m...ally modify!
[debug] [UIAuto] Dynamic bootstrap path: /Users/shawn/Library/Application Support/appium/bootstrap/bootstrap-00cf7ffad3f6e80b.js
[debug] [UIAuto] Reusing dynamic bootstrap: /Users/shawn/Library/Application Support/appium/bootstrap/bootstrap-00cf7ffad3f6e80b.js
[debug] [iOS] User specified default device, letting instruments launch it
[debug] [iOS] Running ios sim reset flow
[debug] [iOS] Killing the simulator
[debug] [iOSSim] Killing all iOS Simulators
[debug] [iOS] Cleaning sim state.
[debug] [iOSSim] Cleaning app data files for 'vigour-native.app', 'io.vigour.tester'
[iOSSim] Attempted to get an app path from a fresh simulator quickly launching the sim to populate its directories
[debug] [iOSSim] Attempting to launch and quit the simulator, to create directory structure
[debug] [iOSSim] Will launch with Safari? false
[iOSSim] Starting simulator with command: open /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app --args -CurrentDeviceUDID E215176F-2400-48A6-8B7D-9A45AAE04B8F
[iOSSim] Tailing simulator logs until we encounter the string "System app "com.apple.springboard" finished startup"
[iOSSim] We will time out after 60000ms
[debug] [iOSSim] Waiting and extra 2000ms for the simulator to really finish booting
[debug] [iOSSim] Done waiting extra time for simulator
[iOSSim] Simulator booted in 22796ms
[debug] [iOSSim] Killing all iOS Simulators
[debug] [iOSSim] Building bundle path map
[debug] [iOSSim] Building bundle path map
[debug] [iOSSim] Could not find app directories to delete. It is probably not installed
[debug] [iOSSim] Killing any simulator daemons for E215176F-2400-48A6-8B7D-9A45AAE04B8F
[iOSSim] Cleaning simulator E215176F-2400-48A6-8B7D-9A45AAE04B8F
[debug] [iOS] Not setting locale
[debug] [iOS] No iOS / app preferences to set
[debug] [iOSLog] Starting iOS 9.1 simulator log capture
[debug] [iOSLog] System log path: /Users/shawn/Library/Logs/CoreSimulator/E215176F-2400-48A6-8B7D-9A45AAE04B8F/system.log
[debug] [iOS] Not pre-launching simulator
[debug] [iOS] Starting UIAutoClient, and launching Instruments.
[debug] [UIAuto] Instruments socket server started at /var/folders/9c/2f080_dn6fd8tn1w4h6sfj640000gq/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 iPhone 5 (9.1)
[Instruments] On xcode 7.0+, instruments-without-delay does not work, skipping instruments-without-delay
[debug] [Instruments] Found Insruments-Without-Delay: /Users/shawn/.nvm/versions/node/v4.2.2/lib/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/9c/2f080_dn6fd8tn1w4h6sfj640000gq/T/appium-instruments/instrumentscli0.trace -w "iPhone 5 (9.1)" /Users/shawn/Desktop/vigour-native.app -e UIASCRIPT "/Users/shawn/Library/Application Support/appium/bootstrap/bootstrap-00cf7ffad3f6e80b.js" -e UIARESULTSPATH /var/folders/9c/2f080_dn6fd8tn1w4h6sfj640000gq/T/appium-instruments'
[debug] [Instruments] And launch timeouts (in ms): {"global":90000}
[debug] [Instruments] [INST] Waiting for device to boot...
[debug] [Instruments] [INST STDERR] 2016-04-07 09:48:57.658 instruments[94345:267296] Attempting to change event horizon while disengage
[debug] [Instruments] [INST STDERR] Instruments Trace Error : Target failed to run: The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 1.) : Failed to launch process with bundle identifier 'io.vigour.tester'
2016-04-07 09:48:57.659 instruments[94345:268545] Attempting to change event horizon while disengage
[debug] [Instruments] Instruments exited with code 253
[Instruments] Error launching instruments: Instruments crashed on startup
[debug] [iOSSim] Killing all iOS Simulators
[debug] [Instruments] Attempting to launch instruments, this is try #2
[Instruments] Launching instruments
[debug] [Instruments] Attempting to run app on iPhone 5 (9.1)
[Instruments] On xcode 7.0+, instruments-without-delay does not work, skipping instruments-without-delay
[debug] [Instruments] Found Insruments-Without-Delay: /Users/shawn/.nvm/versions/node/v4.2.2/lib/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/9c/2f080_dn6fd8tn1w4h6sfj640000gq/T/appium-instruments/instrumentscli0.trace -w "iPhone 5 (9.1)" /Users/shawn/Desktop/vigour-native.app -e UIASCRIPT "/Users/shawn/Library/Application Support/appium/bootstrap/bootstrap-00cf7ffad3f6e80b.js" -e UIARESULTSPATH /var/folders/9c/2f080_dn6fd8tn1w4h6sfj640000gq/T/appium-instruments'
[debug] [Instruments] And launch timeouts (in ms): {"global":90000}
[debug] [Instruments] [INST] Waiting for device to boot...
[debug] [Instruments] [INST STDERR] 2016-04-07 09:49:23.603 instruments[94703:269271] Attempting to change event horizon while disengage
[debug] [Instruments] [INST STDERR] 2016-04-07 09:49:23.603 instruments[94703:269270] Attempting to change event horizon while disengage
[debug] [Instruments] [INST STDERR] Instruments Trace Error : Target failed to run: The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 1.) : Failed to launch process with bundle identifier 'io.vigour.tester'
[debug] [Instruments] Instruments exited with code 253
[Instruments] Error launching instruments: Instruments crashed on startup
[debug] [iOSSim] Killing all iOS Simulators
[debug] [Instruments] Attempting to launch instruments, this is try #3
[Instruments] Launching instruments
[debug] [Instruments] Attempting to run app on iPhone 5 (9.1)
[Instruments] On xcode 7.0+, instruments-without-delay does not work, skipping instruments-without-delay
[debug] [Instruments] Found Insruments-Without-Delay: /Users/shawn/.nvm/versions/node/v4.2.2/lib/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/9c/2f080_dn6fd8tn1w4h6sfj640000gq/T/appium-instruments/instrumentscli0.trace -w "iPhone 5 (9.1)" /Users/shawn/Desktop/vigour-native.app -e UIASCRIPT "/Users/shawn/Library/Application Support/appium/bootstrap/bootstrap-00cf7ffad3f6e80b.js" -e UIARESULTSPATH /var/folders/9c/2f080_dn6fd8tn1w4h6sfj640000gq/T/appium-instruments'
[debug] [Instruments] And launch timeouts (in ms): {"global":90000}
[debug] [Instruments] [INST] Waiting for device to boot...
[debug] [Instruments] [INST STDERR] 2016-04-07 09:49:46.037 instruments[94933:271022] Attempting to change event horizon while disengage
[debug] [Instruments] [INST STDERR] Instruments Trace Error : Target failed to run: The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 1.) : Failed to launch process with bundle identifier 'io.vigour.tester'
[debug] [Instruments] [INST STDERR] 2016-04-07 09:49:46.038 instruments[94933:271072] Attempting to change event horizon while disengage
[debug] [Instruments] Instruments exited with code 253
[Instruments] Error launching instruments: Instruments crashed on startup
[debug] [iOSSim] Killing all iOS Simulators
[debug] [Instruments] Attempting to launch instruments, this is try #4
[Instruments] Launching instruments
[debug] [Instruments] Attempting to run app on iPhone 5 (9.1)
[Instruments] On xcode 7.0+, instruments-without-delay does not work, skipping instruments-without-delay
[debug] [Instruments] Found Insruments-Without-Delay: /Users/shawn/.nvm/versions/node/v4.2.2/lib/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/9c/2f080_dn6fd8tn1w4h6sfj640000gq/T/appium-instruments/instrumentscli0.trace -w "iPhone 5 (9.1)" /Users/shawn/Desktop/vigour-native.app -e UIASCRIPT "/Users/shawn/Library/Application Support/appium/bootstrap/bootstrap-00cf7ffad3f6e80b.js" -e UIARESULTSPATH /var/folders/9c/2f080_dn6fd8tn1w4h6sfj640000gq/T/appium-instruments'
[debug] [Instruments] And launch timeouts (in ms): {"global":90000}
[debug] [Instruments] [INST] Waiting for device to boot...
[debug] [Instruments] [INST STDERR] 2016-04-07 09:50:06.605 instruments[95152:272654] Attempting to change event horizon while disengage
[debug] [Instruments] [INST STDERR] 2016-04-07 09:50:06.606 instruments[95152:272704] Attempting to change event horizon while disengage
[debug] [Instruments] [INST STDERR] Instruments Trace Error : Target failed to run: The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 1.) : Failed to launch process with bundle identifier 'io.vigour.tester'
[debug] [Instruments] Instruments exited with code 253
[Instruments] Error launching instruments: Instruments crashed on startup
[debug] [iOSSim] Killing all iOS Simulators
[debug] [Instruments] Attempting to launch instruments, this is try #5
[Instruments] Launching instruments
[debug] [Instruments] Attempting to run app on iPhone 5 (9.1)
[Instruments] On xcode 7.0+, instruments-without-delay does not work, skipping instruments-without-delay
[debug] [Instruments] Found Insruments-Without-Delay: /Users/shawn/.nvm/versions/node/v4.2.2/lib/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/9c/2f080_dn6fd8tn1w4h6sfj640000gq/T/appium-instruments/instrumentscli0.trace -w "iPhone 5 (9.1)" /Users/shawn/Desktop/vigour-native.app -e UIASCRIPT "/Users/shawn/Library/Application Support/appium/bootstrap/bootstrap-00cf7ffad3f6e80b.js" -e UIARESULTSPATH /var/folders/9c/2f080_dn6fd8tn1w4h6sfj640000gq/T/appium-instruments'
[debug] [Instruments] And launch timeouts (in ms): {"global":90000}
[debug] [Instruments] [INST] Waiting for device to boot...
[debug] [Instruments] [INST STDERR] 2016-04-07 09:50:28.755 instruments[95368:274343] Attempting to change event horizon while disengage
[debug] [Instruments] [INST STDERR] Instruments Trace Error : Target failed to run: The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 1.) : Failed to launch process with bundle identifier 'io.vigour.tester'
2016-04-07 09:50:28.756 instruments[95368:274345] Attempting to change event horizon while disengage
[debug] [Instruments] Instruments exited with code 253
[Instruments] Error launching instruments: Instruments crashed on startup
[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:216:15)
at tryCatch (/Users/shawn/.nvm/versions/node/v4.2.2/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/shawn/.nvm/versions/node/v4.2.2/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/Users/shawn/.nvm/versions/node/v4.2.2/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/Users/shawn/.nvm/versions/node/v4.2.2/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at run (/Users/shawn/.nvm/versions/node/v4.2.2/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:104:47)
at /Users/shawn/.nvm/versions/node/v4.2.2/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:115:28
at flush (/Users/shawn/.nvm/versions/node/v4.2.2/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.microtask.js:19:5)
at doNTCallback0 (node.js:419:9)
at process._tickCallback (node.js:348:13)
[Error: We exceeded the number of retries allowed for instruments to successfully start; failing launch]
[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:216:15)
at tryCatch (/Users/shawn/.nvm/versions/node/v4.2.2/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/shawn/.nvm/versions/node/v4.2.2/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/Users/shawn/.nvm/versions/node/v4.2.2/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/Users/shawn/.nvm/versions/node/v4.2.2/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at run (/Users/shawn/.nvm/versions/node/v4.2.2/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:104:47)
at /Users/shawn/.nvm/versions/node/v4.2.2/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:115:28
at flush (/Users/shawn/.nvm/versions/node/v4.2.2/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.microtask.js:19:5)
at doNTCallback0 (node.js:419:9)
at process._tickCallback (node.js:348:13)
[HTTP] <-- POST /wd/hub/session 500 149700 ms - 232
[HTTP] --> DELETE /wd/hub/session {}
[debug] [HTTP] No route found. Setting content type to 'text/plain'
[HTTP] <-- DELETE /wd/hub/session 404 4 ms - 57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment