O'Reilly logo

Xcode 4 iOS Development by Steven F. Daniel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – setting up the LLVM compiler

To set up your project to use the LLVM Compiler, you will need to adjust the settings for your project workspace by following these simple steps:

  1. In the project navigator, select and highlight your project.
  2. Select and click on your Target.
  3. Select the Build Settings tab.
  4. Scroll down to the C/C++ Compiler Version.
  5. Select the LLVM compiler 2.0 option from the list.

The following screenshot shows you how to go about setting the project target to use the LLVM 2.0 Compiler:

Time for action – setting up the LLVM compiler

Now that you have changed the default compiler to use the LLVM Compiler 2.0, your project will start to use and compile all code using this ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required