unable to get build for iPhone from Xcode
hi fellows, I tried Unity tutorial about getting the build for iPhone from Xcode of Unity3d made app or game. I also signed in my Apple Developer Account but still getting below mentioned errors; "
Error 1: Signing for "Unity-iPhone" requires a development team. Select a development team in the project editor. Error 2: Code signing is required for product type 'Application' in SDK 'iOS 10.2'. "
What should I do now for this work?
Guide me fellows.
Answer by hotcarl · Feb 16, 2018 at 03:04 AM
Figured it out. At least this worked for me...
Click on "Show Project Navigator Icon"
Select "Unity Phone"
Click this blue box to expand an area.
Select "Unity Phone" (The other two didn't work for me)
Select "General"
Select the "Team" drop-down menu and select " (Personal Team)"
I also selected this team in another option from step 3/4. You may need to do that. I'm not sure.
[1]: /storage/temp/111385-screen-shot-2018-02-15-at-75646-pm.png
,@cellfruitsenterprise ,
Not sure how long these instructions will be good for. Posting this Feb 15, 2018. This is my first go, and I had the error: Signing for "Unity-iPhone" requires a development team. Select a development team in the project editor.
I didn't set my Team to " (Personal)" Side note the Unity instructions were kinda vague, but they don't own XCode... I'm not complaining here.
In XCode, select the Project Navigator icon in the upper left portion of the window.
Select "Unity-iPhone" just below the Project Navigator.
Then in the middle column (it's white) there is a blue box right below the top layer of icons.
Click that to expand the view.
Click the "General" option in the top of the middle pane.
Second stanza, "Signing", there is a drop-down labeled, "Team". Click that, and select " (Personal)"
Answer by Bampf · Jan 01, 2018 at 10:24 PM
The trick isn't to edit the project's Build Settings even though the error message implies that you should. Instead, edit the TARGET's settings, as follows.
First select the Unity-iPhone target. On the General page you should see settings for things like Display Name, Device Orientation, and so on, Unity sets many of these for you. But you have to set the Signing Team yourself.
(This was tested using an iOS project freshly created by Unity 2017.3 and Xcode 9.2.)
Answer by stoven91 · Mar 15, 2017 at 02:55 AM
DId you ever figure this out? Because I'm having the same issue...
Answer by silvia_stoica · Mar 25, 2017 at 08:52 AM
I had the same problem too. It's because you didn't add an Apple ID to XCode. Or at least in my case. You go to XCode -> Preferences -> Accounts and add it there. And after that in your project inspector in Build Settings, at Developing Team, you add the respective team that appears when you click on the added account info. If it's a personal ID it will say so. This link contains all the information you need: https://unity3d.com/learn/tutorials/topics/mobile-touch/building-your-unity-game-ios-device-testing. Pay attention to follow all the steps. Hope it helps!