本文介绍了复制 XCode 项目给了我旧的 myproject.app的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

我通过复制和粘贴文件夹复制了我的项目.

I have duplicated my project by copying and pasting the folders.

然后在项目内部我重命名了项目名称,因此它会弹出一个要求重命名目标的窗口.

Then inside the project I renamed the project name so it pops a window asking to rename the target.

我以前做过两次都没有问题,但这一次,在 Products 文件夹中,myproject.app 文件仍然是旧的.

I've done this twice before with no problems, but this time, inside the Products folder the myproject.app file is still the old one.

新的没有出现在我的方案选项中,所以我不知道还能做什么.

The new one does not appear on my scheme options, so I don't know what else to do.

Xcode 抱怨图标文件不再存在.

Xcode complains about an icon file that doesn't exist anymore.

有什么办法可以解决吗?还有其他方法可以复制项目吗?

Is there anyway to fix it; is there some other way to duplicate projects?

推荐答案

我使用 XCode 4.2 复制项目的解决方案是复制并粘贴项目文件夹,然后打开新文件夹.

My solution for duplicating a project with XCode 4.2 is copying and pasting the project folder then opening the new one.

单击左侧的项目名称(Project Navigator),然后重命名.

Click once on the project name on the left (Project Navigator), then rename it.

系统将提示您重命名您拥有的任何目标.只需点击重命名.

You will be prompted to rename whatever targets you have. Just click rename.

然后在您的目标构建设置上更改产品名称属性.

Then on your target build settings change the Product Name property.

这篇关于复制 XCode 项目给了我旧的 myproject.app的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-06 22:23