Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Xcode Build to iPhone Fail

Hi,


I have now build a app in Xcode, and it works perfectly in the iPhone 6.1 Simulator.


Now i would like to install the app on my iphone for further tests.

User uploaded file

I'm selecting my iPhone in the menu, press the Archive button, but then it comes up with this Build Failed message.


User uploaded file

What have i done wrong? Have i forgot to activate something?


I Thought maybe under the organizer > Devices > My iPhone, that i should press the "Add to Portal".

When i try is asks of my Apple ID > Log in > And then a error message pops up saying "Too Few items in teams." Maybe that has something to say?

User uploaded fileUser uploaded file


I really hope some of you guys can tell me what i am missing 🙂


-Thanks


Kind regards

Mathias Thunbo - Denmark

iMac, OS X Mountain Lion

Posted on May 4, 2013 6:01 PM

Reply
Question marked as Best reply

Posted on May 4, 2013 8:01 PM

You are in the paid IOS Developer program correct? You have to be a paid member to install on the physical device.


Message was edited by: Frank Caggiano

4 replies

May 5, 2013 4:45 PM in response to Frank Caggiano

Aarh okay! Even though it's just to test it on your own unit?


Is this paid/not paid developer program also the reason for the "Too few items in teams" problem?


I just saw a guide video from the Apple iOS developer getting started video site. I saw the video "Modern Tools and techniques for iOS App Development".

In the video they're showing that the iPhone setup really just is Organizer > devices > Choose iPhone > Use for development > log in with your Apple id > Boom, thats it.


I hope the problem just is i haven't paid yet 🙂


- Thanks

May 7, 2013 10:35 PM in response to Mathias Thunbo

I had the same problem, but was able to build and run on my device after these steps:


  1. Deleted my DerivedData directory (emptied trash too)
  2. Quit XCode
  3. Disconnected iPad USB
  4. Rebooted Mac
  5. Rebooted iPad (power down and back up)
  6. Reconnected iPad USB.
  7. Restarted Xcode with project
  8. Confirmed build for debug on device selected.
  9. Clicked Run


This works for me.

Xcode Build to iPhone Fail

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.