Fix GitHub Copilot for Xcode crashes immediately when opened

If GitHub Copilot for Xcode crashes or closes immediately when opening a specific project but works fine with others, the issue is likely due to cached data created by Copilot for that project. This issue is observed when agent mode is enabled for large projects.

To fix this, you can remove the Github Copilot cached data in following directory:

~/.config/github-copilot/xcode

Now, restart the Xcode and GitHub Copilot for Xcode app. This should fix the issue.


You've successfully subscribed to Developer Insider
Great! Next, complete checkout for full access to Developer Insider
Welcome back! You've successfully signed in
Success! Your account is fully activated, you now have access to all content.