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.

To add a repository
  1. In Xcode, choose Xcode > Preferences, and click Accounts.

  2. Press the Add button (+), and choose Add Repository.

  3. Enter the repository address as prompted, and click Next.

  4. If necessary, enter your credentials.

    Xcode stores this information automatically after you enter it.

Both Subversion and Git repositories can be stored in Account preferences. Xcode automatically determines which source control platform you are using.