Appium XCUITest中的代码签名证书错误 [英] Code signing certificate error in Appium XCUITest

查看:63
本文介绍了Appium XCUITest中的代码签名证书错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I am trying UI automation of IOS 10 using Appium XCUITest. On running script, it tries to build WebDriverAgent and fails at this point. I have added the provisioning profile and added the account in Xcode through the UI but not sure from where does XCUITest take the profiles while running or if we need to provide some information in desired capabilities.

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 **

推荐答案

您可以按以下步骤修复它:

You can fix it as follows:

从Finder输入以下路径:

enters from the Finder to the following path:

/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent

打开: WebDriverAgent.xcodeproj

select the targets:
WebDriverAgentLib
WebDriverAgentRunner
go to General tab -> Signing
and place the team

查看图片:解决方案应用

这篇关于Appium XCUITest中的代码签名证书错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆