1
我是Clang分析器的新手,我試圖使用scan-build生成報告。當使用掃描構建如下:使用Clang Analyzer生成報告 - scan-build
./scan-build --use-analyzer=/build/Debug+Asserts/bin/clang -v -o report_location sample.xcodeproj
我總是得到如下錯誤:
scan-build: Using `/build/Debug+Asserts/bin/clang' for static analysis ; Can't exec "sample.xcodeproj":
Permission denied at ./scan-build line 1029. ;
scan-build: Removing directory 'report_location/2013-06-25-1' because it contains no reports. ;
scan-build: No bugs found.
請幫我解決這個問題。