github / github/CopilotForXcode

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

未關閉
#24 5 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Swift
星號
6.3k
分支
2k
平均合併
2 分鐘
30 天內合併 PR
2

描述

**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**

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。