> ## Content Index
> Fetch the complete content index at: https://developerinsider.co/llms.txt
> Use this file to discover other available public pages before exploring further.

# Fix GitHub Copilot for Xcode crashes immediately when opened
- URL: https://developerinsider.co/fix-github-copilot-for-xcode-crashes-immediately-when-opened/
- Published: 2025-07-30T10:30:12.000Z
- Updated: 2025-08-01T03:57:16.000Z
- Author: Vineet Choudhary
- Tags: Tips, Xcode, GitHub, GitHub Copilot, GitHub Copilot for Xcode

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.