appium 之前就跑过真机,没跑过模拟器,
** TEST EXECUTE FAILED **
[XCUITest] Testing started".
[XCUITest] Quitting and uninstalling WebDriverAgent
[XCUITest] Shutting down sub-processes
[XCUITest] Removing WDA application from device
[XCUITest] Error: Unable to launch WebDriverAgent because of xcodebuild failure: "xcodebuild failed with code 65
[XCUITest] xcodebuild error message:
[XCUITest]
[XCUITest] 2021-04-08 16:38:17.020 xcodebuild[6983:358839] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphonesimulator14.4-x86_64.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/caoyichen/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/WebDriverAgentRunner_iphonesimulator14.4-x86_64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7ff0c46d0690 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
这个是报错,貌似又是证书问题,之前真机也遇到过,不过真机可以让研发在上面打包,那模拟器怎么处理,他打完包发我安装,另在确认下是证书导致的吗
我的 descapability{
"platformName": "iOS",
"platformVersion": "14.4",
"deviceName": "iPhone 8",
"app": "/Users/XXXXX/Downloads/italki.app",
"automationName": "XCUITest",
"udid": "FC761B60-0F05-433C-B8D8-3BEC94C8AEFD",
"xcodeOrgId": "CJ9GLCFHHY",
"xcodeSigningId": "iPhone Developer"
}


↙↙↙阅读原文可查看相关链接,并与作者交流