您好我正在尝试生成reaport,但我收到的警告如下,并且没有生成报告。请问你帮帮我吗?
[警告]:NST文件:/Users/xxxx/.fortify/sca6.2/build/yyyyy/Classes/AFNetworking/AFHTTPClient.m.nst不存在或已删除。
我正在使用以下步骤扫描代码。除了步骤1和步骤1之外,我在扫描代码期间的第三步中收到警告2正在为我工作。
sourceanalyzer-4.21 -b $ {project} -clean
sourceanalyzer-4.21 -Xmx3G -debug -b $ {project} -logfile $ {project} -trans.log xcodebuild -project $ {project} .xcodeproj -sdk iphonesimulator7.1
sourceanalyzer-4.21 -Xmx3G -b $ {project} -scan -f $ {project} .fpr
ReportGenerator -format pdf -f $ {project} .pdf -source $ {project} .fpr
答案 0 :(得分:0)
Fortify generates NST files during compilation, these NST files together generate one combined FPR file. If NST files are not generated, then you may not get an appropriate fpr.
sourceanalyzer-4.21 -Xmx3G -debug -b ${project} -logfile ${project}-trans.log xcodebuild -project ${project}.xcodeproj -sdk iphonesimulator
If you want to use iphoneos sdk, you must make sure that "i386" is listed in the Valid Architectures setting.