我放了。格诺和。Gcda文件在cover文件夹中并执行命令。lcov --capture --directory cover --output-file coverage.info --no-recursion
遇到的错误如下:Processing RFPushView.gcda geninfo: WARNING: could not open /Users/.../cover/Masonry/Masonry/MASUtilities.h geninfo: WARNING: some exclusion markers may be ignored Processing RFThemeConfigutation.gcda Processing UIView+RFThemeColor.gcda Processing RFThemeConfigutationS2.gcda Processing UIImage+RFExtends.gcda Finished .info-file creation
然后运行genhtml命令genhtml -o html coverage.info --show-details,错误如下:Processing file /Users/lilong/.../cover/Masonry/Masonry/MASUtilities.h genhtml: ERROR: cannot read /Users/..../cover/Masonry/Masonry/MASUtilities.h
我发现RFPushView使用砌体。如果我从RFPushView中删除了砌体,lcov和genhtml将不会报告错误。但我绝对需要砖石。有谁可以帮我?
发布于 2022-07-20 16:55:07
确保正在使用应用程序最初编译时所在目录中的.info文件生成.gcda文件。
https://stackoverflow.com/questions/70110663
复制相似问题