Hello,
The WebDriverAgent does not support iphone X, once I run test to my iphone X , xcode show test failed. but I test it other device is fine. please help to fix the problem.
What error do you get?
Hello,
I test simulator ,it is fine, I connect to iPhone X, xcode show running successfully,then show test failed. Console nothing showing.
| |
kenling
邮箱:[email protected]
|
签名由 网易邮箱大师 定制
On 01/08/2018 19:44, Marek Cirkos wrote:
What error do you get?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
Please send us your device logs that we can see more hint.
I also have the same issue, my device is iPhone 6 with iOS 11.2.1.
17:17:14.017 xcodebuild[34000:812224] Beginning test session WebDriverAgentRunner-0F287C23-409C-446C-B4F1-B15B765B70EF at 2018-01-12 17:17:14.011 with Xcode 9C40b on target <DVTiOSDevice: 0x7f958ab3b8b0> {
deviceSerialNumber: C38NP78ZG3MV
identifier: 4508569e667fe8456bd64e18cf60d6f60016d632
deviceClass: iPhone
deviceName: Jade
deviceIdentifier: 4508569e667fe8456bd64e18cf60d6f60016d632
productVersion: 11.2.1
buildVersion: 15C153
deviceSoftwareVersion: 11.2.1 (15C153)
deviceArchitecture: arm64
deviceTotalCapacity: 60553490432
deviceAvailableCapacity: 1293541376
deviceIsTransient: NO
ignored: NO
deviceIsBusy: NO
deviceIsActivated: YES
deviceActivationState: Activated
isPasscodeLocked: NO
deviceType: <DVTDeviceType:0x7f9587ebf0c0 Xcode.DeviceType.iPhone>
supportedDeviceFamilies: (
1
)
applications: (null)
provisioningProfiles: (null)
hasInternalSupport: NO
isSupportedOS: YES
developerDiskMountError: (null)
(null)
bootArgs: <unavailable>
connected: yes
isWirelessEnabled: no
connectionType: direct
} (11.2.1 (15C153))
17:17:14.017 xcodebuild[34000:812224] /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
-project
WebDriverAgent.xcodeproj
-scheme
WebDriverAgentRunner
-destination
platform=iOS,name=Jade
test
17:17:14.018 xcodebuild[34000:812224] Launching with Xcode.IDEFoundation.Launcher.PosixSpawn
17:17:14.020 xcodebuild[34000:812224] Test standard output and standard error is at /var/folders/_w/thv_gt0s0xx5_bw1r4ytggpr0000gn/T/com.apple.dt.XCTest/IDETestRunSession-65C96768-09FA-4672-AAC2-508B98C09B1F/WebDriverAgentRunner-29DD9D3F-A7E2-4FC9-98D0-9FE8CF0530CB/StandardOutputAndStandardError.txt
17:17:15.215 xcodebuild[34000:812224] Setting up test runner session
17:17:15.219 xcodebuild[34000:812401] Connecting to mobile device: 4508569e667fe8456bd64e18cf60d6f60016d632
17:17:15.219 xcodebuild[34000:812224] Launch session started.
17:17:15.221 xcodebuild[34000:812401] Starting session with mobile device
17:17:15.272 xcodebuild[34000:812401] Starting test manager service on mobile device.
17:17:15.282 xcodebuild[34000:812401] Error starting test manager service: Error Domain=XCTMobileDeviceFramework Code=101 "kAMDMuxConnectError: Could not connect to the device." UserInfo={NSLocalizedDescription=kAMDMuxConnectError: Could not connect to the device.}
17:17:15.285 xcodebuild[34000:812403] Error returned from opening test runner connection: Error Domain=com.apple.dt.xctest.error Code=4 "Unable to connect to test manager on 4508569e667fe8456bd64e18cf60d6f60016d632" UserInfo={NSLocalizedDescription=Unable to connect to test manager on 4508569e667fe8456bd64e18cf60d6f60016d632, NSUnderlyingError=0x7f958b3421d0 {Error Domain=XCTMobileDeviceFramework Code=101 "kAMDMuxConnectError: Could not connect to the device." UserInfo={NSLocalizedDescription=kAMDMuxConnectError: Could not connect to the device.}}}
17:17:15.285 xcodebuild[34000:812224] Failed to make test runner session:
Error Domain=com.apple.dt.xctest.error Code=4 "Unable to connect to test manager on 4508569e667fe8456bd64e18cf60d6f60016d632" UserInfo={NSLocalizedDescription=Unable to connect to test manager on 4508569e667fe8456bd64e18cf60d6f60016d632, NSUnderlyingError=0x7f958b3421d0 {Error Domain=XCTMobileDeviceFramework Code=101 "kAMDMuxConnectError: Could not connect to the device." UserInfo={NSLocalizedDescription=kAMDMuxConnectError: Could not connect to the device.}}}
17:17:15.285 xcodebuild[34000:812224] Test operation failure: Unable to connect to test manager on 4508569e667fe8456bd64e18cf60d6f60016d632
17:17:15.286 xcodebuild[34000:812224] _finishWithError:Error Domain=IDETestOperationsObserverErrorDomain Code=3 "Unable to connect to test manager on 4508569e667fe8456bd64e18cf60d6f60016d631" UserInfo={NSLocalizedDescription=Unable to connect to test manager on 4508569e667fe8456bd64e18cf60d6f60016d632}
me too
it works with my iPhone8, but not iPhone7Pluse, weird.
09:50:51.201 Xcode[61821:1826688] Beginning test session WebDriverAgentRunner-FB6C13E4-2F6B-4133-9239-83FE996F1690 at 2018-01-16 09:50:51.198 with Xcode 9C40b on target <DVTiOSDevice: 0x7f8dd44bb3b0> {
deviceSerialNumber: F2LSX1FQHFYF
identifier: 9780d87ba9b367a9f43e2bd614f7a31870491527
deviceClass: iPhone
deviceName: Baduncle
deviceIdentifier: 9780d87ba9b367a9f43e2bd614f7a31870491527
productVersion: 11.1
buildVersion: 15B93
deviceSoftwareVersion: 11.1 (15B93)
deviceArchitecture: arm64
deviceTotalCapacity: 252471386112
deviceAvailableCapacity: 124102934528
deviceIsTransient: NO
ignored: NO
deviceIsBusy: NO
deviceIsActivated: YES
deviceActivationState: Activated
isPasscodeLocked: NO
deviceType: <DVTDeviceType:0x7f8dd1f8c9b0 Xcode.DeviceType.iPhone>
supportedDeviceFamilies: (
1
)
applications: {(
<DTDKApplication: 0x7f8db46cb1a0>: TeamViewer (/private/var/containers/Bundle/Application/FA171789-878A-44AA-BD66-8CE2C6D82463/RemoteControl.app),
......
09:50:52.145 Xcode[61821:3045803] Error starting test manager service: Error Domain=XCTMobileDeviceFramework Code=101 "kAMDMuxConnectError: Could not connect to the device." UserInfo={NSLocalizedDescription=kAMDMuxConnectError: Could not connect to the device.}
09:50:52.149 Xcode[61821:3045672] Error returned from opening test runner connection: Error Domain=com.apple.dt.xctest.error Code=4 "Unable to connect to test manager on 9780d87ba9b367a9f43e2bd614f7a31870491527" UserInfo={NSLocalizedDescription=Unable to connect to test manager on 9780d87ba9b367a9f43e2bd614f7a31870491527, NSUnderlyingError=0x7f8db34b93e0 {Error Domain=XCTMobileDeviceFramework Code=101 "kAMDMuxConnectError: Could not connect to the device." UserInfo={NSLocalizedDescription=kAMDMuxConnectError: Could not connect to the device.}}}
09:50:52.149 Xcode[61821:1826688] Failed to make test runner session:
Error Domain=com.apple.dt.xctest.error Code=4 "Unable to connect to test manager on 9780d87ba9b367a9f43e2bd614f7a31870491527" UserInfo={NSLocalizedDescription=Unable to connect to test manager on 9780d87ba9b367a9f43e2bd614f7a31870491527, NSUnderlyingError=0x7f8db34b93e0 {Error Domain=XCTMobileDeviceFramework Code=101 "kAMDMuxConnectError: Could not connect to the device." UserInfo={NSLocalizedDescription=kAMDMuxConnectError: Could not connect to the device.}}}
09:50:52.149 Xcode[61821:1826688] Test operation failure: Unable to connect to test manager on 9780d87ba9b367a9f43e2bd614f7a31870491527
09:50:52.150 Xcode[61821:1826688] _finishWithError:Error Domain=IDETestOperationsObserverErrorDomain Code=3 "Unable to connect to test manager on 9780d87ba9b367a9f43e2bd614f7a31870491527" UserInfo={NSLocalizedDescription=Unable to connect to test manager on 9780d87ba9b367a9f43e2bd614f7a31870491527}
Restarting my iPhone resolved the issue.
This pure Xcode issue. It didn't eve get to execute WDA
Most helpful comment
Restarting my iPhone resolved the issue.