To add/remove Apple IDs to Xcode, follow these steps:
1. Run Xcode.
2. Select Xcode->Preferences
3.Select Accounts -> + sign -> Add Apple ID
4. Enter the Apple ID (email address) and password. Select Sign In.
5. The account information of the Apple ID is shown. You should see the team and role information as below.