This guide covers the most common configuration tasks after installing GitHub Copilot for Xcode.
- Open the
GitHub Copilot for Xcodeapp. - Click
Sign in. - Finish the browser-based device authorization flow with the GitHub account that has Copilot access.
- Confirm the app shows the signed-in state before opening Xcode workflows that depend on chat, code review, or agent mode.
Use the app settings to sign out if you need to switch to a different Copilot-enabled account.
Copilot for Xcode works best when these permissions are granted:
Backgroundfor the host app and communication bridgeAccessibilityfor realtime editor context and accepting suggestionsXcode Source Editor Extensionfor the Editor menu integrationFiles & Foldersfor workspace-aware chat and agent operationsScreen Recordingonly when using Copilot Vision
See TROUBLESHOOTING.md for exact macOS settings locations.
After signing in, open Chat or Agent Mode and use the model picker to select the available Copilot-backed models for your account.
Use BYOK when you want to supply provider-specific credentials instead of relying only on your Copilot account.
Supported providers are documented in Docs/BYOK.md, including:
- Anthropic
- Azure
- Gemini
- Groq
- OpenAI
- OpenRouter
General flow:
- Open Chat.
- Choose
Manage Modelsfrom the model picker. - Add the provider credentials required by your model vendor.
- Enable the saved models you want to expose in Xcode.
Never commit provider secrets, API keys, or tokens into project files.
For best results with chat, code review, and agent mode:
- Open the
.xcodeproj,.xcworkspace, or playground before starting a task. - Allow file-system access if macOS prompts you.
- Keep the relevant files open in Xcode so Copilot can use editor context.
You can further customize Copilot behavior with:
If configuration stops working:
- Check whether the app is still signed in.
- Verify the required permissions are still enabled.
- Restart Xcode after changing extension or accessibility settings.
- Reopen the Copilot app and retry the action.
- Collect logs from
~/Library/Logs/GitHubCopilot/if the issue persists.