如何在 Xcode 5 中重命名项目? [英] How do I rename a project in Xcode 5?

查看:23
本文介绍了如何在 Xcode 5 中重命名项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在 Xcode 5 中重命名项目?我需要采取哪些步骤?在过去,这总是一个非常棘手的手动过程.

How do I rename a project in Xcode 5? What steps do I need to take? In the past this was always a very tricky manual process.

推荐答案

嗯,答案在 Xcode 5 中非常非常非常简单!在左侧的项目导航器中,缓慢单击 2 x,项目文件名将是可编辑的.键入新名称.将出现一个带有警告的工作表,并列出 Xcode 5 认为它应该更改的所有项目.您可能可以信任它,但您应该检查它.该列表将包括 info.plist 和各种文件,以及来自 nib/xib 文件(如 MainMenu 菜单)的所有相关字符串.

Well, the answer is very very very Apple simple in Xcode 5! In the Project Navigator on the left side, click 2 x slowly and the Project file name will be editable. Type the new name. A sheet will appear with a warning and will list all the items Xcode 5 believes it should change. You can probably trust it, but you should inspect it. The list will include the info.plist and various files, but also all the relevant strings from nib/xib files like MainMenu menus.

接受更改,您将收到保存项目快照的提示.当 Xcode 询问时总是做一个快照,如果某些东西不起作用,它会很有用.

Accept the changes and you will get the prompt to save a snapshot of the project. Always make a snapshot when Xcode asks, it will be useful to restore if something does not work.

这篇关于如何在 Xcode 5 中重命名项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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