如何在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! 在左侧的Project Navigator中,缓慢点击2 x,Project文件名可以编辑。 键入新名称。 将出现一个工作表,并附带警告,并列出Xcode 5认为应该更改的所有项目。 你可能相信它,但你应该检查它。 该列表将包括info.plist和各种文件,还包括来自nib / xib文件(如MainMenu菜单)的所有相关字符串。
接受更改,您将获得保存项目快照的提示。 当Xcode询问时,总是创建一个快照,如果某些东西不起作用,则恢复有用。
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.
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.
更多推荐
发布评论