Wednesday, 8 April 2015

ios, change app name without changing bundle identifer

Because I use parse, so I did a lot cert routines :

My bundle identifier is written and embedded in certs, So I can't change bundle. If I do, i need redo all cert routines again.

However, you can see you bundle identifier contains bundle name and bundle name is your project's name. which means if you change your project name, it will change your bundle name. After that you app is a totally new app. and you need redo cert routines. (However I also explains how to do this at end of this post.)

To avoid changing bundle identifier you can do:


go to Targets->info->Bundle Display Name and change it to whatever you want.

You may not have "Bundle display name" you need add one by:

Alternatively, to change project name :

  1. Click twice slowly on the project root in the project navigator and then it becomes editable.
    enter image description here
  2. Rename the project.
    enter image description here
  3. After pressing 'ENTER' the assistant will suggest you to automatically change all project-name-related entries and will allow you to de-select some of them, if you want.
    enter image description here

No comments:

Post a comment