我正在尝试使用 Appium XCUITest 实现 IOS 10 的 UI 自动化。
在运行脚本时,它尝试构建 WebDriverAgent,但此时失败。我已经添加了配置文件并通过 UI 在 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 **
您可以按如下方式修复它:
从Finder进入以下路径:
/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
open: WebDriverAgent.xcodeproj
select the targets:
WebDriverAgentLib
WebDriverAgentRunner
go to General tab -> Signing
and place the team
看图片:解决方案appium https://i.stack.imgur.com/Me9O6.png
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)