Build and analyze with xcodebuild

Is there a way to do assembly and analysis like in Xcode using xcodebuild? I am using Xcode 3.2.2

+6
source share
3 answers

With Xcode 5, you can just do it $ xcodebuild [OTHER_OPTIONS] analyze.

+6
source

I don’t think so, however you can download the Clang Static Analyzer separately and use it on the command line, for example, before your build. The Build and Analysis option uses this particular project to perform the analysis. The output of the Clang parser consists of HTML files that you can automatically save for later viewing.

http://clang-analyzer.llvm.org/

+3

, . "".

: xcodebuild analyze -workspace YourWorkspace.xcworkspace -scheme YourSchemeName -sdk iphoneos -configuration Release

0

All Articles