开发者

Does Clang-LLVM work for iPhone?

开发者 https://www.devze.com 2022-12-17 07:03 出处:网络
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 开发者_如何学Pythonstatic-analyser to aid in debugging my code. Currently I

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 开发者_如何学Pythonstatic-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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消