Adding a Repository to Your Accounts
Add a repository in Accounts preferences to store your credentials, so that you don’t have to reenter them every time.
In Xcode, choose Xcode > Preferences, and click Accounts.
Press the Add button (+), and choose Add Repository.
Enter the repository address as prompted, and click Next.
If necessary, enter your credentials.
Xcode stores this information automatically after you enter it.