Search Unity

Question Building for iOS - What is my bundle identifier?

Discussion in 'iOS and tvOS' started by ZpetsnaZ, Mar 23, 2021.

  1. ZpetsnaZ

    ZpetsnaZ

    Joined:
    May 21, 2016
    Posts:
    10
    Hi!

    We are having trouble building for iOS. The error appearing says that the Bundle identifier is wrong and does not match the one in the Dev. Profile.

    The bundle identifier usually looks like this: com.companyname.appname

    However, our bundle identifier in the developer.apple.com is simply 6 numbers!
    How do we setup the correct bundle ID in Unity?
    We've tried all sorts of different solutions without any success.

    Can somebody assist us in solving the "riddle" below?

    com. (companyname? Where do we get the exact typing from?) . (appname/ ID? The 6 numbers?)


    Thank you!
     

    Attached Files:

  2. joonarahko

    joonarahko

    Unity Technologies

    Joined:
    Jul 9, 2018
    Posts:
    71
    Hey ZpetsnaZ and thanks for reaching out. The bundle id for IOS games is an integer such as 123456 where as for Android it is looks like com.companyname.appname. Are you trying to build inside the editor?
     
  3. ZpetsnaZ

    ZpetsnaZ

    Joined:
    May 21, 2016
    Posts:
    10
    Hi,
    Thanks for the quick respons.
    How would your iOS bundle ID look inside the Player Settings right before building?

    When trying to do it like this:
    Bundle ID: 123456
    or
    Bundle ID: teamID.123456
    We get an error in Unity during build. See attached photo.

    How is it supposed to look?
     

    Attached Files:

    juangalarzan likes this.
  4. juangalarzan

    juangalarzan

    Joined:
    May 21, 2018
    Posts:
    1

    Did you solve this? Any answer?