fuzzygoat
fuzzygoat

Reputation: 26223

Does Clang-LLVM work for iPhone?

I am currently using Xcode 3.2.1 for learning the iPhone SDK and was wondering if its possible to use the Clang-LLVM and the static-analyser to aid in debugging my code. Currently I am using the default templates, but swapping the compiler in project>settings gives me errors when compiling for the simulator. Is this possible?

gary

Upvotes: 0

Views: 245

Answers (1)

cdespinosa
cdespinosa

Reputation: 20799

Yes and no.

You can use the Clang static analyzer on your Objective-C code (with the Build and Analyze menu item), but you cannot use clang or llvm-gcc4.2 to build an application.

Upvotes: 1

Related Questions