Ios 无法启动WebDriverAgent,因为;原始错误:xcodebuild失败,代码为65“;

Ios 无法启动WebDriverAgent,因为;原始错误:xcodebuild失败,代码为65“;,ios,xcode,katalon-studio,Ios,Xcode,Katalon Studio,我遇到这样一个问题:当我尝试在IOS手机上使用自动化软件时,在手机上安装应用程序时,会跳出“由于xcodebuild失败而无法启动WebDriverAgent:xcodebuild失败,代码为65”错误消息 详情如下: java.util.concurrent.ExecutionException: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check

我遇到这样一个问题:当我尝试在IOS手机上使用自动化软件时,在手机上安装应用程序时,会跳出“由于xcodebuild失败而无法启动WebDriverAgent:xcodebuild失败,代码为65”错误消息

详情如下:

java.util.concurrent.ExecutionException: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: 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:
. 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.
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'richard-lum-mac.zii.lan', ip: '192.168.237.97', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.15.5', java.version: '1.8.0_181'
Driver info: driver.version: IOSDriver
remote stacktrace: UnknownError: 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:
. 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 getResponseForW3CError (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:804:9)
    at asyncHandler (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:381:37)
    at runNextTicks (internal/process/task_queues.js:58:5)
    at processImmediate (internal/timers.js:434:9)
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'richard-lum-mac.zii.lan', ip: '192.168.237.97', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.15.5', java.version: '1.8.0_181'
Driver info: driver.version: IOSDriver
我使用的是MacBook,自动化软件(Katalon)的试用版。我的Xcode构建成功,没有错误消息,自动管理签名已完成。我尝试了所有我能在网上找到的解决方案,但我仍然无法解决这个问题,我在这个网站上找到的关于这个问题的最后一个解决方案是在2017年10月,而且没有有效的解决方案

其他资料:

  • MacBook版本:Catalina 10.15.5 IOS:iPhone7(14.1版) 卡塔隆版本:7.7.2 Xcode版本:12.1版(12A7403)

  • xcode不会在我的手机中安装webdriveragent,当我尝试在终端中使用xcodebuild-project webdriveragent.xcodeproj-scheme WebDriverAgentRunner-destination“id=”测试时,会显示xcodebuild错误(我将UDID放在括号内)

  • 当我尝试使用Xcode在“设备和模拟器”中安装测试应用程序时,它将失败,并显示错误消息“无法安装XXX”

  • 我使用的应用程序在Mac和IOS之间是相同的版本,但一个来自开发者,一个来自应用商店。在运行Katalon之前,我已经通过应用商店在手机内安装了该应用

  • 如果需要,我可以提供更多信息。谢谢任何人的帮助