Restrictions on Bundle Identifiers - ios

I am building an app whose name starts with a digit rather than an alpha character. Xcode4 insists on converting a digit in the first position of the product name to a hyphen in the bundle identifier. I know I can override the bundle name in the info.plist file and replace ${PRODUCT_NAME:rfc1034identifier} with a literal such as 22catch.
If I do this, is it going to cause me any problems further down the line when I come to upload the project to the appstore for approval?
Thanks

No it will not create any issue. You can also change bundle identifier. It is not necessary to use Exact an me of project in Bundle identifier. You can use different one

In best of my knowledge , when you upload in Appstore , in that time there you will give a app name .
so I think it will not create any issue in future.

Related

iOS: App Validation - Got Bad bundle identifier because of application extension bundle id format

We have integrated share extensions as part of the new feature. For this, app bundle identifier is com.company.name.product.mobile and share extension bundle identifier is com.company.name.product.mobile.Share.External.Information.
After generating the Archive file, while validating the app through Xcode getting the below error.
App Store Connect Operation Error. Bad bundle identifier. The bundle identifier com.company.name.product.mobile.Share.External.Information of the application extension ComanyName Mobile.app/PlugIns/Share External Information.appex should start with the application's bundle identifier com.company.name.product.mobile and not contain more than one period . after the application's bundle ID.
i have already tried in StackOverflow and in another forum. I didn't find the solution for this.
am I doing anything wrong here?
after product bundle identifier we can have multiple words with . separated right in the extension?. In my case for extension after bundle Id it has three words with . separated like this "com.company.name.product.mobile.Share.External.Information". Is it correct? or it should be like "com.company.name.product.mobile.shareexternalinformation".
Can any one please provide the solution for this ?

Xcode keep replacing my existing bundle id with dash

I already have existing app which its bundle identifier start with digit.
The app is transferred from third party to our account.
Here is the bundle id SS from itunesconnect
Xcode however, always replacing first digit of my bundle id with dash
4UDBLABLA.com.company.appname => -UDBLABLA.com.company.appname
I've try some workaround to keep my original bundle id, but also get replaced with dash when uploading to app store
How can i upload my app with these bundle id?
Xcode version: 8.2.1 (8C1002)
System Information:
OSX El Capitan 10.11.6
There are not a lot of details here. But I was there yesterday, and I know how hard it can be to describe. You type the bundle ID in correctly, and it keeps putting back the same mistake. I had the same problem - the first character (a number) was automatically replaced by a '-'.
In Xcode, search through the project for the good part of the address. In your example, search for 'UDBLABLA.com.company.appname'. I found the entry that kept going wrong, and a more obscure second copy that it had presumably created for itself somewhere deep in the settings. When I fixed that second copy (there were several entries for different sorts of build, but they were all in the same place), all was well. Until the next thing.

Is it possible to change the company identifier of an existing Xcode project?

I have an existing Xcode project in which I've mistakenly set the company identifier as simply companyName rather than com.companyName. My bundle identifier renders as companyName.productName (which is as expected), but I'm hoping to be able to change this to the more correct com.companyName.productName.
I could simply change the bundle identifier in the plist, but is it possible to change the company identifier and have this change reflected in the bundle identifier and anywhere else it needs to show up? Or is changing the bundle identifier my best bet? And is there anything to look out for if I do? (The app has not yet been submitted, but I'm in the process of getting ready to do that.)
Thanks in advance.

Xcode name issue

I've just realised that I've created my app ID bundle indentifier with a lower case name, and I've set up my xcode project with the same name but with the first 2 letters in upper case, so for example my bundle indentifier is something like
com.mysite.my-game
But my xcode project name is...
My-Game
So I think xcode has used that to create my bundle indentifier, and the bundle indentifier is...
com.mysite.My-Game
So first question is, does it make any difference?
2nd question is, if it does, how do I change the project name/bundle indentifier in xcode to be...
my-game
i'e the same as the app ID version?
and 3rd, what name is going to be displayed when the game is live on the app store, because I would actually prefer...
My-Game
So first question is, does it make any difference?
Yes it does.
2nd question is, if it does, how do I change the project name/bundle
indentifier in xcode to be...
Simply edit your info.plist file, edit the Bundle identifier entry by removing the default containing ${PRODUCT_NAME:rfc1034identifier} and enter the correct one you need.
In case you wish to keep Xcode generating your bundle identifier, change the Product name entry below Packaging within your Build Settings.
3rd, what name is going to be displayed when the game is live on the
app store, because I would actually prefer...
That will be determined once you submit your app. You may freely chose any name within iTunes Connect - no need for it to correlate with Bundle name or Bundle identifier.
To make this warning go away, edit Info.plist file, and make sure the key Bundle creator OS Type code is not empty. If it is empty, you can use ????

How to correct the spelling of app name in App Store?

I know this may be impossible but...
I just got an app approved, and everywhere (that I can see) it is capitalized correctly - it's called "Daybreak", but when you download it, the name under the icon is "daybreak". I let Xcode take care of all that naming stuff this time, so I'm not sure where it got changed, or where the app store is taking the app name from. Like I said, every where else it is correct - just not under the icon in my phone!
[EDIT] One other place it shows up lower case is in the organizer for its archive. On the left it's lower case; when selected, it's lower case in the large font at the top of the details, and upper case just below that...
[EDIT] I should mention that I'm using Xcode 4...
[EDIT] The following are from my target's info tab:
Bundle display name ${PRODUCT_NAME}
Bundle identifier com.lollygaggersoft.${PRODUCT_NAME:rfc1034identifier}
[EDIT] I was able to fix the issue by manually changing my Bundle display name to the correct capitalization and leaving the Bundle identifier alone. This worked when I submitted my update.
Look at Info tab in Target settings. There are two keys:
Bunle name -- is name of directory (followed by .app) where all program stuff are kept.
Bundle display name -- is wat you exactly need, it is the name that will be displayed in SpringBoard
It's common to set both bundle name and bundle display name to ${PRODUCT_NAME}, than set field "Product name" in project Build settings to whatever you want
PS In organizer you see bundle name in small fond and bundle display name in large font.
PPS AFAIK you need to upload another version to appstore in order to change display name.

Resources