x


iPhone Bundle Identifier confusion?

Hi,

I've read the docs concerning this, but I still don't understand what I need to put in the Bundle Identifier in the Player Settings.

When I make an new project in XCode (non-Unity) in the plist I automatically get: com.yourcompany.${PRODUCT_NAME:***identifier} (I put *s because I don't know if those digits are specifically for me!) So I tried using this in Unity's player settings, but when I do a build and look in XCode, the entry now says: com.yourcompany.${PRODUCT_NAME:identifier}

At this stage I don't have a com. name, and as I'm just writing test apps I don't have a game name set up in a provisioning certificate.

My apps written in XCode run on iphone with no problems, so I think my provisioning profile is OK, but Unity builds have many different errors related to product names, app names, and occasionally, DWARFS.

Can anyone suggest what to enter for the Bundle Identifier? And what settings to use in XCode to get it to compile?

Thanks

Steve

more ▼

asked Jul 23 '10 at 12:34 PM

FourSheds gravatar image

FourSheds
391 22 25 34

(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

Just enter 'com.yourcompany.appname' and no digits

EDIT:

  1. Go to Apple iPhone Provisioning portal
  2. Click on App IDs
  3. Write some kind of description, this is just for your own reference
  4. Select generate new bundle seed (don't worry about it)
  5. At the bottom fill in your bundle identifier, make it up what ever you want, that com.companyname.appname is just a suggestion. No one ever asked you for a company name, it's just easier to remember and organise, that's all.
  6. Use the bundle identifier you just made in Unity under player settings. (no digits)
  7. Create a provisioning profile with the App ID you just made and put it on your phone.

The rest is fairly straight forward. The important steps are 5 and 6

more ▼

answered Jul 23 '10 at 02:21 PM

spinaljack gravatar image

spinaljack
9.1k 18 31 91

Thanks, I'd hoped that I could just put anything there. But other posts suggest that you need actual names there, however, I can't find any advice on what actual names are. (e.g. http://answers.unity3d.com/questions/7687/unity-iphone-app-deployment-help "make sure you have the right name in the player settings. (Probably "com.YourCompanyName.NameOfGame" with the last two items set to the actual names.)"

Or from the docs: "The Bundle Identifier string must match the provisioning profile of the game you are building"

Jul 23 '10 at 03:26 PM FourSheds

Is there any reason why you can't just create an app ID with proper names in them in the provisioning portal on the apple developers site? Seems like a simple fix.

Jul 23 '10 at 04:01 PM spinaljack

Thanks. OK, when I applied for my provisioning certificate, it asked me for an App ID.Maybe it's the root of all my troubles! I was only joining the program to get a developer certificate, I wasn't ready with an app yet! So I just put 'MyNewApp', and named the profile MyNewProfile. Does this mean all my software now has to be named MyNewApp, made by a company called MyNewProfile? Given this info, should the Bundle Identifier be com.MyNewProfile.MyNewApp? If not, I'm certain I was NEVER asked to supply a company name that would fulfil the com.companyName, so what 'proper name' should be used?

Jul 23 '10 at 04:21 PM FourSheds

You can make as many App IDs as you want

Jul 23 '10 at 10:32 PM spinaljack

Many thanks for the step-by-step, spinaljack, it's been a tremendous help. Got it now!

Jul 24 '10 at 08:45 AM FourSheds
(comments are locked)
10|3000 characters needed characters left

hi, i'm newbie... I would like to uploading my second app in itunesconnect, I am confused with bundle id, whether to upload my new app, I need to register a new id bundle on http://developer.apple.com/ios/manage/bundles/index.action or not?

sorry my english bad thank you

more ▼

answered May 22 '12 at 06:36 AM

dwi gravatar image

dwi
0

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x2013
x4

asked: Jul 23 '10 at 12:34 PM

Seen: 18517 times

Last Updated: May 22 '12 at 06:36 AM