没有&com; com.facebook.WebDriverAgentRunner'被找到

时间:2016-10-19 12:56:34

标签: xcode facebook appium appium-ios

所以我试图将我的测试移到开始使用新的XCUITest驱动程序,当我按照文档安装WebDriverAgentRunner时,我遇到的问题似乎与代码签名有关。到目前为止,我一直在搜索并找不到任何有相同问题的人,所以我正在寻找一些关于我做错的指导。

我已按照本文档中的所有步骤进行操作 - https://github.com/appium/appium-xcuitest-driver/blob/master/README.md

当我在模拟器上运行它时似乎是成功的,但是当在REAL设备上运行它时,它会给我带来问题。

这是我运行时的输出

  

xcodebuild -project WebDriverAgent.xcodeproj -scheme   WebDriverAgentRunner -destination   ' ID = ae69b635db6e40c3f7719eb8f81c24e200028564'测试

输出 - >

=== BUILD TARGET WebDriverAgentRunner OF PROJECT WebDriverAgent WITH CONFIGURATION Debug ===

Check dependencies
The file “ProjectSettings.xcconfig” couldn’t be opened because there is no such file. (/usr/local/lib/node_modules/appium-xcuitest-driver/WebDriverAgent/Configurations/ProjectSettings.xcconfig)
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.0'
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.0'
No profiles for 'com.facebook.WebDriverAgentRunner' were found:  Xcode couldn't find a provisioning profile matching 'com.facebook.WebDriverAgentRunner'.
2016-10-19 09:15:07.930 xcodebuild[98516:8284369] Error Domain=IDETestOperationsObserverErrorDomain Code=3 "Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/trent/Library/Developer/Xcode/DerivedData/WebDriverAgent-gvltwgknevnwclanwpylmjozekma/Logs/Test/880BC4BB-80AD-4D0B-8D9A-52368970AEB8/Session-WebDriverAgentRunner-2016-10-19_091503-rg0a32.log" UserInfo={NSLocalizedDescription=Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/trent/Library/Developer/Xcode/DerivedData/WebDriverAgent-gvltwgknevnwclanwpylmjozekma/Logs/Test/880BC4BB-80AD-4D0B-8D9A-52368970AEB8/Session-WebDriverAgentRunner-2016-10-19_091503-rg0a32.log}
Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.0'
Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.0'


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.0'
** TEST FAILED **

0 个答案:

没有答案