-
Notifications
You must be signed in to change notification settings - Fork 0
How to change the IOS Bolilerplate project name
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"
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).
Create a new scheme for the new name of the project.
Select the new target and name it with the same name.
Go to Manage scheme to delete the old target.
Select the boilerplate target and click in the subtracting icon at bottom left.
Delete it!!
Go to build settings in "MyProject" target and search for boilerplate-info.plist. We need to change it with the new target name.
Tutorial based and improved from here https://github.com/adrianortuzar/boilerplate-ios/wiki/How-to-change-the-project-name