Skip to content

Instantly share code, notes, and snippets.

@EricBlueSav
EricBlueSav / CoreSimulator logs
Created October 25, 2016 19:43
Core Simulator logs for iPhone automation attempt
This file has been truncated, but you can view the full file.
Oct 24 15:39:43 BSCMACPC0110 bootlog[0]: BOOT_TIME 1477334383 390449
Oct 25 15:03:11 BSCMACPC0110 syslogd[9181]: Configuration Notice:
ASL Module "com.apple.AddressBookLegacy" claims selected messages.
Those messages may not appear in standard system log files or in the ASL database.
Oct 25 15:03:11 BSCMACPC0110 syslogd[9181]: Configuration Notice:
ASL Module "com.apple.appinstallation" claims selected messages.
Those messages may not appear in standard system log files or in the ASL database.
Oct 25 15:03:11 BSCMACPC0110 syslogd[9181]: Configuration Notice:
ASL Module "com.apple.clouddocs" claims selected messages.
Those messages may not appear in standard system log files or in the ASL database.
@EricBlueSav
EricBlueSav / Webdriver logs
Created October 25, 2016 19:40
Webdriver logs for iPhone testing
-configuration
Debug
16:33:43.639 xcodebuild[13096:365600] Launching with Xcode.IDEFoundation.Launcher.PosixSpawn
16:33:43.641 xcodebuild[13096:365600] Initializing test infrastructure.
16:33:43.641 xcodebuild[13096:365606] 193F4DC9-01B4-420D-9A45-C251EEDA2734: Registered for sim device notification, got token 4
16:33:43.641 xcodebuild[13096:365606] 193F4DC9-01B4-420D-9A45-C251EEDA2734: Unregistering for sim device notification with token 4
16:33:43.641 xcodebuild[13096:365606] Sim iPhone 6s is booted (state = 3)
16:33:43.641 xcodebuild[13096:365606] Calling -[SimDevice getenv:error:] for TESTMANAGERD_SIM_SOCK
16:33:43.642 xcodebuild[13096:365606] Returning /private/tmp/com.apple.launchd.4SOeZCVpkD/com.apple.testmanagerd.unix-domain.socket for TESTMANAGERD_SIM_SOCK
16:33:43.643 xcodebuild[13096:365606] Sim iPhone 6s has testmanagerd socket at /private/tmp/com.apple.launchd.4SOeZCVpkD/com.apple.testmanagerd.unix-domain.socket
@EricBlueSav
EricBlueSav / Appium Logs
Created October 25, 2016 19:37
Appium logs of a failed run on Safari iOS
This file has been truncated, but you can view the full file.
BSCMACPC0110:~ ericsavoie$ authorize-ios
info AuthorizeIOS Enabling DevToolsSecurity
info AuthorizeIOS Updating security db for developer access
info AuthorizeIOS Granting access to built-in simulator apps
info AuthorizeIOS The xcode directory is : /Applications/Xcode.app/Contents/Developer
info AuthorizeIOS Changing ownership to 'ericsavoie' on directories: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/Applications, /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.0.sdk/Applications
BSCMACPC0110:~ ericsavoie$ appium
[Appium] Welcome to Appium v1.6.0
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"browserName":"Safari","appium-version":"1.6","platformName":"iOS","platformVersion":"10.0","deviceName":"iPhone 6s","realDeviceLogger":"/usr/local/lib/node_modules/deviceconsole/deviceconsole","count":1}}
16:55:44.843 xcodebuild[2858:62526] Beginning test session WebDriverAgentRunner-3FCD65B4-CB9F-46D0-907E-4F1DD4D4084C at 2016-10-24 16:55:44.841 with Xcode 8A218a on target <DVTiPhoneSimulator: 0x7fe1008762f0> {
SimDevice: SimDevice : iPad Pro (9.7 inch) (23790D54-E2AE-4856-B48A-C168590A426C) : state={ Booted } deviceType={ SimDeviceType : com.apple.CoreSimulator.SimDeviceType.iPad-Pro--9-7-inch- } runtime={ SimRuntime : 10.0 (14A345) - com.apple.CoreSimulator.SimRuntime.iOS-10-0 }
} (10.0 (14A345))
16:55:44.844 xcodebuild[2858:62526] /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
build
test
-project
/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj
-scheme
WebDriverAgentRunner
@EricBlueSav
EricBlueSav / Webdriver Logs
Created October 24, 2016 19:58
Webdriver logs for Appium error
16:55:41.582 xcodebuild[2832:62270] Beginning test session WebDriverAgentRunner-70DE7262-AEED-4C0B-8A7E-124A7BD411E6 at 2016-10-24 16:55:41.580 with Xcode 8A218a on target <DVTiPhoneSimulator: 0x7fa61d9245b0> {
SimDevice: SimDevice : iPad Pro (9.7 inch) (23790D54-E2AE-4856-B48A-C168590A426C) : state={ Booted } deviceType={ SimDeviceType : com.apple.CoreSimulator.SimDeviceType.iPad-Pro--9-7-inch- } runtime={ SimRuntime : 10.0 (14A345) - com.apple.CoreSimulator.SimRuntime.iOS-10-0 }
} (10.0 (14A345))
16:55:41.582 xcodebuild[2832:62270] /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
build
test
-project
/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj
-scheme
WebDriverAgentRunner
@EricBlueSav
EricBlueSav / Appium Logs
Created October 24, 2016 19:56
Appium Error Logs
[Appium] Welcome to Appium v1.6.0
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"browserName":"safari","appium-version":"1.6","platformName":"iOS","platformVersion":"10.0","deviceName":"iPad Pro (9.7 inch)","count":1}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"browserName":"safari","a...
[Appium] Requested iOS support with version >= 10, using XCUITest driver instead of UIAutomation-based driver, since the latter is unsupported on iOS 10 and up.
[Appium] Creating new XCUITestDriver session
[Appium] Capabilities:
[Appium] browserName: 'safari'
[Appium] appium-version: '1.6'
[Appium] platformName: 'iOS'