Skip to content

How to change the IOS Bolilerplate project name

Adrian edited this page Aug 8, 2014 · 1 revision

Click twice slowly on the project root in the project navigator and then it becomes editable. Rename "boilerplate" for your project name. In this case we are going to call "MyProject"

screen shot 2014-08-08 at 14 33 34

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.

Press 'RENAME' and Xcode will do the rest. In the meanwhile Xcode may ask you about the option of making a snapshot of the project (it is very recommendable to do so).

screen shot 2014-08-08 at 14 33 48

Create a new scheme for the new name of the project.

screen shot 2014-08-08 at 14 34 07

Select the new target and name it with the same name.

screen shot 2014-08-08 at 14 34 28

Go to Manage scheme to delete the old target.

screen shot 2014-08-08 at 14 34 44

Select the boilerplate target and click in the subtracting icon at bottom left.

screen shot 2014-08-08 at 14 35 04

Delete it!!

screen shot 2014-08-08 at 14 35 19 screen shot 2014-08-08 at 14 35 34

Go to build settings in "MyProject" target and search for boilerplate-info.plist. We need to change it with the new target name.

screen shot 2014-08-08 at 14 36 25

screen shot 2014-08-08 at 14 36 51

Tutorial based and improved from here https://github.com/adrianortuzar/boilerplate-ios/wiki/How-to-change-the-project-name

Clone this wiki locally