I am evaluating the use of clang scan-build as one of my build steps in my Jenkins iOS build job. I first tried running the scan-build on command line using the following command
../clang-scan/scan-build -k -v -v -o "/Users/admin/clangScanBuildReports" -v xcodebuild -workspace AppsWorkspace.xcworkspace -scheme testapp -configuration Debug -arch i386 -sdk iphonesimulator clean build
The above command works fine, however, when I try to use the architecture as armv6 or armv7, it gives me the following error: Check dependencies [BEROR]No architectures to compile for (ARCHS=armv6, VALID_ARCHS=i386).
Wanted to confirm if clang static analyzer can't be executed on armv6 or armv7 architectures, can it only be executed for i386?
Thanks, Asheesh