Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wkoszek/410807e3907a01a4a2df3de0c2077e02 to your computer and use it in GitHub Desktop.
Save wkoszek/410807e3907a01a4a2df3de0c2077e02 to your computer and use it in GitHub Desktop.
Script started on Mon Apr 11 12:38:01 2016
work
[12:38:02][wkoszek@wkoszek_mba:~/r/autotest]$ appium
[Appium] Welcome to Appium v1.5.1 (REV d5085edce0b5482771c66cfe3e2c013ee3ca90f6)
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"deviceName":"iPhone 6","appName":"kitchensink","app":"/Users/wkoszek/r/autotest/ios/kitchensink/build/KitchenSink.app","noReset":true,"autoLaunch":false,"newCommandTimeout":0,"platformVersion":"9.3","fullReset":false,"platformName":"iOS"}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"deviceName":"iPhone 6","appName":"kitchensink","app":"/Users/wkoszek/r/autotest/ios/kitchensink/build/KitchenSink.app","noReset":true,"autoLaunc...
[Appium] Creating new IosDriver session
[Appium] Capabilities:
[Appium] deviceName: 'iPhone 6'
[Appium] appName: 'kitchensink'
[Appium] app: '/Users/wkoszek/r/autotest/ios/kitchensink/build/KitchenSink.app'
[Appium] noReset: true
[Appium] autoLaunch: false
[Appium] newCommandTimeout: 0
[Appium] platformVersion: '9.3'
[Appium] fullReset: false
[Appium] platformName: 'iOS'
[BaseDriver] Session created with session id: 1673c332-3401-4a49-8a0c-7b39ad333aa6
[debug] [iOS] Not auto-detecting udid.
[BaseDriver] Using local app '/Users/wkoszek/r/autotest/ios/kitchensink/build/KitchenSink.app'
[debug] [iOS] Removing any remaining instruments sockets
[debug] [iOS] Cleaned up instruments socket /var/folders/l9/94xvjj6n3jgcnbdf57q_drv00000gn/T/instruments_sock
[debug] [iOS] Setting Xcode version
[debug] [iOS] Xcode version set to 7.3
[debug] [iOS] Setting iOS SDK Version
[debug] [iOS] iOS SDK Version set to 9.3
[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.2) [C6B7B808-66DA-4014-B52C-4BD8D0F06AFB] (Simulator),iPad 2 (9.3) [35A64461-BBBB-4D21-BBE6-8BFE86FE79DB] (Simulator),iPad Air (9.3) [81850AEA-BE5C-4056-AE9C-B590DF07EFBC] (Simulator),iPad Air 2 (9.3) [DF9F14CE-60C3-4E34-9A11-2230E24E62A9] (Simulator),iPad Pro (9.3) [7C55F84B-3595-4D22-B347-4F7EC8ECFB03] (Simulator),iPad Retina (9.3) [F7A423AD-05B0-4D5F-9A92-37AED31C9DF3] (Simulator),iPhone 4s (9.3) [B59D280F-F9A2-4BF0-8A9D-AD26BE2C8F3A] (Simulator),iPhone 5 (9.3) [6AF11C0B-83D8-4883-A3E7-628BE0565329] (Simulator),iPhone 5s (9.3) [796D542E-F1A8-45C1-8444-0BF07ADA3840] (Simulator),iPhone 6 (9.3) [CFBD74FC-7001-4B8B-9EC2-337F0A6831A3] (Simulator),iPhone 6 Plus (9.3) [E9ADBBA4-781B-457F-A2F3-46AB29E32FA4] (Simulator),iPhone 6s (9.3) [F7204292-1283-471A-A494-A9B3B0BAE162] (Simulator),iPhone 6s (9.3) + Apple Watch - 38mm (2.2) [A8E59181-3A61-4439-9B62-A49FBF42895E] (Simulator),iPhone 6s Plus (9.3) [C990EF94-1F4D-4FDF-95AD-4B384A74E978] (Simulator),iPhone 6s Plus (9.3) + Apple Watch - 42mm (2.2) [1D7454DE-35B8-4ADA-8605-C6602B58E133] (Simulator)
[iOSSim] Retrieving device name string for Xcode version 7.3
[debug] [iOSSim] Getting device string from options: {"deviceName":"iPhone 6","platformVersion":"9.3","forceIphone":false,"forceIpad":false}
[debug] [iOSSim] Fixing device. Changed from 'iPhone 6' to 'iPhone 6 (9.3) ['
[debug] [iOSSim] Final device string is 'iPhone 6 (9.3) ['
[debug] [iOS] iOS sim UDID is CFBD74FC-7001-4B8B-9EC2-337F0A6831A3
[iOSSim] Constructing iOS simulator for Xcode version 7.3
[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: com.twinprime.kitchenink.KitchenSink from app: /Users/wkoszek/r/autotest/ios/kitchensink/build/KitchenSink.app
[debug] [iOS] Creating instruments
[debug] [UIAuto] Preparing bootstrap code
[debug] [UIAuto] Dynamic bootstrap dir: /Users/wkoszek/Library/Application Support/appium/bootstrap
[debug] [UIAuto] Dynamic env: {"nodePath":"/usr/local/Cellar/node/5.9.1/bin/node","commandProxyClientPath":"/usr/local/lib/node_modules/appium/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js","instrumentsSock":"/var/folders/l9/94xvjj6n3jgcnbdf57q_drv00000gn/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 manually modify!
...
[debug] [UIAuto] Dynamic bootstrap path: /Users/wkoszek/Library/Application Support/appium/bootstrap/bootstrap-697efabc6d706fbd.js
[debug] [UIAuto] Reusing dynamic bootstrap: /Users/wkoszek/Library/Application Support/appium/bootstrap/bootstrap-697efabc6d706fbd.js
[debug] [iOS] User specified default device, letting instruments launch it
[debug] [iOS] Reset not set, not ending sim
[debug] [iOS] Not setting locale
[debug] [iOS] No iOS / app preferences to set
[debug] [iOSLog] Starting iOS 9.3 simulator log capture
[debug] [iOSLog] System log path: /Users/wkoszek/Library/Logs/CoreSimulator/CFBD74FC-7001-4B8B-9EC2-337F0A6831A3/system.log
[debug] [iOS] Not pre-launching simulator
[debug] [iOS] Starting UIAutoClient, and launching Instruments.
[debug] [UIAuto] Instruments socket server started at /var/folders/l9/94xvjj6n3jgcnbdf57q_drv00000gn/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 6 (9.3) [
[Instruments] On xcode 7.0+, instruments-without-delay does not work, skipping instruments-without-delay
[debug] [Instruments] Found Insruments-Without-Delay: /usr/local/lib/node_modules/appium/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/l9/94xvjj6n3jgcnbdf57q_drv00000gn/T/appium-instruments/instrumentscli0.trace -w "iPhone 6 (9.3) [" /Users/wkoszek/r/autotest/ios/kitchensink/build/KitchenSink.app -e UIASCRIPT "/Users/wkoszek/Library/Application Support/appium/bootstrap/bootstrap-697efabc6d706fbd.js" -e UIARESULTSPATH /var/folders/l9/94xvjj6n3jgcnbdf57q_drv00000gn/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-11 12:38:40.132 instruments[55737:15524210] WebKit Threading Violation - initial use of WebKit from a secondary thread.
[UIAuto] Instruments is ready to receive commands
[debug] [iOS] Instruments launched. Starting poll loop for new commands.
[debug] [iOS] Setting bootstrap config keys/values
[debug] [UIAuto] Socket data received (2 bytes)
[debug] [UIAuto] Got a result when we were not expecting one! Ignoring it
[debug] [UIAuto] Sending command to instruments: target = $.target();
au = $;
$.isVerbose = true;
[debug] [Instruments] [INST] 2016-04-11 19:39:16 +0000 Debug: evaluation finished
[debug] [Instruments] [INST] 2016-04-11 19:39:16 +0000 Debug: responding with:
[debug] [Instruments] [INST] 2016-04-11 19:39:16 +0000 Debug: Running system command #1: /usr/local/Cellar/node/5.9.1/bin/node /usr/local/lib/node_modules/appium/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js /var/folders/l9/94xvjj6n3jgcnbdf57q_drv00000gn/T/instruments_sock 2,{"status":0,"value":true}...
[debug] [UIAuto] Socket data received (27 bytes)
[debug] [UIAuto] Got result from instruments: {"status":0,"value":true}
[debug] [iOS] Setting initial orientation to PORTRAIT
[debug] [UIAuto] Sending command to instruments: au.setScreenOrientation('PORTRAIT')
[debug] [Instruments] [INST] 2016-04-11 19:39:17 +0000 Debug: Got new command 1 from instruments: au.setScreenOrientation('PORTRAIT')
[debug] [Instruments] [INST] 2016-04-11 19:39:17 +0000 Debug: evaluating au.setScreenOrientation('PORTRAIT')
[debug] [Instruments] [INST] 2016-04-11 19:39:17 +0000 Debug: target.setDeviceOrientation("1")
[debug] [Instruments] [INST] 2016-04-11 19:39:18 +0000 Debug: evaluation finished
[debug] [Instruments] [INST] 2016-04-11 19:39:18 +0000 Debug: responding with:
[debug] [Instruments] [INST] 2016-04-11 19:39:18 +0000 Debug: Running system command #2: /usr/local/Cellar/node/5.9.1/bin/node /usr/local/lib/node_modules/appium/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js /var/folders/l9/94xvjj6n3jgcnbdf57q_drv00000gn/T/instruments_sock 2,{"status":0,"value":"PORTRAIT"}...
[debug] [UIAuto] Socket data received (33 bytes)
[debug] [UIAuto] Got result from instruments: {"status":0,"value":"PORTRAIT"}
[debug] [iOS] Waiting for app source to contain elements
[debug] [UIAuto] Sending command to instruments: au.mainApp().getTreeForXML()
[debug] [Instruments] [INST] 2016-04-11 19:39:19 +0000 Debug: Got new command 2 from instruments: au.mainApp().getTreeForXML()
[debug] [Instruments] [INST] 2016-04-11 19:39:19 +0000 Debug: evaluating au.mainApp().getTreeForXML()
[debug] [Instruments] [INST] 2016-04-11 19:39:20 +0000 Debug: evaluation finished
[debug] [Instruments] [INST] 2016-04-11 19:39:20 +0000 Debug: responding with:rue,"valid":true,"visible":true,"hint":null,"path":"/0/0","x":0,"y":0,"width":375,"height":667},">":[{"UIAStaticText":{"@":{"name":" ","label":" ","value":" ","dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/0/0","x":0,"y":0,"width":375,"height":19.5},">":[]}},{"UIAStaticText":{"@":{"name":"StartTest","label":"StartTest","value":"StartTest","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/1","x":2,"y":29.5,"width":103.5,"height":30},">":[]}},{"UIATextField":{"@":{"name":"testNameText","label":null,"value":"","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/2","x":113.5,"y":29.5,"width":259.5,"height":30},">":[{"UIATextField":{"@":{"name":null,"label":null,"value":"","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/2/0","x":113.5,"y":29.5,"width":259.5,"height":30},">":[]}}]}},{"UIAStaticText":{"@":{"name":"key","label":"key","value":"key","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/3","x":2,"y":71.5,"width":103.5,"height":30},">":[]}},{"UIATextField":{"@":{"name":"apikey","label":null,"value":"","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/4","x":113.5,"y":71.5,"width":259.5,"height":30},">":[{"UIATextField":{"@":{"name":null,"label":null,"value":"","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/4/0","x":113.5,"y":71.5,"width":259.5,"height":30},">":[]}}]}},{"UIAStaticText":{"@":{"name":"acc","label":"acc","value":"acc","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/5","x":2,"y":113.5,"width":103.5,"height":30},">":[]}},{"UIATextField":{"@":{"name":"accd","label":null,"value":"","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/6","x":113.5,"y":113.5,"width":259.5,"height":30},">":[{"UIATextField":{"@":{"name":null,"label":null,"value":"","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/6/0","x":113.5,"y":113.5,"width":259.5,"height":30},">":[]}}]}},{"UIAStaticText":{"@":{"name":"opts","label":"opts","value":"opts","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/7","x":2,"y":155.5,"width":103.5,"height":30},">":[]}},{"UIATextField":{"@":{"name":"optionsDict","label":null,"value":"{\"com.twinprime.options.LogFullURL\":\"enable\"}","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/8","x":113.5,"y":155.5,"width":259.5,"height":30},">":[{"UIATextField":{"@":{"name":null,"label":null,"value":"{\"com.twinprime.options.LogFullURL\":\"enable\"}","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/8/0","x":113.5,"y":155.5,"width":259.5,"height":30},">":[]}}]}},{"UIAButton":{"@":{"name":"fetchurl","label":"fetch","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/9","x":2,"y":197.5,"width":36,"height":30},">":[]}},{"UIATextField":{"@":{"name":"url","label":null,"value":"","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/10","x":46,"y":197.5,"width":327,"height":30},">":[{"UIATextField":{"@":{"name":null,"label":null,"value":"","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/10/0","x":46,"y":197.5,"width":327,"height":30},">":[]}}]}},{"UIAStaticText":{"@":{"name":"hdr","label":"hdr","value":"hdr","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/11","x":2,"y":239.5,"width":57,"height":30},">":[]}},{"UIATextField":{"@":{"name":"header","label":null,"value":"","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/12","x":67,"y":239.5,"width":142.5,"height":30},">":[{"UIATextField":{"@":{"name":null,"label":null,"value":"","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/12/0","x":67,"y":239.5,"width":142.5,"height":30},">":[]}}]}},{"UIAStaticText":{"@":{"name":":","label":":","value":":","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/13","x":217.5,"y":239.5,"width":5,"height":30},">":[]}},{"UIATextField":{"@":{"name":"headerValue","label":null,"value":"","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/14","x":230.5,"y":239.5,"width":142.5,"height":30},">":[{"UIATextField":{"@":{"name":null,"label":null,"value":"","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/14/0","x":230.5,"y":239.5,"width":142.5,"height":30},">":[]}}]}},{"UIAStaticText":{"@":{"name":"body","label":"body","value":"body","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/15","x":2,"y":281.5,"width":103.5,"height":30},">":[]}},{"UIATextField":{"@":{"name":"httpBody","label":null,"value":"","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/16","x":113.5,"y":281.5,"width":259.5,"height":30},">":[{"UIATextField":{"@":{"name":null,"label":null,"value":"","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/16/0","x":113.5,"y":281.5,"width":259.5,"height":30},">":[]}}]}},{"UIAStaticText":{"@":{"name":"method","label":"method","value":"method","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/17","x":2,"y":323.5,"width":103.5,"height":30},">":[]}},{"UIATextField":{"@":{"name":"httpMethod","label":null,"value":"","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/18","x":113.5,"y":323.5,"width":259.5,"height":30},">":[{"UIATextField":{"@":{"name":null,"label":null,"value":"","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/18/0","x":113.5,"y":323.5,"width":259.5,"height":30},">":[]}}]}},{"UIAStaticText":{"@":{"name":"Trace Level","label":"Trace Level","value":"Trace Level","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/19","x":2,"y":365.5,"width":103.5,"height":30},">":[]}},{"UIATextField":{"@":{"name":"traceLevel","label":null,"value":"","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/20","x":113.5,"y":365.5,"width":259.5,"height":30},">":[{"UIATextField":{"@":{"name":null,"label":null,"value":"","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/20/0","x":113.5,"y":365.5,"width":259.5,"height":30},">":[]}}]}},{"UIAButton":{"@":{"name":"logStartTest","label":"start test","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/21","x":2,"y":407.5,"width":63,"height":30},">":[]}},{"UIAButton":{"@":{"name":"startlib","label":"startsdk","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/22","x":73,"y":407.5,"width":57,"height":30},">":[]}},{"UIAButton":{"@":{"name":"logEndTest","label":"end test","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/23","x":138,"y":407.5,"width":57,"height":30},">":[]}},{"UIAButton":{"@":{"name":"defs","label":"defs","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/24","x":203,"y":407.5,"width":170,"height":30},">":[]}},{"UIAStaticText":{"@":{"name":"redir","label":"redir","value":"redir","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/25","x":0,"y":447.5,"width":35.5,"height":31},">":[]}},{"UIASwitch":{"@":{"name":"redirect","label":null,"value":1,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/26","x":43.5,"y":447.5,"width":76,"height":31},">":[]}},{"UIAStaticText":{"@":{"name":"cookie","label":"cookie","value":"cookie","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/27","x":125.5,"y":447.5,"width":50.5,"height":31},">":[]}},{"UIASwitch":{"@":{"name":"acceptcookies","label":null,"value":1,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/28","x":184,"y":447.5,"width":75.5,"height":31},">":[]}},{"UIAStaticText":{"@":{"name":"acc","label":"acc","value":"acc","dom":null,"enabled":true,"valid":true,"visible":true,"hi
[debug] [Instruments] [INST] nt":null,"path":"/0/0/29","x":265.5,"y":447.5,"width":27.5,"height":31},">":[]}},{"UIASwitch":{"@":{"name":"accelerate","label":null,"value":1,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/30","x":301,"y":447.5,"width":76,"height":31},">":[]}},{"UIASegmentedControl":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/31","x":0,"y":486.5,"width":375,"height":29},">":[{"UIAButton":{"@":{"name":"Connection","label":"Connection","value":"","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/31/0","x":0,"y":486.5,"width":187,"height":29},">":[]}},{"UIAButton":{"@":{"name":"Session","label":"Session","value":"","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/31/1","x":188,"y":486.5,"width":187,"height":29},">":[]}}]}}]}},{"UIAWindow":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1","x":0,"y":0,"width":375,"height":667},">":[{"UIAStatusBar":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0","x":0,"y":0,"width":375,"height":20},">":[{"UIAElement":{"@":{"name":"Swipe down with three fingers to reveal the notification center., Swipe up with three fingers to reveal the control center, Double-tap to scroll to top","label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Swipe up with three fingers to reveal the control center, Double-tap to scroll to top","path":"/0/1/0/0","x":6,"y":0,"width":39,"height":20},">":[]}},{"UIAElement":{"@":{"name":"3 of 3 Wi-Fi bars","label":"3 of 3 Wi-Fi bars","value":"SSID","dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Swipe up with three fingers to reveal the control center, Double-tap to scroll to top","path":"/0/1/0/1","x":50,"y":0,"width":13,"height":20},">":[]}},{"UIAElement":{"@":{"name":"12:39 PM","label":"12:39 PM","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Swipe up with three fingers to reveal the control center, Double-tap to scroll to top","path":"/0/1/0/2","x":161,"y":0,"width":56,"height":20},">":[]}},{"UIAElement":{"@":{"name":"-100% battery power","label":"-100% battery power","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Swipe up with three fingers to reveal the control center, Double-tap to scroll to top","path":"/0/1/0/3","x":345,"y":0,"width":25,"height":20},">":[]}}]}}]}}]}}}
2016-04-11 19:39:20 +0000 Debug: Running system command #3: /usr/local/Cellar/node/5.9.1/bin/node /usr/local/lib/node_modules/appium/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js /var/folders/l9/94xvjj6n3jgcnbdf57q_drv00000gn/T/instruments_sock 2,{"status":0,"value":{"UIAApplication":{"@":{"name":"KitchenSink","label":"KitchenSink","value"...
[debug] [UIAuto] Socket data received (8192 bytes)
[debug] [UIAuto] Socket data received (3089 bytes)
[debug] [UIAuto] Got result from instruments: {"status":0,"value":{"UIAApplication":{"@":{"name":"KitchenSink","label":"KitchenSink","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0","x":0,"y":0,"width":375,"height":667},">":[{"UIAWindow":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":t
[Appium] New IosDriver session created successfully, session 1673c332-3401-4a49-8a0c-7b39ad333aa6 added to master session list
[MJSONWP] Responding to client with driver.createSession() result: {"webStorageEnabled":false,"locationContextEnabled":false,"browserName":"","platform":"MAC","javascriptEnabled":true,"databaseEnabled":false,"takes...
[HTTP] <-- POST /wd/hub/session 200 46462 ms - 759 
[HTTP] --> POST /wd/hub/session/1673c332-3401-4a49-8a0c-7b39ad333aa6/appium/app/launch {"sessionId":"1673c332-3401-4a49-8a0c-7b39ad333aa6"}
[MJSONWP] Calling AppiumDriver.launchApp() with args: ["1673c332-3401-4a49-8a0c-7b39ad333aa6"]
[debug] [iOS] Executing iOS command 'launchApp'
[debug] [iOS] Removing any remaining instruments sockets
[debug] [iOS] Cleaned up instruments socket /var/folders/l9/94xvjj6n3jgcnbdf57q_drv00000gn/T/instruments_sock
[debug] [iOS] Setting Xcode version
[debug] [iOS] Xcode version set to 7.3
[debug] [iOS] Setting iOS SDK Version
[debug] [iOS] iOS SDK Version set to 9.3
[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.2) [C6B7B808-66DA-4014-B52C-4BD8D0F06AFB] (Simulator),iPad 2 (9.3) [35A64461-BBBB-4D21-BBE6-8BFE86FE79DB] (Simulator),iPad Air (9.3) [81850AEA-BE5C-4056-AE9C-B590DF07EFBC] (Simulator),iPad Air 2 (9.3) [DF9F14CE-60C3-4E34-9A11-2230E24E62A9] (Simulator),iPad Pro (9.3) [7C55F84B-3595-4D22-B347-4F7EC8ECFB03] (Simulator),iPad Retina (9.3) [F7A423AD-05B0-4D5F-9A92-37AED31C9DF3] (Simulator),iPhone 4s (9.3) [B59D280F-F9A2-4BF0-8A9D-AD26BE2C8F3A] (Simulator),iPhone 5 (9.3) [6AF11C0B-83D8-4883-A3E7-628BE0565329] (Simulator),iPhone 5s (9.3) [796D542E-F1A8-45C1-8444-0BF07ADA3840] (Simulator),iPhone 6 (9.3) [CFBD74FC-7001-4B8B-9EC2-337F0A6831A3] (Simulator),iPhone 6 Plus (9.3) [E9ADBBA4-781B-457F-A2F3-46AB29E32FA4] (Simulator),iPhone 6s (9.3) [F7204292-1283-471A-A494-A9B3B0BAE162] (Simulator),iPhone 6s (9.3) + Apple Watch - 38mm (2.2) [A8E59181-3A61-4439-9B62-A49FBF42895E] (Simulator),iPhone 6s Plus (9.3) [C990EF94-1F4D-4FDF-95AD-4B384A74E978] (Simulator),iPhone 6s Plus (9.3) + Apple Watch - 42mm (2.2) [1D7454DE-35B8-4ADA-8605-C6602B58E133] (Simulator)
[debug] [iOS] iOS sim UDID is CFBD74FC-7001-4B8B-9EC2-337F0A6831A3
[iOSSim] Constructing iOS simulator for Xcode version 7.3
[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/wkoszek/Library/Application Support/appium/bootstrap
[debug] [UIAuto] Dynamic env: {"nodePath":"/usr/local/Cellar/node/5.9.1/bin/node","commandProxyClientPath":"/usr/local/lib/node_modules/appium/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js","instrumentsSock":"/var/folders/l9/94xvjj6n3jgcnbdf57q_drv00000gn/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 manually modify!
...
[debug] [UIAuto] Dynamic bootstrap path: /Users/wkoszek/Library/Application Support/appium/bootstrap/bootstrap-697efabc6d706fbd.js
[debug] [UIAuto] Reusing dynamic bootstrap: /Users/wkoszek/Library/Application Support/appium/bootstrap/bootstrap-697efabc6d706fbd.js
[debug] [iOS] User specified default device, letting instruments launch it
[debug] [iOS] Reset not set, not ending sim
[debug] [iOS] Not setting locale
[debug] [iOS] No iOS / app preferences to set
[iOS] Trying to start iOS log capture but it's already started!
[debug] [iOS] Not pre-launching simulator
[debug] [iOS] Starting UIAutoClient, and launching Instruments.
[debug] [UIAuto] Instruments socket server started at /var/folders/l9/94xvjj6n3jgcnbdf57q_drv00000gn/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 6 (9.3) [
[Instruments] On xcode 7.0+, instruments-without-delay does not work, skipping instruments-without-delay
[debug] [Instruments] Found Insruments-Without-Delay: /usr/local/lib/node_modules/appium/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/l9/94xvjj6n3jgcnbdf57q_drv00000gn/T/appium-instruments/instrumentscli0.trace -w "iPhone 6 (9.3) [" /Users/wkoszek/r/autotest/ios/kitchensink/build/KitchenSink.app -e UIASCRIPT "/Users/wkoszek/Library/Application Support/appium/bootstrap/bootstrap-697efabc6d706fbd.js" -e UIARESULTSPATH /var/folders/l9/94xvjj6n3jgcnbdf57q_drv00000gn/T/appium-instruments'
[debug] [Instruments] And launch timeouts (in ms): {"global":90000}
[debug] [Instruments] [INST STDERR] 2016-04-11 12:39:25.168 instruments[55852:15531431] WebKit Threading Violation - initial use of WebKit from a secondary thread.
[debug] [Instruments] [INST] 2016-04-11 19:39:25 +0000 Fail: The target application appears to have died
[debug] [Instruments] [INST STDERR] 2016-04-11 12:39:25.290 instruments[55737:15524216] Attempting to change event horizon while disengage
[debug] [Instruments] [INST STDERR] Instruments Trace Error : *** -[NSFileManager subpathsOfDirectoryAtPath:error:]: path is nil
[debug] [Instruments] Instruments exited with code 0
[debug] [iOS] Deleting ios session
[debug] [UIAuto] Closing socket server.
[Appium] Closing session, cause was 'An unknown server-side error occurred while processing the command. Original error: Abnormal Instruments termination!'
[Appium] Removing session 1673c332-3401-4a49-8a0c-7b39ad333aa6 from our master session list
[debug] [UIAuto] Instruments socket server was closed
[debug] [Instruments] Starting shutdown.
[debug] [Instruments] Sending sigterm to instruments
[HTTP] <-- POST /wd/hub/session/1673c332-3401-4a49-8a0c-7b39ad333aa6/appium/app/launch 500 5597 ms - 204 
[debug] [Instruments] [INST] Instruments Trace Complete (Duration : 2.489575s; Output : /var/folders/l9/94xvjj6n3jgcnbdf57q_drv00000gn/T/appium-instruments/instrumentscli0.trace)
[debug] [Instruments] Instruments exited with code 0
[debug] [iOSLog] Stopping iOS log capture
[debug] [iOS] Reset not set, not ending sim
^C
[12:39:44][wkoszek@wkoszek_mba:~/r/autotest]$ open .^C
[12:41:57][wkoszek@wkoszek_mba:~/r/autotest]$ mv typescript appium_1_5_1_shirinkwreap_with_isimulator.txt
[12:42:12][wkoszek@wkoszek_mba:~/r/autotest]$ open .
[12:42:14][wkoszek@wkoszek_mba:~/r/autotest]$
@krimsonkla
Copy link

Hey, were you able to resolve this? I have ran into the same error trace. Everything is fine pre appium 1.5.x. This only happens after appium upgrade.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment