Node.js 无法为automationName';加载驱动程序;xguitest';和平台名';iOS';。请验证您的Appium安装

Node.js 无法为automationName';加载驱动程序;xguitest';和平台名';iOS';。请验证您的Appium安装,node.js,appium,appium-ios,wdio-v4,Node.js,Appium,Appium Ios,Wdio V4,我使用npm的appium命令作为全局命令,我在一个wdio项目中使用appium作为依赖项 package.json ... "appium": "^1.17.1", "wdio-appium-service": "^0.2.3", "wdio-cucumber-framework": "^0.3.1", "webdriverio": "^4.8

我使用npm的appium命令作为全局命令,我在一个wdio项目中使用appium作为依赖项

package.json

...
"appium": "^1.17.1",
"wdio-appium-service": "^0.2.3",
"wdio-cucumber-framework": "^0.3.1",
"webdriverio": "^4.8.0"
...
项目的环境正在使用节点v8.16.0

我曾经使用Appium 1.16.1,一切都很好

功能

{
  appiumVersion: '1.17.1',
  deviceName: 'iPhone 11',
  platformName: 'iOS',
  deviceOrientation: 'portrait',
  platformVersion: '13.1',
  app: ***.app.zip,
  automationName: 'XCUITest',
  newCommandTimeout: 480,
  fullReset: false
}
我最近将Appium更新为1.17.1(包括全局命令和本地依赖项),并运行我开始的测试,发现以下错误:

ERROR: An unknown server-side error occurred while processing the command. Original error: Could not load a driver for automationName 'XCUITest' and platformName 'iOS'. Please verify your Appium installation
iphone11.ios.13_2.app_zip
您可以使用来验证您的环境是否正确设置并满足每个平台的Appium要求

安装它:

npm install appium-doctor -g
使用它:

appium-doctor --ios

它将显示缺少的内容。

嗨!谢谢你的回答。。我已经运行了那个命令,但只收到了警告。