我正在尝试使用自动服务器将 Appium 1.12.1 连接到物理 iOS 设备。这些是我正在尝试的功能:
{
"browserName": "Safari",
"platformName": "iOS",
"platformVersion": "12.1",
"deviceName": "iPhone 6",
"automationName": "XCUITest",
"startIWDP": true,
"udid": "auto"
}
Run Code Online (Sandbox Code Playgroud)
我收到一个冗长的错误,开头是:
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."
Run Code Online (Sandbox Code Playgroud) 对于使用 WSL 扩展的我来说,按 F12 转到 VS Code 中的定义不起作用。
我通过打开截屏模式验证了 F12 能够被识别,并且通过卸载 WSL 扩展并在另一个项目中尝试 F12,WSL 导致了“转到定义”问题。
我还可以提供其他信息吗?几天前这对我有用,据我所知没有任何改变。我尝试了旧版本的 WSL 扩展,但无法让 Go To Definition 正常工作。
谢谢你!