Xcode 4.6 Target Build Setting Missing "Apple LLVM compiler 4.2 -..."

In xcode 4.6 I created a new project with multiple targets. One of my targets, a blank iOS app, skips all "Apple LLVM compiler 4.2 -..." sections from the target build settings. Has anyone else seen this? Any idea on how to get them to display?

I can repeat the situation sequentially in six steps:

  • Start xcode 4.6
  • File -> New -> Project ...
  • Select OS X Platform & Library -> Bundle (accept all defaults)
  • In this project File -> New -> Target ...
  • Select iOS app -> Blank App (accept all defaults)
  • Go to iOS Application Target "Build Settings", ignore the "Apple LLVM compiler 4.2 -..." sections

With Apple LLVM sections compiler 4.2 -... With "Apple LLVM compiler 4.2 - ..." sections

No-section Apple LLVM compiler 4.2 -... enter image description here

+3


source to share


1 answer


When I created a new project with the initial target, which was an OS X package (see step 3 for how to replicate the situation in the question), the default setting for all added targets inherits the project settings, which in this case were for OS X. When I added an iOS Empty Application target, "Build Settings" was correct, but the "Apple LLVM compiler 4.2 -..." sections were missing.

I was able to get the "Apple LLVM compiler 4.2 -..." sections in the "Build Options" to display for the IOS Empty Application target by changing the Project (none of the Target ') "Build Settings" "Architectures" in the following estate:

Base SDK

from: Latest OS X (OS X 10.8)

to:Latest iOS (iOS 6.1)



Architectures

from: 64-bit Intel

to:Standard (armv7, armv7s)

Then click on IOS Empty Application build settings and the Apple LLVM compiler 4.2 -... sections will appear.

0


source







All Articles