GitHub Copilot for Xcode is macOS application and Xcode extension that enables using GitHub Copilot code completions in Xcode.
As per GitHub's Terms of Service we want to remind you that:
Beta Previews may not be supported or may change at any time. You may receive confidential information through those programs that must remain confidential while the program is private. We'd love your feedback to make our Beta Previews better.
- macOS 12+
- Xcode 8+
- A GitHub Copilot subscription. To learn more, visit https://github.com/features/copilot.
-
Download the latest
dmgfrom: https://github.com/github/copilot-xcode/releases/latest/download/GitHubCopilotForXcode.dmg Updates can be downloaded and installed by the app. -
Open the
dmgand drag theGitHub Copilot for Xcode.appinto theApplicationsfolder. -
On the first opening the application it will warn that it was downloaded from the internet. Click
Opento proceed. -
A background item will be added for the application to be able to start itself when Xcode starts.
-
Two important permissions are required for the application to operate well:
AccessibilityandXcode Source Editor Extension. The first time the application is run these permissions should be requested. You may need to clickRefreshin the settings if not prompted. -
After granting the extension permission, please restart Xcode so the
Github Copilotmenu is available under the XcodeEditormenu. -
To sign into GitHub Copilot, click the
Sign inbutton in the settings application. This will open a browser window and copy a code to the clipboard. Paste the code into the GitHub login page and authorize the application. -
To install updates, click
Check for Updatesfrom the menu item or in the settings application. After installing a new version, Xcode must be restarted to use the new version correctly. New versions can also be installed fromdmgfiles downloaded from the releases page. When installing a new version viadmg, the application must be run manually the first time to accept the downloaded from the internet warning.
This project is licensed under the terms of the MIT open source license. Please refer to MIT for the full terms.
We’d love to get your help in making GitHub Copilot better! If you have feedback or encounter any problems, please reach out on our Feedback forum.
Thank you to @intitni for creating the original that this project is based on.







