使用fastlane运行xcov时无法找到任何.xccoverage文件

问题描述 投票:4回答:1

这就是fastlane在控制台中打印的内容:

[10:25:55]: Unable to find any .xccoverage file.
[10:25:55]: Make sure you have enabled 'Gather code coverage' setting on your scheme settings.
[10:25:55]: Alternatively you can provide the full path to your .xccoverage file.

如何强制它提供我的.xccoverage文件的完整路径?

  • 我很确定Gather覆盖已启用;)
  • 使用Xcode 10和iOS 12,Swift 4.2
ios xcode code-coverage fastlane
1个回答
2
投票

我在迁移到Swift 4.2和XCode 10时遇到了这个问题。

您是否将xcov更新为1.5版?它解决了我的问题。

© www.soinside.com 2019 - 2024. All rights reserved.