Duplicanting XCode project gives me the old myproject.app

╄→гoц情女王★ 提交于 2019-12-12 01:32:00

问题


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.

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 complains about an icon file that doesn't exist anymore.

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


回答1:


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

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.



来源:https://stackoverflow.com/questions/10199288/duplicanting-xcode-project-gives-me-the-old-myproject-app

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!