我试图通过OCLint分析我的工程并生成一个html报告。我已经安装xctool并json使用此命令生成文件:
xcodebuild -workspace SecondHand.xcworkspace -scheme SecondHand -sdk iphonesimulator build | tee xcodebuild.log | xcpretty -r json-compilation-database --output compile_commands.json
我用OCLint 分析生成的compile_commands.json时,没有成功,报了一个错:
1 error generated.
1 error generated.
oclint: error: cannot open report output file /Users/liyaowei/Desktop/ffstpcommon_V1.6.0/SecondHand/oclint.xml
谁遇到过麻烦帮着看看
- 2
新手上路,请多包涵我也遇到这个问题,我在github上看到这个帖子https://github.com/oclint/ocl...
遇到的人也没给出有效的解决方法