GLBasic forum

Main forum => GLBasic - en => Topic started by: quangdx on 2011-Sep-30

Title: Name of App in iOS compiled with XCode 4
Post by: quangdx on 2011-Sep-30
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.
Title: Re: Name of App in iOS compiled with XCode 4
Post by: spicypixel on 2011-Sep-30
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.
Title: Re: Name of App in iOS compiled with XCode 4
Post by: quangdx on 2011-Oct-01
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.