Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Host app Not Responding on macOS 26.5 / Xcode 26.5 — Settings stuck loading, chat and menu bar unresponsive (0.42 / 0.50 / 0.51)

未關閉
#921 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
42/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
macos, swift
領域
desktop, devtools

研究方向

先在 macOS 26.5 上使用 Xcode 26.5 重現 GitHub Copilot for Xcode host app 的凍結問題,然後檢查回報的 Client、UI、CommunicationBridge 和 Extension Service 連線錯誤。完成的判定標準是 Settings 中的帳戶和權限能夠載入、Chat 和選單列能夠回應,且 host app 不再變成 Not Responding。

由索引模型根據 Issue 內容生成。

描述

Describe the bug

The GitHub Copilot for Xcode host app becomes unresponsive shortly after launch. In Activity Monitor it shows as Not Responding (red).

While the app window can open, the UI is effectively dead:

  • Settings → GitHub Account stays on "loading…" indefinitely
  • Settings → Permissions stays on "loading…" indefinitely
  • Chat window does not open
  • Menu bar icon does not respond to clicks

The Extension Service and Communication Bridge processes start and sometimes connect (feature flags / policy updates appear in logs), but the host app UI never becomes functional. The failure has persisted for several weeks across multiple Copilot versions and after a full clean reinstall.

Versions

  • Copilot for Xcode: 0.51.0 (also reproduced on 0.50.0 and 0.42.0)
  • Xcode: 26.5 (Build 17F42)
  • macOS: 26.5.2 (Build 25F84)
  • Hardware: MacBook Pro, Apple M5 Pro, 24 GB RAM

Steps to reproduce

  1. Install GitHub Copilot for Xcode in /Applications/GitHub Copilot for Xcode.app
  2. Grant required permissions:
    • Accessibility
    • App Background Activity (Login Items)
    • Xcode Source Editor Extension
  3. Launch Xcode and open a Swift file
  4. Launch GitHub Copilot for Xcode (host app)
  5. Observe in Activity Monitor: host app goes Not Responding within ~30–60 seconds
  6. Open Settings → Account / Permissions → stuck on loading
  7. Try opening Chat or clicking the menu bar icon → no response

Expected behavior

Settings should load account status and permissions. Chat and menu bar should be usable.

Actual behavior

Host app freezes. Settings spin forever. Chat and menu bar are unresponsive.

Representative errors (repeated across sessions):

[error] [Client] Failed to update feature flags: Waiting for service to connect to the communication bridge.
[info] [Client] XPCService interrupted
[error] [UI] Failed to reload status. Connection to extension service error: Couldn't communicate with a helper application.
[error] [Client] AgentModeDropdown: Failed to load modes: Connection to extension service error: Couldn't communicate with a helper application.
[error] [Service] Failed to connect to bridge (1 consecutive failures): The operation couldn't be completed. (Swift.CancellationError error 1.)
[error] [Service] AXObserver: Accessibility API disabled, will try again later

On some launches the bridge appears to connect successfully:

[info] [CommunicationBridge] Service app found: ... Optional("com.github.CopilotForXcode.ExtensionService")
[info] [CommunicationBridge] Service app is still valid
[info] [Client] Feature flags updated: agentMode=true, byok=true, mcp=true, editorPreview=true
[info] [Client] Copilot policy updated: customAgent=true, mcp=true, subagent=true

…but the host app UI remains frozen regardless.

Troubleshooting already tried

  • App installed in /Applications (not a custom path)
  • Official uninstall script + delete ~/.config/github-copilot/ + reinstall from DMG
  • Tested 0.42.0, 0.50.0, and 0.51.0 — same behavior on all three
  • Full Mac reboot after reinstall / upgrade
  • Force-quit all Copilot processes and relaunch
  • Verified Accessibility, Background Activity, and Xcode Source Editor Extension permissions
  • Disabled Proxy strict SSL (GitHubCopilotUseStrictSSL = false)
  • Reset TCC permissions for Copilot bundle IDs and re-granted manually

After clean reinstalls, ~/.config/github-copilot/auth.db is empty (0 bytes), so no OAuth session persists — but the UI freeze happens even before sign-in can complete.

Related issues

  • #731 — Settings stuck on "account loading" (similar UI symptom; workaround was moving app to /Applications, which does not apply here)
  • #746 — Host app Not Responding on versions > 0.42 (similar symptom, but on macOS 15.7.3 / Intel; downgrading to 0.42 worked for that reporter — it does not work for me)

Additional context

  • Issue started several weeks ago and has been reproducible consistently since.
  • Antivirus (Avast) and VPN clients are installed but were previously used without issues; Copilot worked fine before this regression.
  • This appears to be specific to the macOS 26.5 + Xcode 26.5 environment, since downgrading Copilot and full reinstalls do not help.
主要語言
Swift
星號
6.3k
分支
2k
平均合併
3 天 21 小時
30 天內合併 PR
2

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

github/CopilotForXcode 的其他 Issue

查看 github/CopilotForXcode 的全部 Issue

相似的 Issue

更多 Swift Issue

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

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