Monday, June 21, 2010

Clang to analyze IPhone Project

After learned how to use xcodebuild from previous post then using scan-build is easy

Just append scan-build in front of "xcodebuild command " eg

for me the command is:

~/Desktop/Application/checker-234/scan-build xcodebuild -configuration Debug -sdk iphonesimulator4.0

And you can view the output as it instruct:

Now, I have 21 bugs need to be fixed.
Publish Post

No comments:

Post a Comment