How to map and use Bundle Identifier and Bundle Suffix? - iphone

I am about to release my first App for review. There are two items I am not able to understand -
Bundle Identifier
Bundle Suffix
In .plist file I can see three things -
Bundle display name : ${PRODUCT_NAME}
Bundle identifier : companyname.${PRODUCT_NAME:rfc1034identifier}
Bundle name : ${PRODUCT_NAME}
and in Project->Build Settings->Product Name
Now if my Company Name: "ABC Organization"; App Name: "XYZ Application". What should be the setting for each 1, 2, 3, 4 above.
I have searched the forum with answers but not able to find direct mapping - so not able to understand and need help to release my App for review (Thou when I put "XYZ Application" in "Project->Build Settings->Product Name" - my App name gets updated perfectly fine).

Now if my Company Name: "ABC Organization"; App Name: "XYZ Application". What should be the setting for each 1, 2, 3, 4 above.
Bundle identifier : com.abcorganization.${PRODUCT_NAME:rfc1034identifier}
Project->Build Settings->Product Name == XYZApplication
Bundle display name == XYZ Application
The Product Name is the fundamental piece of information that you are expected to provide.
The Product Name will determine the name assigned to your bundle (the file containing your app): this is known as the "bundle name" and it is the "low-lovel" file name.
Besides the bundle name, you have the chance to specify a "bundle display name", which is the name that will be displayed for your app on the device and that is useful in certain cases.
Say, e.g., that you want your app to be called "app:XYZ" -- you will not be allowed to use the ":" within the bundle name (not allowed character according to the file system conventions), so you could define "appXYZ" as a bundle name and "app:XYZ" as display bundle name.
Finally, the Bundle identifier is the unique name of your app by which it will be identified on the App Store and that is also used to associate a profile (distribution or development to your app).
The Bundle Identifier is expected to match the App ID suffix you specify in iTunes Connect when creating an app.

Related

How to solve this (null): error: CFBundleIdentifier 'com.abcd.efg.*' contains illegal character '*'?

I have an App Id like this 'com.abcd.efg.*'. I have entered the correct app id in Bundle Identifier from .plist file of my project. When i build my project below error message is displaying.
(null): error: CFBundleIdentifier 'com.abcd.efg.*' contains illegal character '*'
How can i run the project with using this app id? Can anyone please guide me? Thanks in advance.
esteric * is not a valid character for bundle identifier, i think your giving this as you have made the provisioning profile like this. but remember, making a provisioning profile like this '*' means it will be valid for all apps containing com.xxxx.xxx.. so here you must have to select a name like com.xxxx.xxx.myTestApp or com.xxxx.xxxx.theNewApp etc

Bundle ID app for submitting to the App Store

I have an issue that confuses me a little.
In order to submit my app to the App Store I have to enter the Bundle ID Suffix. As you may know, the Bundle ID gets the exact name of the Bundle ID Suffix (What you write on Bundle ID Suffix is also written automatically in Bundle ID)
Now what I don't know is if I need to write:
com.mycompany.myapp
or
7I8UIRE4L9.com.mycompany.myapp (7I8UIRE4L9 being the app ID that was given to me when I created the provisioning profile for the app)
Thanks for your help!
You only need to enter the reverse DNS portion of your bundle ID into the iTunes Connect submission portal. Not the random-looking seed portion of the app ID.
(Make sure you replaced the "mycompany" portion of the string with the name of your company.)
Better you select your project, go to info. select custon ios target properties.in bundle identifier write your bundle name.Make sure that itunes bundle suffix should be match with this ...
hope this will help you..

Code Sign error after changing Product Name of iOS app

I have to change the name of my app. I've done the following (Xcode 4):
Targets > Packaging > Product Name
And changed the name (for dev/ad hoc/release). When building I get the following error
Code Sign error: The identity 'iPhone Distribution' doesn't match any identity in any profile
If I change the name back, it works fine. I can't submit to the store with the original name (the one that works). Do I need to create a new app ID in the provisioning portal? I'd hate to do that because I have push notifications already tied to the existing app ID.
I've tried 'clean' and then building again - doesn't help.
Yes. The provisioning profile is tied to a specific bundle id.
i.e. "com.mycompany.myproduct"
If you change this, it will definitely break code-signing.
Alternatively, change the app name, but leave the bundle identifier the same:
Targets > Info >
bundle display name = "my new product name" (remove the ${PRODUCT_NAME})
bundle identifier = "com.mycompany.myproduct" (remove the ${PRODUCT_NAME:rfc1034identifier})

App Store via iTunes Error: Invalid bundle identifier namespace com.yourcompany

I'm uploading my first iPhone app to App Store via iTunes Connect, and got this error.
Invalid bundle identifier namespace com.yourcompany. in bundle identifier com.yourcompany.AAA
In my plist>Bundle Identifier I wrote same as com.yourcompany.AAA
In iTunes Connect I selected 'AAA - com.yourcompany.AAA'
where should I look?
Take a different namespace to make the bundle identifier unique!
Register a domain name to insure uniqueness. If you register example.com (you can't), use com.example.AAA (don't. You have to find your own unique domain and namespace.)
com.yourcompany.${PRODUCT_NAME:rfc1034identifier} is the default namespace used by xcode when you create a new projet.
Simply change this name space with something different that identify you uniquely, something like com.bibbac.${PRODUCT_NAME:rfc1034identifier} in Your_Project_Name-Info.plist file.

iphone code sining error

i tried to build a iphone application. create certificate every thing.
then i got a error that is
Checking Dependencies
Code Sign error: a valid provisioning profile matching the application's Identifier 'com.max.iphoneTestingCode' could not be found
max is our company name..
1) where is we mention bundle identifer.?
2) how to solve this error.
You need to match the App ID in the program portal with the identifier in your app.
Ie. if your profile is #ID#.com.foo.* and you try to sign com.bar.bash, it won't work, but com.foo.bash should work.
So, make sure that the profile in the program portal has com.max.iphoneTestingCode as the identifier or it's something that matches like *
The bundle identifier is in Target Bar > Get Info > Properties > Identifier.