Name of App in iOS compiled with XCode 4

Previous topic - Next topic

quangdx

I finally upgraded to XCode 4 because I couldn't test on  iOS 4.3.5 devices.
But now when the App goes over to the device but the name of the App just says "iPhone"

Before in XCode 3 you could change it over from DEBUG to RELEASE when building/running
and that would give me the correct App name on the device.

Does anyone know what I have to change to get the correct App name to show on the device with XCode 4.
Asobi tech - the science of play.
Spare time indiegame developer.

spicypixel

If you need to change the name of the Application as it appears on the iPhone's home screen, you need to do it in the Target configuration, not the project configuration. Expand the Targets group in Xcode, then single-click the item under that. It should share the name of your project, which is also the default name of the application that gets generated.

Press command-I to bring up the Info window, then navigate to the Build tag. Set the Configuration drop-down to read All Configurations, then look for a setting called Product Name under the Packaging heading. Change that value to the name you want for your compiled applications and, voila! Do a clean then build and your application will take on the new name.
http://www.spicypixel.net | http://www.facebook.com/SpicyPixel.NET

Comps Owned - ZX.81, ZX.48K, ZX.128K+2, Vic20, C64, Atari-ST, A500.600.1200, PC, Apple Mini-Mac.

quangdx

Cheers dude,
Took me a while to work out what and where you meant.
It's taking me a while to get use to this XCode 4 stuff.
Asobi tech - the science of play.
Spare time indiegame developer.