github / github/CopilotForXcode

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

Ouverte
#24 5 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Swift
Étoiles
6.3k
Forks
2k
Merge moyen
2 min
PR mergées (30 j)
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**

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.