- Home /
IOS Build Error - devleopment team
Signing for "Unity-iPhone" requires a development team. Select a development team in the project editor.
Answer by elliselkins · Nov 08, 2016 at 09:39 PM
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.
Having just gone through this myself, here's a bash script that will list the team ids for all your local code signing certificates;
security find-identity -v -p codesigning | awk -F \" '{if ($2) print $2}' | while read acct ; do security find-certificate -a -c "$acct" -p | openssl x509 -text | grep "^ *Subject:" | awk -v acct="$acct" -F , '{if ($3) {sub(/ *OU=/,"",$3);print $3","acct}}' ; done
Run it in Terminal and paste the string before the comma for the relevant iOS Developer into Unity Player Settings "iOS Developer Team ID" field.
You can also get it by looking for the "Organizational Unit" entry in the relevant developer certificate via the "Keychain Access" app or you can also find it in the project.pbxproj file contained in a project that's already setup to be signed with your personal developer account, e.g.;
$ grep DEVELOPMENT_TEAM /<PATH>/<TO>/<PROJECT>.xcodeproj/project.pbxproj
THIS! It was super hard to find this information :O I actually managed to find the Team ID by opening my $$anonymous$$eychain App and checking the information at my "iPhone Developer" Certificate.
But your solution is nice and quick with the ter$$anonymous$$al
Yes! This is the only thing that worked for me. I don't have an Account.$$anonymous$$embership when I go to developer.apple.com (since I'm still on the free account atm).
Answer by BrownBot · Oct 14, 2016 at 05:56 AM
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.
Answer by Dennis_eA · Sep 28, 2016 at 03:24 PM
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:
Add your developer account in Xcode -> Preferences - Account
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..
I'm lost on step 2 ... where are you inputting the $$anonymous$$m id? I'm running Unity 5.4.1, which version are you on? I don't see it in the ProjectSettings.asset yaml either. I've also tried accessing it programmatically, via UnityEditor.PlayerSettings.iOS.appleDeveloperTeamID as per the docs, but I get "'PlayerSettings.iOS' does not contain a definition for 'appleDeveloperTeamID'"
If you're a member of the Apple Developer Program then you can see it Membership section on the website (currently at https://developer.apple.com/account/#/membership/)
If you're not a member, you'll need to find it locally (see my reply above).
Your answer
Follow this Question
Related Questions
Any idea on when we'll see Unity work with Xcode 4? 3 Answers
Compiling plugin for iOS - need more info. 4 Answers
Export on IOS: Stuk on Splash Screen 1 Answer
How do I debug a crash in mscorlib.dll.s with Strip-assemblies turned on? 1 Answer
Can I export a project from Unity to the same XCode project from a previous export? 0 Answers