运行Appium Inspector时出现Xcode 65错误

c9qzyr3d  于 2023-02-05  发布在  其他
关注(0)|答案(1)|浏览(133)

我在运行Appium Inspector时遇到此错误:
无法创建会话。处理命令时发生未知的服务器端错误。原始错误:由于xcodebuild失败,无法启动WebDriverAgent:xcodebuild失败,代码65 xcodebuild错误消息
我的版本:Xcode版本-14.2设备版本-1.22.3
在Xcode中打开**"WebDriverAgent. xcodeproj"**并看到此故障:
ld:无法直接与dylib/framework链接,您的二进制文件不是体系结构arm64的/Applications/www.example.com的允许客户端Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks/XCTAutomationSupport.framework/XCTAutomationSupport for architecture arm64
有关系吗?

hgtggwj0

hgtggwj01#

有这个问题,我遵循了这些步骤:

  1. npm卸载应用程序
  2. npm安装-g appium@next
  3. appium插件安装执行驱动程序
  4. appium -pa /wd/hub --使用插件执行驱动程序
  5. appium驱动程序安装xcuitest
    1.设备驱动程序安装uiautomator 2
    溶液取自:https://github.com/appium/appium/issues/17497

相关问题