Copilot for Xcode Stops After Maximum Tool Attempts

Open
#767 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
macos, swift
Domain
ai, desktop

Research direction

No files, tests, or entry points are identified in the issue. Start by locating the handling for the maximum tool attempts error and compare it with the described VS Code summary-and-continue behavior. Done means the Xcode conversation summarizes its context and continues without requiring a restart.

Written by the indexing model from the issue text.

Description

reviewed

Describe the bug

When using Copilot for Xcode, I often encounter the following error:

"Oops, maximum tool attempts reached. You can update the max tool
requests in settings."

After this happens, Copilot stops responding and does not provide any
further assistance. Unlike Copilot in VS Code, it does not
automatically summarize the context or continue the conversation
,
which interrupts development.


Versions

  • Copilot for Xcode: 0.47.0
  • Xcode: 26.3
  • macOS: 26

Steps to reproduce

  1. Open a project in Xcode.
  2. Start using Copilot Chat for code generation or debugging.
  3. Continue interacting with Copilot for multiple consecutive requests.
  4. After several tool calls, Copilot shows:
    > "Oops, maximum tool attempts reached..."
  5. Copilot no longer responds or continues the task.

Expected behavior

When the maximum tool attempts limit is reached, Copilot should behave
similarly to VS Code Copilot:

  • Automatically summarize previous context.
  • Continue the conversation with a reduced context.
  • Allow the user to proceed without restarting the session.

Actual behavior

  • Copilot stops working.
  • No summary is provided.
  • No automatic continuation.
  • User must manually restart or clear the chat.

Screenshots

Image

Logs

Not available / Please advise how to collect relevant logs.


Additional context

Copilot in VS Code supports "summary and continue" behavior when
context limits are reached, which greatly improves usability.

It would be very helpful if Copilot for Xcode could support a similar
mechanism to avoid frequent interruptions during long debugging or
development sessions.

Dominant language
Swift
Stars
6.3k
Forks
2k
Avg merge
3d 21h
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/CopilotForXcode

All issues in github/CopilotForXcode

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.