Xcode 5 won't let me change the bundle identifier. The app name portion after com.mycompany.
is greyed out.
I created a bundle identifier in ITC which slightly differs and I want to use this new bundle identifier.
Do I have to create a new Xcode project with the correct identifier?
Change the Bundle IDChoose your project from the left side, then your app target under TARGETS, select the General tab and rename the Bundle Identifier.
Under Targets > Build settings, scroll to Packaging. Change your Product name to the desired name & Product bundle identifier to the new one. Once you do this, automatically your project display name & bundle id changes to the new one in General tab.
Actually this is pretty simple:
com.mycompany.${PRODUCT_NAME:rfc1034identifier}
. If you want to change the grey field just replace the "com.mycompany" with whatever you want. the other field is the "Product Name" (which is read dynamically from the relevant key), You can change it by set the "Product Name" key on "Build Settings". You can also do it pretty ugly and change all the bundle identifier to whatever you want but I don't recommend that because if you would add more targets it would be static and harder to maintain.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With