【发布时间】:2019-08-31 00:25:38
【问题描述】:
我正在尝试使用自动服务器将 Appium 1.12.1 连接到物理 iOS 设备。这些是我正在尝试的功能:
{
"browserName": "Safari",
"platformName": "iOS",
"platformVersion": "12.1",
"deviceName": "iPhone 6",
"automationName": "XCUITest",
"startIWDP": true,
"udid": "auto"
}
我收到一个冗长的错误,开头为:
An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: "xcodebuild failed with code 65 xcodebuild error message: 2019-04-09 10:14:08.626 xcodebuild[22198:212737] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos12.2-arm64.xctestrun” doesn’t exist."
【问题讨论】:
-
ios真机设置请查看this link