Search Unity

  1. We're looking for feedback on Unity Starter Kits! Let us know what you’d like.
    Dismiss Notice
  2. Unity 2017.2 beta is now available for download.
    Dismiss Notice
  3. Unity 2017.1 is now released.
    Dismiss Notice
  4. Introducing the Unity Essentials Packs! Find out more.
    Dismiss Notice
  5. Check out all the fixes for 5.6 on the patch releases page.
    Dismiss Notice
  6. Help us improve the editor usability and artist workflows. Join our discussion to provide your feedback.
    Dismiss Notice

iOS Developer Team ID how does it work?

Discussion in 'iOS and tvOS' started by _Daniel_, Oct 9, 2016.

  1. _Daniel_

    _Daniel_

    Joined:
    Feb 28, 2007
    Posts:
    2,396
    Hi,

    I can't figure out how this property works in the PlayerSettings. I tried setting it to the main email address, no luck. I tried the admin's name (first and last) no luck. What do you put in there?
     
    luma3001 likes this.
  2. christophergoy

    christophergoy

    Unity Technologies

    Joined:
    Sep 16, 2015
    Posts:
    383
    Hi @_Daniel_,
    If you check out the Unity Manual you can find the description of what goes into the developer Team ID. I will copy and paste it here for you:

    Apple Developer Team ID Set this property with your Apple Developer Team ID. You can find this on the Apple Developer website under Account > Membership. This sets the Team ID for the generated Xcode project, allowing developers to use the Build and Run functionality. An Apple Developer Team ID must be set here for automatic signing of your app.
    I hope this answers your question.
    Cheers,
    Chris
     
    hantengx likes this.
  3. _Daniel_

    _Daniel_

    Joined:
    Feb 28, 2007
    Posts:
    2,396
    Thanks, I had tried that before I posted. It was still red in Xcode (invalid). Is this working for anyone?
     
  4. christophergoy

    christophergoy

    Unity Technologies

    Joined:
    Sep 16, 2015
    Posts:
    383
    Hey @_Daniel_,
    Is your App correctly setup in the provisioning portal? There are many factors that could cause it to show up as invalid. I will be happy to help you and maybe we can make the experience better for you in Unity with your feedback. If you can provide any extra information it would be much appreciated. I'd be willing to do a screen share if you want to walk through it together.
    Cheers,
    Chris
     
  5. moonjump

    moonjump

    Joined:
    Apr 15, 2010
    Posts:
    2,093
    It is a code rather than a name that should be entered. I was making the same mistake as you.

    Go to developer.apple.com
    Select Account
    Select Membership
    See Team ID
     
    _Daniel_ likes this.
  6. _Daniel_

    _Daniel_

    Joined:
    Feb 28, 2007
    Posts:
    2,396
    Thanks guys, it's working. I was going to iTunes Connect instead. Didn't realize it was developer.apple.com was where I needed to go.

    Christopher, my suggestions for improvement would be to specifically state developer.apple.com because Apple Developer Website is kind of generic (iTunes Connect is a developer site too) especially in the tooltip in the inspector. Also you could have a sample of what Team IDs look like (like WOQ920A) so people aren't trying email addresses and names.
     
  7. christophergoy

    christophergoy

    Unity Technologies

    Joined:
    Sep 16, 2015
    Posts:
    383
    Hi @_Daniel_,
    Thanks for the feedback. The links I posted in both the manual and in this thread bring you to the developer.apple.com URL. I will make that more explicit in the docs and add an example Team ID that shows users what one may look like. Thank you for your feedback and I'm glad you were able to get it working.
    Cheers,
    Chris
     
    luma3001 and _Daniel_ like this.
  8. Jelmersb

    Jelmersb

    Joined:
    Jul 12, 2016
    Posts:
    21
    Hey,

    I have 3 teams (personal, corporate, free). When I follow this:
    Go to developer.apple.com
    Select Account
    Select Membership
    See Team ID

    I always get a red dropdown in Xcode which says "unknown name", and it shows a string that is different from the one i entered in unity. In Xcode, I then select the correct team, and the app builds.. what goes wrong here?
     
    luma3001 and bantherewind like this.
  9. christophergoy

    christophergoy

    Unity Technologies

    Joined:
    Sep 16, 2015
    Posts:
    383
    Hey @Jelmersb,
    What is in your player settings? What is in your preferences under external tools?
     
  10. bantherewind

    bantherewind

    Joined:
    Dec 3, 2015
    Posts:
    4
    I'm having the same issue. The team ID which appears in Xcode after a build is not the one I have entered in Unity. I tried putting my team ID in both (and either) the "External Tools" in Preferences and in Player Settings. I don't recognize the string which is generated from Unity (it looks like a Team ID, but not mine). Provisioning and all else is set up correctly.

    For now, I just build / append to the Xcode project. In Xcode, I select my team from the dropdown in Xcode and run from there. So it's working, but it would be nice to be able to "Build and Run" from Unity so I could get line numbers from exceptions.
     
  11. bererton

    bererton

    Joined:
    Jun 20, 2014
    Posts:
    17
    I just got this working and at first had the same problem with the "unknown name" @bantherewind you might be copying the text that shows the actual team name, rather than the string of capital letters and numbers that represents the team ID? My team IDs are 10 characters long with no spaces.

    It's a bit confusing because the first error in XCode makes you think you need to enter the team name instead of the team ID, two different things.

    Also, I only set it in Player preferences.
     
  12. bantherewind

    bantherewind

    Joined:
    Dec 3, 2015
    Posts:
    4
    I'm using the ten character team ID, as it appears on the Membership page in the developer portal. After building, a different ten character ID appears in Xcode. My provisioning profile was built on my team page, etc. I have no idea where this other ID is originating.