How do I rename a project in Xcode?

不羁岁月 提交于 2020-01-11 12:22:56

问题


i have a finished application written with objective c and I would like to rename the file. how do i do that?


回答1:


Recent versions of Xcode have a "Rename..." item in the Project menu.




回答2:


Renaming a project has changed in Xcode 4+. (Kris Markel's answer above is for Xcode 3.2.x )

Follow these steps to rename your application in Xcode 4.0 or later:

  1. In Xcode, select your target under "Targets" in the project editor, then choose View > Utilities > Show File Inspector.
  2. Xcode opens the file inspector pane. Enter your application's new name in the Project Name field as shown in Figure 1, then hit the return key on your keyboard.
  3. Xcode displays a project-rename dialog that contains all the items that can be renamed in your project. Leave your application selected in the dialog and deselect all other items as shown in Figure 2, then click Rename to perform the rename operation.

Source: iOS Developer Library Technical Q&A QA1625



来源:https://stackoverflow.com/questions/3868427/how-do-i-rename-a-project-in-xcode

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