IOS Build Error - devleopment team

Signing for “Unity-iPhone” requires a development team. Select a development team in the project editor.

I was confused when I was getting this error and didn’t know what to put in this field using the free Apple Developer account. Turns out I needed to just leave this field blank and change the team for the project in Xcode. I set the team in Xcode by pressing command 1 to open the Project Navigator, select the project, then to the right of the project in the middle panel make sure the target is set to the one with the Unity icon (mine is named Unity-iPhone), then in signing change the team dropdown. I know this is vague, I don’t have much experience with Xcode, but I hope this helps the next person with this problem.

Make sure you update unity to the latest version, there is an “IOS Development team ID” parameter below “version” and “Build” numbers in “player settings”.

You can find your Team ID in the Account.Membership section of developer.apple.com once you log in.

Updating Unity to 5.4.2f1 from 5.4.0f3 fixed it for me, it’s a pain updating everything but I guess it’s the cost of progress.

I stumbled upon this error a few minutes ago because I switched to a new Mac.
I googled it (I found your question…) and found out I forgot these 2 steps:

try:

  1. Add your developer account in Xcode → Preferences - Account

  2. In Unity, in the Player inspector - right below the bundle identifier - add your Team ID
    You can find your team ID by logging into the apple developer website…