How to rename a program?

Discussion in 'iOS Programming' started by jrdoner, Nov 26, 2009.

  1. jrdoner macrumors newbie

    Nov 26, 2009
    I have an app that I would like to keep in its present form, and also extend to a bigger app.

    I have made a copy of the app to work on, but of course it still has the name of the old program. I would like to change it's name, but I'm a little leery of simply changing the file relevant file names. (I tried to rename a viewcontroller once by renaming the h, m, and nib files, and it broke my program.)

    Is there a way to refactor that changes the whole program name?

    Thanks in advance for any help.

    John Doner
  2. drf1229 macrumors regular


    Jun 22, 2009
    To change the app's name so it shows up under a new name on a device:

    1. Right click your app under targets (in xcode of course). A popup should appear.

    2. Under configuration, select all configurations.

    3. Search "Product Name"

    4. Edit to your likings
  3. firewood macrumors 604

    Jul 29, 2003
    Silicon Valley
    Which name?

    There are at least 6 names to change. The project name, the target name, the product (.app file) name, the bundle identifier suffix, the bundle name that goes under the icon, and sundry files that can include the above names (app delegate, prefix and xib's). Plus there's a name you enter for the product in the App store.
  4. lloyddean macrumors 6502a

    May 10, 2009
    Des Moines, WA
    If you're using the latest version of Xcode you need only go to the "Project" menu and select (I'm not in front of a Mac at the moment so from memory) "Rename Project". You'll be presented with a list of things you can choose to rename in the course of renaming the project.


    Well now that I've Xcode in front of me I need to correct the above. In the Project menu select "Rename…"

Share This Page