当我试图用appium desktop启动会话时,我得到以下错误:
{
"platformName": "iOS",
"deviceName": "iPhone 7",
"udid": "93551a7d721b790b0188642402f1ada96892b816",
"app": "/Users/globalit/Desktop/IntegrationApp.app",
"automationName": "XCUITest",
"noReset": true
}
配置:IOS 11、OSX 10.12、Xcode 8.1、Appium Desktop 1.2.5
错误日志:
[Xcode] 2017-10-27 15:27:28.943 xcodebuild[871:24036] Error Domain=com.apple.platform.iphoneos Code=-12 "Unable to launch com.apple.test.WebDriverAgentRunner-Runner" UserInfo={NSLocalizedDescription=Unable to launch com.apple.test.WebDriverAgentRunner-Runner, NSUnderlyingError=0x7fd602a29400 {Error Domain=DTXMessage Code=1 "(null)" UserInfo={DTXExceptionKey=The operation couldn’t be completed. Unable to launch com.apple.test.WebDriverAgentRunner-Runner because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user. : Failed to launch process with bundle identifier 'com.apple.test.WebDriverAgentRunner-Runner'}}}
[Xcode] 2017-10-27 15:27:28.943 xcodebuild[871:24036] Error Domain=IDETestOperationsObserverErrorDomain Code=5 "Early unexpected exit, operation never finished bootstrapping - no restart will be attempted" UserInfo={NSLocalizedDescription=Early unexpected exit, operation never finished bootstrapping - no restart will be attempted}
[Xcode] ** TEST EXECUTE FAILED **
[Xcode]
[Xcode]
[XCUITest] xcodebuild exited with code '65' and signal 'null'
[BaseDriver] Event 'wdaStartFailed' logged at 1509098248985 (15:27:28 GMT+0530 (IST))
[XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: "xcodebuild failed with code 65". Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[XCUITest] Quitting and uninstalling WebDriverAgent, then retrying
[XCUITest] Shutting down sub-processes
[XCUITest] Shutting down iproxy process (pid 870)
[XCUITest] iproxy exited with code 'null'
[XCUITest] Removing WDA application from device
[XCUITest] Error: Unable to launch WebDriverAgent because of xcodebuild failure: "xcodebuild failed with code 65". Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
at XCUITestDriver.quitAndUninstall$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:381:13)
at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
Error: Unable to launch WebDriverAgent because of xcodebuild failure: "xcodebuild failed with code 65". Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
at XCUITestDriver.quitAndUninstall$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:381:13)
at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on.
[iOSLog] Stopping iOS log capture
[MJSONWP] Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: "xcodebuild failed with code 65". Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
at XCUITestDriver.quitAndUninstall$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:381:13)
at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[HTTP] <-- POST /wd/hub/session 500 29571 ms - 470
[HTTP] --> DELETE /wd/hub/session {}
[HTTP] No route found. Setting content type to 'text/plain'
[HTTP] <-- DELETE /wd/hub/session 404 13 ms - 57
请运行位于设备上的Xcode项目一次:/applications/appium.app/contents/resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/webdriveragent/webdriveragent.xcodeProj
如果你遇到任何问题请告诉我。
我是ios appium的新手,试图使用appium进行应用程序测试,我没有源代码也没有ios开发者帐户,该应用程序是从Crashlytics下载的。 Selenium.common.exceptions.WebDriverException在处理命令时发生未知的服务器端错误。原始错误:由于xcodebuild失败,无法启动WebDriverAgent:“xcodebuild失败,代码为65”。
我正在尝试使用Xcode在iPhone6模拟器上运行Amazon应用程序。 该应用程序正在安装在iPhone模拟器中,但无法与其元素进行交互。 Appium版本-1.7.2 Xcode版本9.2 平台Mac-10.12.6 下载了应用程序-即xxx.app.ipa 日志: [Xcode]2018-02-13 21:23:08.009 xcodebuild[9868:75242]Error Doma
我试图用Xcode在iPhone6模拟器上运行亚马逊应用程序。 该应用程序正在安装在iPhone模拟器中,但无法与它的元素交互。 Appium version-1.7.2 Xcode version9.2 Platform Mac-10.12.6 下载了应用程序-即xxx.app.ipa 日志: [Xcode]2018-02-13 21:23:08.009 xcodeBuild[9868:7524
当我试图从appium连接到真正的设备时,面临以下错误。有人帮忙解决这个问题吗 处理命令时发生未知的服务器端错误。原始错误:由于xcodebuild失败,无法启动WebDriverAgent:xcodebuild失败,代码为65 xcodebuild错误消息:2020-06-27 23:03:32.086 xcodebuild[11529:3726320]错误域=nscocoAerrorDomai
真实IOS设备上的Appium移动测试应用程序:我使用的是Apple IOS 6 plus,启用了UI自动化,我的电子邮件id受信任。不知道我有什么配置文件或证书。我被困在我们的应用程序在真正的IOS设备上的移动自动化中。 我已经在苹果上创建了一个开发者帐户。我已经配置了xcode并遵循了以下链接中的所有步骤: https://appium.io/docs/en/drivers/ios-xcuit
我试图在模拟器上用Appium启动一个iOS应用程序。 Appium:1.17.1版本 处理命令时发生未知的服务器端错误。原始错误:由于xcodebuild失败,无法启动WebDriverAgent:xcodebuild失败,代码为70 xcodebuild错误消息: (Selenium::WebDriver::error::unknownerror)unknownerror:处理命令时发生未知的