xcode 4.6 目标构建设置缺少“Apple LLVM 编译器 4.2 - ..."部分 [英] xcode 4.6 Target Build Setting missing the "Apple LLVM compiler 4.2 - ... " sections

查看:25
本文介绍了xcode 4.6 目标构建设置缺少“Apple LLVM 编译器 4.2 - ..."部分的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 xcode 4.6 中,我创建了一个具有多个目标的新项目.我的目标之一,一个空的 iOS 应用程序,缺少目标构建设置中的所有Apple LLVM 编译器 4.2 - ..."部分.还有人看到这个吗?关于如何让它们显示的任何想法?

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 from the Target Build Settings. Anyone else seen this? Any idea on how to get them to display?

我能够通过六个步骤一致地复制这种情况:

I am able to replicate the situation consistently in six steps:

  1. 启动 xcode 4.6
  2. 文件 --> 新建 --> 项目...
  3. 选择一个 OS X 框架 &库 --> 捆绑(接受所有默认值)
  4. 在该项目中,文件 --> 新建 --> 目标...
  5. 选择一个 iOS 应用程序 --> 空应用程序(接受所有默认值)
  6. 转到 iOS 应用程序目标的构建设置",注意没有Apple LLVM 编译器 4.2 - ..."部分

带有Apple LLVM 编译器 4.2 - ..."部分

没有Apple LLVM 编译器 4.2 - ..."部分

推荐答案

当我创建一个初始目标为 OS X Bundle 的新项目时(有关如何复制问题中的情况,请参阅第 3 步),默认情况下所有添加的目标的设置继承了在这种情况下用于 OS X 的项目设置.当我添加 iOS 空应用程序目标时,构建设置"是正确的,但Apple LLVM 编译器 4.2 - ..."部分丢失了.

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.

通过更改项目,我能够在构建设置"中为 iOS 空应用程序目标显示Apple LLVM 编译器 4.2 - ..."部分(不是任何目标) 以下庄园中的构建设置"架构"部分:

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 从:最新 OS X (OS X 10.8) 到:最新 iOS (iOS 6.1)

架构从:64-bit Intel 到:Standard (armv7, armv7s)

然后点击 iOS Empty Application 目标的 Build Settings",有Apple LLVM compiler 4.2 - ..."部分.

Then click on the iOS Empty Application target's Build Settings" and there are the "Apple LLVM compiler 4.2 - ..." sections.

这篇关于xcode 4.6 目标构建设置缺少“Apple LLVM 编译器 4.2 - ..."部分的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆