After setting up a GitHub account in Xcode, you can access GitHub repositories directly from Xcode.
This article explains how to set up a GitHub account in Xcode.
Generate the access token
To access GitHub with Xcode, you’ll need an access token. Follow these steps to generate one.
I set the expiration to “90 days”. If you choose “No expiration”, the token will have no set expiry date. For security reasons, it is better to put an expiration date than an indefinite period.
Xcode uses this access token, so this operation is allowed from Xcode.
In my case, I checked the following items.
All of these items except
project are required by Xcode. Therefore, include the four items other than
The access token cannot be displayed again. If you lose it, you’ll need to generate a new token.
Sign in with Xcode
Sign in with Xcode. Operate as follows.
This article is part of a series called “How to Use Xcode”. For other articles in the same series, open the following links.