After setting up a GitLab account in Xcode, you can directly access GitLab repositories 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. Follow these steps to generate a personal access token.
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.
Remember, personal access tokens cannot be redisplayed. If lost, deactivate the old token and generate a new one.
Setting up an account with Xcode
Follow the steps below to set up an account in Xcode.
Only the Enterprise and Community editions display the ” Server ” field.
This article is part of a series called “How to Use Xcode”. For other articles in the same series, open the following links.