So my project name is still MyFirstGame
How do I change that?
I'm sure noone has ever asked this before
(O:
A fast, easy to use, free, and community supported 2D game engine
So my project name is still MyFirstGame
How do I change that?
I'm sure noone has ever asked this before
(O:
I went through this process a long time ago and I recall it was painful. I eventually got it to work based on some discussion over on iphonedevsdk. Given how finicky xcode can be, I find it just as easy anymore to create a new project and bring all my resources, classes, etc over into the new project. Yeah, you can spend an hour doing that but you'll easily blow that much time and probably more + the frustration trying to change the name within an existing project.
I thought somebody wrote a script for renaming a project. I do it manually, takes about 5 minutes - here are my notes.
1. Copy original folder and rename copy to new name
2. Rename xCode project in the newly copied project directory
3. Delete build directory in the newly copied project directory
4. Open XCode project in the newly copied project directory
5. Edit Bundle display name in Info.plist (if it is just $PRODUCT then leave)
6. Rename target (Expand targets, control click on MyFirstGame target and select rename)
7. Select renamed target, click on info, make sure "All configurations" is selected, change "Product Name" under Packaging to new product name
Thanks Steve for the notes. I can say for sure the deletion of the build directory is a big one not too over look as that's what jammed me up before.
I've added your steps to the Tips page under xCode.
There's an App for that! ;)
Oh no, wait, it's a tool. It's aptly named "Rename xCode Project" by Michele Ferretti. It's one of my trusty little companions.
Here's the download:
http://www.macupdate.com/info.php/id/17683/rename-xcode-project
http://www.macupdate.com/info.php/id/17683/rename-xcode-project
http://mac.softpedia.com/get/Utilities/Rename-Xcode-Project.shtml
http://www.versiontracker.com/dyn/moreinfo/macosx/26357
http://mac.rbytes.net/cat/mac/utilities/rename-xcode-project/
http://download.cnet.com/Rename-xCode-Project/3000-2247_4-65144.html
http://software.techrepublic.com.com/abstract.aspx?docid=499393
Ooh! Thanks! I had no idea something like that existed. Here, I am doing it manually all the time.
BTW, does anyone know of a good app to create XCode project templates? I've been doing them manually and it's a pain. I've downloaded some that don't work very well.
Just to make an update to this. You can now go to Project and then to Rename.
Very simple :)
You must log in to post.