• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by FourSheds · Jul 23, 2010 at 12:34 PM · iphone

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

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
3
Best Answer

Answer by spinaljack · Jul 23, 2010 at 02:21 PM

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

Comment
Add comment · Show 5 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image FourSheds · Jul 23, 2010 at 03:26 PM 0
Share

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"

avatar image spinaljack · Jul 23, 2010 at 04:01 PM 0
Share

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.

avatar image FourSheds · Jul 23, 2010 at 04:21 PM 0
Share

Thanks. O$$anonymous$$, when I applied for my provisioning certificate, it asked me for an App ID.$$anonymous$$aybe 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 '$$anonymous$$yNewApp', and named the profile $$anonymous$$yNewProfile. Does this mean all my software now has to be named $$anonymous$$yNewApp, made by a company called $$anonymous$$yNewProfile? Given this info, should the Bundle Identifier be com.$$anonymous$$yNewProfile.$$anonymous$$yNewApp? 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?

avatar image spinaljack · Jul 23, 2010 at 10:32 PM 0
Share

You can make as many App IDs as you want

avatar image FourSheds · Jul 24, 2010 at 08:45 AM 0
Share

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

avatar image
0

Answer by dwi · May 22, 2012 at 06:36 AM

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

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

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

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

1 Person is following this question.

avatar image

Related Questions

Why is X-Code requiring that I re-enter Bundle Identifier each time I build? 1 Answer

Will Unity 3 support net streaming video on the iphone & android platforms? 1 Answer

Iphone gui text 2 Answers

iAd in Unity 1.7 1 Answer

How to detect Game Object is touched in Unity iPhone? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges