First you have to add your Apple ID to Accounts preferences in Xcode. If you are Add your Apple ID and your password, then select Sign in . If you don't have .