MCP Xcode Tools Test Timeout Issue Report
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
The MCP Xcode Tools RunAllTests command consistently times out or returns "No result" when executing all 453 tests in the ForesightTests target, despite all tests passing successfully when:
- Run individually via MCP
RunSomeTests - Run in small groups via MCP
RunSomeTests - Run via xcodebuild command line
- Run via Xcode CMD-U interface
This appears to be a timeout or performance limitation in the MCP tool infrastructure, not an issue with the test suite itself.
What Should Happen?
The MCP Xcode Tools RunAllTests command should execute all 453 tests in the app tests target.
MCP_TEST_TIMEOUT_ISSUE_REPORT.md
Error Messages/Logs
Steps to Reproduce
Reproduction Steps
- Create a test suite with 453+ tests across multiple test files
- Execute via MCP tool:
````
RunAllTests action via mcp__xcode-tools__RunAllTests
- Observe: Tool returns "No result" or times out
- Compare: Same tests pass when run via:
``bash``
xcodebuild test -scheme Foresight -destination 'platform=macOS'
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
Sonnet 4.6 extended
Platform
Other
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗