github / github/CopilotForXcode

Long existing can't read file issue

Open
#537 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
6.3k
Forks
2k
Avg merge
2m
Merged PRs (30d)
2

Description

**Describe the bug**

Copilot randomly can't read file's content and it leads many issues. This time, I asked Copilot to find out unused views and functions. It gave many wrong answers and I had to redirect it many times. Finally I asked it why this happened. And it answered that in the very beginning, the reading files was not correct and it didn't know what the content was at the very beginning. However I was shocked as if that happened I thought Copilot should show me an error instead of try to fool me.

**Versions**
- Copilot for Xcode: 0.43.140
- Xcode: 26.0.1
- macOS: 26.0

**Steps to reproduce**
1.
2.

**Screenshots**

Image
Image
Image
Image

**Logs**

**Additional context**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.