Appium错误Xcode找不到与

Appium错误Xcode找不到与

本文介绍了Appium错误Xcode找不到与'com.facebook.WebDriverAgentRunner'匹配的配置文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在真实的iOS设备上执行自动化时遇到问题系统配置:鸦片1.6.0设备iPhone 5c(iOS 10.1)xCode 8.2

I have problem executing automation on real iOS devicesystem configuration:appium 1.6.0device iPhone 5c (ios 10.1)xCode 8.2

例外是:

[Xcode]
Testing failed:
    No profiles for 'com.facebook.WebDriverAgentRunner' were found:  Xcode couldn't find a provisioning profile matching 'com.facebook.WebDriverAgentRunner'.
    Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.1'
** TEST FAILED **


The following build commands failed:
    Check dependencies
(1 failure)

[XCUITest] xcodebuild exited with code '65' and signal 'null'
[XCUITest] Error: xcodebuild failed with code 65
    at SubProcess.<anonymous> (lib/webdriveragent.js:294:25)
    at emitTwo (events.js:106:13)
    at SubProcess.emit (events.js:191:7)
    at ChildProcess.<anonymous> (lib/teen_process.js:191:14)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
 Error: xcodebuild failed with code 65
    at SubProcess.<anonymous> (lib/webdriveragent.js:294:25)
    at emitTwo (events.js:106:13)
    at SubProcess.emit (events.js:191:7)
    at ChildProcess.<anonymous> (lib/teen_process.js:191:14)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
[debug] [XCUITest] Running ios real device reset flow
[debug] [XCUITest] Resetting simulator
[debug] [iOSLog] Stopping iOS log capture
[MJSONWP] Encountered internal error running command: Error: xcodebuild failed with code 65
    at SubProcess.<anonymous> (lib/webdriveragent.js:294:25)
    at emitTwo (events.js:106:13)
    at SubProcess.emit (events.js:191:7)
    at ChildProcess.<anonymous> (lib/teen_process.js:191:14)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)

在xCode中,当我尝试签名WebDriverAgentRunner时,似乎无法创建配置文件,并且找不到"com.facebook.WebDriverAgentRunner"的配置文件

In xCode it seems that when I tried to sign WebDriverAgentRunner it failed to create provisioning profile andNo profiles for 'com.facebook.WebDriverAgentRunner' were found

-----编辑-------

-----Edit-------

尝试使用我的免费开发者帐户签署WebDriverAgentRunner后,我得到xcode中出现以下错误

After trying to sign WebDriverAgentRunner with my free developer account I getthe following error in xcode

请协助.

推荐答案

我在签署"WebDriverAgentRunner"时遇到相同的问题,因为它没有任何目标应用程序可供选择,相应的字段显示为无".我在寻找解决方案时找到了此链接:
https://github.com/appium/appium/issues/7086

I am facing the same issue While signing "WebDriverAgentRunner" as it does not have any Target Application to select the corresponding field shows "None".I found this link while searching for the solution:
https://github.com/appium/appium/issues/7086

也许它可以为您提供帮助,尽管我还没有尝试过.但是,如果您有任何解决方法,也请在这里分享.

Maybe it can help you, although I haven't tried it yet. But if you get any resolution, please share it here also.

这篇关于Appium错误Xcode找不到与'com.facebook.WebDriverAgentRunner'匹配的配置文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-13 08:42