Appium XCUITest中的代码签名证书错误

The*_*hna 2 ios-ui-automation appium-ios ios10

我正在尝试使用Appium XCUITest进行IOS 10的UI自动化。在运行脚本时,它尝试构建WebDriverAgent,但此刻失败。我已经通过用户界面添加了配置文件并在Xcode中添加了帐户,但是不确定XCUITest在运行时从何处获取配置文件,或者不确定是否需要提供某些所需功能的信息。

info Xcode Testing failed:
info Xcode  Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the project editor.
info Xcode  Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.0'
info Xcode ** TEST FAILED **
Run Code Online (Sandbox Code Playgroud)

小智 5

您可以按以下方式修复它:

从Finder输入以下路径:

/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
Run Code Online (Sandbox Code Playgroud)

打开: WebDriverAgent.xcodeproj

select the targets:
WebDriverAgentLib
WebDriverAgentRunner
go to General tab -> Signing
and place the team
Run Code Online (Sandbox Code Playgroud)

查看图片: 解决方案鸦片