Xcode 4:我的iPhone项目已成为Mac OS项目......我无法改变这一点 [英] Xcode 4: My iPhone projects have become Mac OS projects.. and I can't change this

查看:79
本文介绍了Xcode 4:我的iPhone项目已成为Mac OS项目......我无法改变这一点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个在Xcode 3下正确构建的iOS项目,这些iPhone已在应用程序商店中销售了一段时间。升级到Xcode 4后,Xcode现在认为这些是Mac OS项目!

I have two iOS projects that under Xcode 3 built properly and these iPhone been on sale in the app store for some time. After upgrading to Xcode 4, Xcode now thinks these are Mac OS projects!

当我选择项目设置>信息时,它实际上在顶部的Mac OS部署目标中显示了一个下拉列表,允许我选择10.4,10.5或10.6!这些都不是Mac OS项目。

When I select Project Settings > Info, it actually says at the top "Mac OS Deployment Target" with a drop down allowing me to select 10.4, 10.5 or 10.6! These are not nor ever have been Mac OS projects.

在我的构建设置中,Xcode允许我选择32位或64位Intel架构。不是armv6或armv7。

In my build settings, Xcode allows me to select 32 bit or 64 bit Intel architecture. not armv6 or armv7.

推荐答案

您需要更改构建设置。幸运的是,这很容易做到。

You need to change your build settings. Fortunately, this is really easy to do.

首先在Project Navigator中单击项目名称。

Start by clicking on your project's name in the Project Navigator.

现在,点击列表中出现的项目名称。 (您可能还需要为构建执行此操作。)

Now, click on your Project Name as it comes up in the list. (You may need to do this for your build as well.)

接下来,单击构建设置。最后,您应该能够将Base SDK更改为合适的SDK。

Next, click on Build Settings. Finally, you should be able to change your Base SDK to the appropriate one.

请注意,在显示的屏幕中选择目标后,您可能需要重复步骤3和4下面。

Note that you might need to repeat steps 3 and 4 after selecting your Target in the screen shown below.

这篇关于Xcode 4:我的iPhone项目已成为Mac OS项目......我无法改变这一点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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