Xcode没有构建包含更改的应用程序 [英] Xcode not building app with changes incorporated

查看:143
本文介绍了Xcode没有构建包含更改的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

升级到Lion之后,Xcode 4.1不再构建我的iOS应用程序,其中包含最新的更改(即代码,包名称,图标更改)。

After upgrading to Lion, Xcode 4.1 is no longer building my iOS apps with the latest changes incorporated (i.e code, bundle name, icon changes).

之前升级,当我使用Snow Leopard时,无论发生什么变化,或者即使我用Finder替换Xcode之外的文件或使用外部文本编辑器,Xcode总是会构建一个包含所有更改的新副本,而不会做任何额外的步骤。

Before the upgrade, when I was using Snow Leopard, no matter what the change, or even if I replaced a file outside of Xcode with Finder or used an external text editor, Xcode would always build a fresh copy with all of the changes incorporated, without having to do any extra steps.

现在,Xcode似乎坚持使用以前的版本,这是我能确定它将使用所有更改构建的唯一方法合并后,从主菜单中执行产品>清理,然后重新启动Xcode。

Now, Xcode seems to insist on using a previous version, and the only way I can be sure that it will build with all of the changes incorporated is do a Product > Clean from the main menu and then restart Xcode.

这里发生了什么?我缺少一个简单的设置吗?我从来没有做任何事情,除了当我在Snow Leopard上时单击Run,并且所有更改总是在没有故障的情况下合并。如果我无法修复此问题,我将恢复到Snow Leopard。

What's going on here? Is there a simple setting that I am missing? I never had to anything except click Run when I was on Snow Leopard, and all changes were always incorporated without a glitch. If I can't fix this I am going to revert to Snow Leopard.

推荐答案

删除应用中的Build文件夹您的计算机上的文件夹,然后再次尝试运行该应用这应该解决它。

Delete the "Build" folder in your app's folder on your computer and try running the app again. That should fix it.

这篇关于Xcode没有构建包含更改的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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