Skip to content

Instantly share code, notes, and snippets.

@maesiva

maesiva/logs2 Secret

Created December 5, 2016 22:58
Show Gist options
  • Save maesiva/1ce315bc6eae682cffcb4f59785b94a8 to your computer and use it in GitHub Desktop.
Save maesiva/1ce315bc6eae682cffcb4f59785b94a8 to your computer and use it in GitHub Desktop.
App does not launch
myMac:~ myUserID$
myMac:~ myUserID$ appium --address 127.0.0.1
[Appium] Welcome to Appium v1.6.2
[Appium] Non-default server args:
[Appium] address: '127.0.0.1'
[Appium] Appium REST http interface listener started on 127.0.0.1:4723
[HTTP] --> POST /wd/hub/session {"capabilities":{"desiredCapabilities":{"app":"/Users/myUserID/Development/mobile_app/myApp.app","platformVersion":"10.0.2","automationName":"XCUITest","autoWebView":"true","udid":"<myUDID>","platformName":"iOS","device":"iPad","deviceName":"iPad Air 2","fullReset":"false"},"requiredCapabilities":{}},"desiredCapabilities":{"app":"/Users/myUserID/Development/mobile_app/myApp.app","platformVersion":"10.0.2","automationName":"XCUITest","autoWebView":"true","udid":"<myUDID>","platformName":"iOS","device":"iPad","deviceName":"iPad Air 2","fullReset":"false"},"requiredCapabilities":{}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"/Users/myUserID/Development/mobile_app/myApp.app","platformVersion":"10.0.2","automationName":"XCUITest","autoWebView":"true","udid":"<myUDID>","platformName":"iOS","device":"iPad","deviceName":"iPad Air 2","fullReset":"false"},{},{"desiredCapabilities":{"app":"/Users/myUserID/Development/mobile_app/myApp.app","platformVersion":"10.0.2","automationName":"XCUITest","autoWebView":"true","udid":"<myUDID>","platformName":"iOS","device":"iPad","deviceName":"iPad Air 2","fullReset":"false"},"requiredCapabilities":{}},null,null]
[Appium] Creating new XCUITestDriver session
[Appium] Capabilities:
[Appium] app: '/Users/myUserID/Development/mobile_app/myApp.app'
[Appium] platformVersion: '10.0.2'
[Appium] automationName: 'XCUITest'
[Appium] autoWebView: 'true'
[Appium] udid: '<myUDID>'
[Appium] platformName: 'iOS'
[Appium] device: 'iPad'
[Appium] deviceName: 'iPad Air 2'
[Appium] fullReset: 'false'
[debug] [XCUITest] XCUITestDriver version: 2.3.0
[BaseDriver] Capability 'fullReset' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] The following capabilities were provided, but are not recognized by appium: autoWebView, device.
[BaseDriver] Session created with session id: a02027c0-c5b8-43a5-af06-6310831737a2
[debug] [XCUITest] Xcode version set to '8.0'
[debug] [XCUITest] iOS SDK Version set to '10.0'
[debug] [XCUITest] Available devices: <myUDID>
[debug] [XCUITest] Creating iDevice object with udid <myUDID>
[XCUITest] Determining device to run tests on: udid: '<myUDID>', real device: true
[BaseDriver] Using local app '/Users/myUserID/Development/mobile_app/myApp.app'
[debug] [XCUITest] Checking whether app '/Users/myUserID/Development/mobile_app/myApp.app' is actually present
[debug] [XCUITest] App is present
[debug] [ios-app-utils] Getting bundle ID from app '/Users/myUserID/Development/mobile_app/myApp.app': 'com.xyz.AppService'
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Found idevicesyslog: '/usr/local/bin/idevicesyslog'
[XCUITest] Setting up real device
[debug] [XCUITest] Error checking install status: Command 'ios-deploy --exists --id <myUDID> --bundle_id com.xyz.AppService' exited with code 255
[debug] [XCUITest] App is not installed. Will try to install.
[debug] [XCUITest] App installed successfully.
[XCUITest] Using WDA path: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Using WDA agent: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: /usr/local/bin/carthage
[debug] [XCUITest] Killing hanging processes
[debug] [XCUITest] Using real device logger 'idevicesyslog'
[debug] [XCUITest] Beginning test with command 'xcodebuild build test -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=<myUDID> -configuration Debug' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Waiting for WebDriverAgent to start on device
[debug] [XCUITest] Log file for xcodebuild test: /Users/myUserID/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/DB23ED67-634E-4CC6-9CD6-DF6985F7F271/Session-WebDriverAgentRunner-2016-12-05_143412-uA8QHC.log
[debug] [WebDriverAgent] Device: Dec 5 14:34:15 iPad XCTRunner[367] <Notice>: Running tests...
[debug] [WebDriverAgent] Device: Dec 5 14:34:16 iPad XCTRunner[367] <Notice>: Continuing to run tests in the background with task ID 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment