Asad ali Asad ali - 10 months ago 59
iOS Question

I want to change my bundle identifier as well as product name in Xcode 6.3

I have completed project but unfortunately, I have to change product name and bundle identifier also, in Xcode 6.4. How can I do this?

Answer Source

Change the value of Product Name (referenced as PRODUCT_NAME) in the build settings of the project or target.

screen shot

Both the Bundle identifier and Bundle name in your info plist reference this build setting, so changing it here updates both these values. I personally wouldn't change the Bundle identifier in the plist directly as it has a strict set of allowed characters and you can see from peoples examples it adds the rfc1034identifier to the setting reference which converts any invalid characters.

The default value ($TARGET_NAME) uses the name of the target in the left side panel, so you could also change this name.