github/CopilotForXcode

▲ 4 stars today★ 6,313⑂ 2,039

AI coding assistant for Xcode

About github/CopilotForXcode

github/CopilotForXcode is an open-source project on GitHub, mainly written in Swift. AI coding assistant for Xcode It currently holds 6,313 stars and 2,039 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).

Project Overview

AI Homed tracks it on the Today's Trending board, currently at rank #75 with 4 new stars today.

GitHub Repository Details

Repository github/CopilotForXcode · default branch - · size 0 KB · watchers 0 · source: GitHub REST API and repository README

README

GitHub Copilot for Xcode

GitHub Copilot for Xcode is the leading AI coding assistant for Swift, Objective-C and iOS/macOS development. It delivers intelligent Completions, Chat, and Code Review—plus advanced features like Agent Mode, Next Edit Suggestions, MCP Registry, and Copilot Vision to make Xcode development faster and smarter.

[!IMPORTANT]
Starting from version v0.50.0, we have added internal support for the upcoming usage-based billing experience, including experience updates to the usage panel, usage notifications, and model picker. These changes will become visible once usage-based billing is rolled out.
To ensure compatibility with the new billing experience, we strongly recommend upgrading to the latest plugin version as soon as possible:
* GitHub Copilot for Xcode: v0.50.0 or later
Clients using older plugin versions will continue to function. However, the billing and usage experience may not be optimal and may not accurately reflect the latest usage-based billing experience.

Chat

GitHub Copilot Chat provides suggestions to your specific coding tasks via chat. https://github.com/github/CopilotForXcode/blob/HEAD/Chat of GitHub Copilot for Xcode

Agent Mode

GitHub Copilot Agent Mode provides AI-powered assistance that can understand and modify your codebase directly. With Agent Mode, you can:

Agent Mode integrates with Xcode's environment, creating a seamless development experience where Copilot can help implement features, fix bugs, and refactor code with comprehensive understanding of your project.

Code Completion

You can receive auto-complete type suggestions from GitHub Copilot either by starting to write the code you want to use, or by writing a natural language comment describing what you want the code to do. https://github.com/github/CopilotForXcode/blob/HEAD/Code Completion of GitHub Copilot for Xcode

Requirements

Getting Started

1. Install via Homebrew:

   brew install --cask github-copilot-for-xcode
   

Or download the dmg from the latest release. Drag GitHub Copilot for Xcode into the Applications folder:

https://github.com/github/CopilotForXcode/blob/HEAD/Screenshot of opened dmg

Updates can be downloaded and installed by the app.

1. Open the GitHub Copilot for Xcode application (from the Applications folder). Accept the security warning.

https://github.com/github/CopilotForXcode/blob/HEAD/Screenshot of MacOS download permission request

1. A background item will be added to enable the GitHub Copilot for Xcode extension app to connect to the host app. This permission is usually automatically added when first launching the app.

https://github.com/github/CopilotForXcode/blob/HEAD/Screenshot of background item

1. Three permissions are required for GitHub Copilot for Xcode to function properly: Background, Accessibility, and Xcode Source Editor Extension. For more details on why these permissions are required see TROUBLESHOOTING.md.

The first time the application is run the Accessibility permission should be requested:

https://github.com/github/CopilotForXcode/blob/HEAD/Screenshot of accessibility permission request

The Xcode Source Editor Extension permission needs to be enabled manually. Click Extension Permission from the GitHub Copilot for Xcode application settings to open the System Preferences to the Extensions panel. Select Xcode Source Editor and enable GitHub Copilot:

https://github.com/github/CopilotForXcode/blob/HEAD/Screenshot of extension permission

1. After granting the extension permission, open Xcode. Verify that the Github Copilot menu is available and enabled under the Xcode Editor menu.

https://github.com/github/CopilotForXcode/blob/HEAD/Screenshot of Xcode Editor GitHub Copilot menu item

Keyboard shortcuts can be set for all menu items in the Key Bindings section of Xcode preferences.

1. To sign into GitHub Copilot, click the Sign in button 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.

https://github.com/github/CopilotForXcode/blob/HEAD/Screenshot of sign-in popup

1. To install updates, click Check for Updates from 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 from dmg files downloaded from the releases page. When installing a new version via dmg, the application must be run manually the first time to accept the downloaded from the internet warning.

1. To avoid confusion, we recommend disabling Predictive code completion under Xcode > Preferences > Text Editing > Editing.

1. Press tab to accept the first line of a suggestion, hold option to view the full suggestion, and press option + tab to accept the full suggestion.

How to use Chat

Open Copilot Chat in GitHub Copilot.

https://github.com/github/CopilotForXcode/blob/HEAD/Screenshot of Xcode Editor GitHub Copilot menu item

https://github.com/github/CopilotForXcode/blob/HEAD/Screenshot of GitHub Copilot menu item

How to use Code Completion

Press tab to accept the first line of a suggestion, hold option to view the full suggestion, and press option + tab to accept the full suggestion.

License

This project is licensed under the terms of the MIT open source license. Please refer to LICENSE.txt for the full terms.

Privacy

We follow responsible practices in accordance with our Privacy Statement.

To get the latest security fixes, please use the latest version of the GitHub Copilot for Xcode.

Support

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.

Acknowledgements

Thank you to @intitni for creating the original project that this is based on.

Attributions can be found under About when running the app or in Credits.rtf.

GitHub Stars & Activity

6,313Stars
2,039Forks
0Open issues
SwiftLanguage

GitHub Popularity

GitHub stars6,313
Forks2,039
Open issues0
Primary languageSwift
License-
Stars gained today4
Created-
Last pushed-

Trending History

Daily boardrank #75 · ▲ 4 stars

Related AI Projects

1

manaflow-ai / cmux

Swift★ 27,581⑂ 2,431▲ 29 stars
→
2

tisfeng / Easydict

Swift★ 14,832⑂ 765▲ 11 stars
→
3

obra / superpowers

Shell★ 294,369⑂ 26,315▲ 561 stars
→
4

mattpocock / skills

Shell★ 274,594⑂ 23,053▲ 955 stars
→
5

affaan-m / ECC

JavaScript★ 271,104⑂ 40,507▲ 572 stars
→
6

n8n-io / n8n

TypeScript★ 206,509⑂ 60,972▲ 100 stars
→
7

msitarzewski / agency-agents

Shell★ 155,791⑂ 25,133▲ 130 stars
→
8

DietrichGebert / ponytail

JavaScript★ 151,548⑂ 8,127▲ 1,429 stars
→

More AI Rankings