Ios 使用fastlane运行xcov时找不到任何.xCoverage文件

Ios 使用fastlane运行xcov时找不到任何.xCoverage文件,ios,xcode,code-coverage,fastlane,Ios,Xcode,Code Coverage,Fastlane,这是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. [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. [10:25:55]:找不到任何.xcoverage文件。 [10:25:55]:确保已在方案设置上启用“收集代码覆盖率”设置。 [10:25:55]:或者,您可以提供.xcoverage文件的完整路径。 如何强制它提供我的
.xcoverage
文件的完整路径?

  • 我非常确定已启用收集覆盖率;)
  • 使用Xcode 10和iOS 12,Swift 4.2

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

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

啊,是的,谢谢!“bundle update xcov”。我一直认为更新fastlane也会更新rest.FWIW,我发现Xcode 10和xcov 1.5也存在同样的问题。