Hi Appium Developer team,
I’m running appium 1.6.4, appium GUI 1.5.3
xcode 8.3.1, ios 10.12.4
but I can not launch iOs app from appium GUI although the app is installed successfully.
I also use macaca appium inspector but result is the same, I can not launch the app.
Here is my appium log:
Appium] Welcome to Appium v1.6.4
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {“desiredCapabilities”:{“app”:"/Users/ngocvk/Downloads/app/Payload 2/CreateThumbnailVideo.app",“deviceName”:“iPhone Simulator”,“noReset”:true,“platformName”:“iOS”,“platformVersion”:“10.0”,“newCommandTimeout”:0,“connectHardwareKeyboard”:true}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{“app”:"/Users/ngocvk/Downloads/app/Payload 2/CreateThumbnailVideo.app",“deviceName”:“iPhone Simulator”,“noReset”:true,“platformName”:“iOS”,“platformVersion”:“10.0”,“newCommandTimeout”:0,“connectHardwareKeyboard”:true},null,null,null,null]
[BaseDriver] Event ‘newSessionRequested’ logged at 1493869547367 (10:45:47 GMT+0700 (+07))
[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 (v2.27.2) session
[Appium] Capabilities:
[Appium] app: ‘/Users/ngocvk/Downloads/app/Payload 2/CreateThumbnailVideo.app’
[Appium] deviceName: ‘iPhone Simulator’
[Appium] noReset: true
[Appium] platformName: ‘iOS’
[Appium] platformVersion: ‘10.0’
[Appium] newCommandTimeout: 0
[Appium] connectHardwareKeyboard: true
[XCUITest] XCUITestDriver version: 2.27.2
[BaseDriver] Session created with session id: e5a3b990-9a06-4113-9ecd-d8e22956642a
[XCUITest] Xcode version set to ‘8.3.1’ (tools v8.3.0.0.1.1490382677)
[XCUITest] iOS SDK Version set to ‘10.3’
[BaseDriver] Event ‘xcodeDetailsRetrieved’ logged at 1493869547553 (10:45:47 GMT+0700 (+07))
[XCUITest] Changing deviceName from ‘iPhone Simulator’ to ‘iPhone 6’
[iOSSim] Constructing iOS simulator for Xcode version 8.3.1 with udid ‘866FA269-32A9-428C-B71B-E1866D021E3B’
[XCUITest] Determining device to run tests on: udid: ‘866FA269-32A9-428C-B71B-E1866D021E3B’, real device: false
[BaseDriver] Using local app ‘/Users/ngocvk/Downloads/app/Payload 2/CreateThumbnailVideo.app’
[BaseDriver] Event ‘appConfigured’ logged at 1493869547943 (10:45:47 GMT+0700 (+07))
[XCUITest] Checking whether app ‘/Users/ngocvk/Downloads/app/Payload 2/CreateThumbnailVideo.app’ is actually present on file system
[XCUITest] App is present
[iOS] Getting bundle ID from app ‘/Users/ngocvk/Downloads/app/Payload 2/CreateThumbnailVideo.app’: ‘vn.ait.uploadtest’
[XCUITest] Setting ‘connectHardwareKeyboard’ Simulator option to ‘on’
[BaseDriver] Event ‘resetStarted’ logged at 1493869547953 (10:45:47 GMT+0700 (+07))
[XCUITest] Reset: noReset is on. Leaving simulator as is
[BaseDriver] Event ‘resetComplete’ logged at 1493869547954 (10:45:47 GMT+0700 (+07))
[iOSLog] Starting iOS 10.0 simulator log capture
[iOSLog] System log path: /Users/ngocvk/Library/Logs/CoreSimulator/866FA269-32A9-428C-B71B-E1866D021E3B/system.log
[BaseDriver] Event ‘logCaptureStarted’ logged at 1493869548135 (10:45:48 GMT+0700 (+07))
[XCUITest] Setting up simulator
[iOS] No reason to set locale
[iOS] No iOS / app preferences to set
[XCUITest] Simulator with udid ‘866FA269-32A9-428C-B71B-E1866D021E3B’ not booted. Booting up now
[iOSSim] Killing all iOS Simulators
[iOSSim] Simulator is not running. Continuing…
[iOSSim] Starting simulator with command: open -Fn /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app --args -CurrentDeviceUDID 866FA269-32A9-428C-B71B-E1866D021E3B
[iOSSim] Simulator booted in 11272ms
[BaseDriver] Event ‘simStarted’ logged at 1493869559927 (10:45:59 GMT+0700 (+07))
[XCUITest] Installing /Users/ngocvk/Downloads/app/Payload 2/CreateThumbnailVideo.app on Simulator with UUID ‘866FA269-32A9-428C-B71B-E1866D021E3B’…
[XCUITest] The app has been installed successfully.
[BaseDriver] Event ‘appInstalled’ logged at 1493869564018 (10:46:04 GMT+0700 (+07))
[BaseDriver] Event ‘wdaStartAttempted’ logged at 1493869564019 (10:46:04 GMT+0700 (+07))
[XCUITest] Using WDA path: ‘/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent’
[XCUITest] Using WDA agent: ‘/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj’
[XCUITest] Launching WebDriverAgent on the device
[XCUITest] Carthage found: ‘/usr/local/bin/carthage’
[XCUITest] Killing hanging processes
[XCUITest] Beginning test with command ‘xcodebuild build-for-testing test-without-building -project /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=866FA269-32A9-428C-B71B-E1866D021E3B -configuration Debug IPHONEOS_DEPLOYMENT_TARGET=10.0’ in directory ‘/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent’
[XCUITest] Output from xcodebuild will not be logged
[XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Log file for xcodebuild test: /Users/ngocvk/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/94CF5C28-01EE-4891-B59C-809101231F52/Session-WebDriverAgentRunner-2017-05-04_104607-JrhA8L.log
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got response with status 200: “{\n “value” : {\n “state” : “success”,\n “os” : {\n “name” : “iOS”,\n “version” : “10.0”\n },\n “ios” : {\n “simulatorVersion” : “10.0”,\n “ip” : “172.16.1.15”\n },\n “build” : {\n “time” : “May 4 2017 08:58:15”\n }\n },\n “sessionId” : “176FA349-E5BB-4FF3-9B4C-642E004B89E8”,\n “status” : 0\n}”
[XCUITest] WebDriverAgent running on ip ‘172.16.1.15’
[XCUITest] WebDriverAgent successfully started after 9901ms
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1493869574057 (10:46:14 GMT+0700 (+07))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {“desiredCapabilities”:{“bundleId”:“vn.ait.uploadtest”,“arguments”:[],“environment”:{},“shouldWaitForQuiescence”:true,“shouldUseTestManagerForVisibilityDetection”:false,“maxTypingFrequency”:60,“shouldUseSingletonTestManager”:true}}
[JSONWP Proxy] Got response with status 200: {“value”:“Failed to launch vn.ait.uploadtest application”,“sessionId”:“176FA349-E5BB-4FF3-9B4C-642E004B89E8”,“status”:13}
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1493869816705 (10:50:16 GMT+0700 (+07))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {“desiredCapabilities”:{“bundleId”:“vn.ait.uploadtest”,“arguments”:[],“environment”:{},“shouldWaitForQuiescence”:true,“shouldUseTestManagerForVisibilityDetection”:false,“maxTypingFrequency”:60,“shouldUseSingletonTestManager”:true}}
[JSONWP Proxy] Got response with status 200: {“value”:“Failed to launch vn.ait.uploadtest application”,“sessionId”:“176FA349-E5BB-4FF3-9B4C-642E004B89E8”,“status”:13}
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1493870059355 (10:54:19 GMT+0700 (+07))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {“desiredCapabilities”:{“bundleId”:“vn.ait.uploadtest”,“arguments”:[],“environment”:{},“shouldWaitForQuiescence”:true,“shouldUseTestManagerForVisibilityDetection”:false,“maxTypingFrequency”:60,“shouldUseSingletonTestManager”:true}}
[HTTP] <-- POST /wd/hub/session - - ms - -
[HTTP] --> POST /wd/hub/session {“desiredCapabilities”:{“app”:"/Users/ngocvk/Downloads/app/Payload 2/CreateThumbnailVideo.app",“deviceName”:“iPhone Simulator”,“noReset”:true,“platformName”:“iOS”,“platformVersion”:“10.0”,“newCommandTimeout”:0,“connectHardwareKeyboard”:true}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{“app”:"/Users/ngocvk/Downloads/app/Payload 2/CreateThumbnailVideo.app",“deviceName”:“iPhone Simulator”,“noReset”:true,“platformName”:“iOS”,“platformVersion”:“10.0”,“newCommandTimeout”:0,“connectHardwareKeyboard”:true},null,null,null,null]
[BaseDriver] Event ‘newSessionRequested’ logged at 1493870147428 (10:55:47 GMT+0700 (+07))
[JSONWP Proxy] Got response with status 200: {“value”:“Failed to launch vn.ait.uploadtest application”,“sessionId”:“176FA349-E5BB-4FF3-9B4C-642E004B89E8”,“status”:13}
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1493870301880 (10:58:21 GMT+0700 (+07))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {“desiredCapabilities”:{“bundleId”:“vn.ait.uploadtest”,“arguments”:[],“environment”:{},“shouldWaitForQuiescence”:true,“shouldUseTestManagerForVisibilityDetection”:false,“maxTypingFrequency”:60,“shouldUseSingletonTestManager”:true}}
[JSONWP Proxy] Got response with status 200: {“value”:“Failed to launch vn.ait.uploadtest application”,“sessionId”:“176FA349-E5BB-4FF3-9B4C-642E004B89E8”,“status”:13}
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1493870544403 (11:02:24 GMT+0700 (+07))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {“desiredCapabilities”:{“bundleId”:“vn.ait.uploadtest”,“arguments”:[],“environment”:{},“shouldWaitForQuiescence”:true,“shouldUseTestManagerForVisibilityDetection”:false,“maxTypingFrequency”:60,“shouldUseSingletonTestManager”:true}}
[HTTP] <-- POST /wd/hub/session - - ms - -
[HTTP] --> POST /wd/hub/session {“desiredCapabilities”:{“app”:"/Users/ngocvk/Downloads/app/Payload 2/CreateThumbnailVideo.app",“deviceName”:“iPhone Simulator”,“noReset”:true,“platformName”:“iOS”,“platformVersion”:“10.0”,“newCommandTimeout”:0,“connectHardwareKeyboard”:true}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{“app”:"/Users/ngocvk/Downloads/app/Payload 2/CreateThumbnailVideo.app",“deviceName”:“iPhone Simulator”,“noReset”:true,“platformName”:“iOS”,“platformVersion”:“10.0”,“newCommandTimeout”:0,“connectHardwareKeyboard”:true},null,null,null,null]
[BaseDriver] Event ‘newSessionRequested’ logged at 1493870747512 (11:05:47 GMT+0700 (+07))
[JSONWP Proxy] Got response with status 200: {“value”:“Failed to launch vn.ait.uploadtest application”,“sessionId”:“176FA349-E5BB-4FF3-9B4C-642E004B89E8”,“status”:13}
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1493870787065 (11:06:27 GMT+0700 (+07))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {“desiredCapabilities”:{“bundleId”:“vn.ait.uploadtest”,“arguments”:[],“environment”:{},“shouldWaitForQuiescence”:true,“shouldUseTestManagerForVisibilityDetection”:false,“maxTypingFrequency”:60,“shouldUseSingletonTestManager”:true}}
Anyone can help me, plz! Thanks.