Once you have set up a GitLab account in Xcode, you can access GitLab repositories directly from Xcode.
This article explains how to set up a GitLab account in Xcode.
Generate a personal access token
To access GitLab from Xcode, you need a personal access token. Generate a personal access token by doing the following.
By default, this field is left blank. If left blank, the expiration date will be indefinite.
In my case, I turned on the following permissions, excluding sudo.
Personal access tokens cannot be redisplayed, so if you lose track of them, please deactivate them and generate a new personal access token.
Setting up an account with Xcode
Set up an account in Xcode.
The “Server” field is only displayed for the Enterprise and Community editions.
This article is part of a series called “How to Use Xcode”. For other articles in the same series, open the following links.