apple id and password not valid in Xcode

This is my first attempt at developing an Apple app. I signed up for a developer account and did everything but pay the $99.

I downloaded Xcode and created a new project. In doing so it knew my name and knew that my development group was just me.

I am able to use the simulator to build and test the app on a variety of devbices, but when I change the destination to a real device (either my ipad or iphone)

the build fails telling me that the same userid is invalid.

When I click on File, Developer Tools and start any developer thing I get prompted for my apple id and password. It fails!

What am I doing wrong?

Answered by mmaleson in 191463022

Problem solved. Had to sign.

I wanted to add that the exact error I'm getting is during the build itself, but only when the destination is a real device:

The operation could not be completed. Unable to log in with account ..... underlying reason code 1100.

Thanks for your help.

Accepted Answer

Problem solved. Had to sign.

apple id and password not valid in Xcode
 
 
Q