I realize this must be known to everyone except me.
I would like to rename an application. It started out as just an test app to try things out, but now it's actually somewhat entertaining. All I need to do is change the name that appears publicly on the iphone.
In your resource folder in Xcode there is a file named YourApplicationName-Info.plist. Click on it and then alter the Bundle display name value from ${PRODUCT_NAME} to whatever you see fit.
I realize this must be known to everyone except me.
I would like to rename an application. It started out as just an test app to try things out, but now it's actually somewhat entertaining. All I need to do is change the name that appears publicly on the iphone.
-Bob
I remember having this problem once too. I finally ended up doing the following:
1) create a new project and name it as you wish
2) arrange both the new and old project windows on your screen, so you can see them at the same time
3) drag and drop the files (.h, .m, xib files, etc...) to the new project window and make sure you select "copy" if XCode asks you.
4) hit build and correct all the errors (mostly renaming the app delegate in header and main files). If you used IB, don't forget to make all the connections
Seems, there is no easy way to solve this problem. If anyone knows better, I'd definitely like to be proven wrong on this one.
In your resource folder in Xcode there is a file named YourApplicationName-Info.plist. Click on it and then alter the Bundle display name value from ${PRODUCT_NAME} to whatever you see fit.
Oh, you replied just before me. That sounds interesting. Definitely need to give that one a try. Thanks
In your resource folder in Xcode there is a file named YourApplicationName-Info.plist. Click on it and then alter the Bundle display name value from ${PRODUCT_NAME} to whatever you see fit.
Thanks. That solves that problem. Now all I have to do is hope the Marketing Dept. comes up with a shorter name.
If you just want to change the bundle name, you can change the AppName-Info.plist, or just Info.plist.
If you want to change everything (which I mostly did, to create a better code readability), just rename the project, open the project, search for occurrences of old name in the code, replace with new name (use refactor if you wish to automatically rename the associated files), search for the old names in the project settings and target settings, replace them with new names.
Done, I usually don't get any errors (besides within the NIB, sometimes), cause I done this many times.
Writing code is not only about writing instructions to a machine / computer, but also about writing something that could be read, understood, and maintained by others. That's why, I like Cocoa.