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?
Change the value of Product Name (referenced as PRODUCT_NAME
) in the build settings of the project or target.
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.
Just add another one to this, using XCode 10.1 . Even when I updated the product name, bundle identifier etc - it still was showing as the old name.
There is a window to the side (I assume this is default as I've not actually changed anything) - with a Identity and Type with a field called 'name' also change this. Screen shot below:
Go to your Project > Target > Info . Inside Custom Target iOS Properties
go to Bundle Name
, Bundle identifier
and Bundle display name
from there. You can also refer to this answer for further explanation.
You can change the name by updating Info.plist file, there is a field Bundle Name
that is your application name. For Bundle Identifier
you can change it through the developer account add new bundle identifier for your project. Or just change the Bundle Identifier
in your project Info.plist file the x-Code will handle it.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.