xcode 4.6 Target Build Setting missing the “Apple LLVM compiler 4.2 - … ” sections

前端 未结 1 669
时光说笑
时光说笑 2021-01-20 11:22

In xcode 4.6, I created a new project with multiple targets. One of my targets, an empty iOS application, is missing all of the \"Apple LLVM compiler 4.2 - ...\" sections f

相关标签:
1条回答
  • 2021-01-20 12:05

    When I created a new project with an initial target that was an OS X Bundle (see step 3 on how to replicate the situation in the question), the default setting for all added targets inherit the projects settings which in this case were for OS X. When I added and iOS Empty Application target, the "Build Settings" were 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 Settings" to display for the iOS Empty Application target by changing the Project's (not any of the Targets') "Build Settings" "Architectures" section in the following manor:

    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 the iOS Empty Application target's Build Settings" and there are the "Apple LLVM compiler 4.2 - ..." sections.

    0 讨论(0)
提交回复
热议问题