github / github/CopilotForXcode

Copilot Became "Extension is not enabled" State After Using Some Times

Open
#24 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
6.3k
Forks
2k
Avg merge
2m
Merged PRs (30d)
2

Description

**Describe the bug**

After using Copilot for some time, the icon of Copilot changes to an info icon style and prompts with "Extension is not enabled. Enable GitHub Copilot under Xcode and then restart Xcode". At this point, you don’t need to follow the prompt; simply closing and reopening Xcode should be enough. This is because the setting allowing Xcode extensions to use Copilot hasn’t changed.

I’m not sure exactly how to reproduce it, but I suspect it might also be a system-related issue such as the authorization expiring incorrectly after 24 hours upon opening Xcode.

**Versions**
- Copilot for Xcode: [e.g. 0.27.93]
- Xcode: [e.g. 16.2 beta 2 (16C5013f)]
- macOS: [e.g. 15.2 Beta (24C5073e)]

**Steps to reproduce**
1. Open Xcode
2. Wait until the issue shows. Maybe the next day it will show.

**Screenshots**

Screenshot 2024-11-06 at 5 17 00 AM

**Logs**

[github-copilot-for-xcode.log](https://github.com/user-attachments/files/17638985/github-copilot-for-xcode.log)

**Additional context**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.