简体   繁体   中英

How do I rename a project in Xcode?

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

Xcode的最新版本在“项目”菜单中具有“重命名...”项。

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.

图1图2

Source: iOS Developer Library Technical Q&A QA1625

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM