Title: [Bug]: Never gives Claude the full output · Issue #177 · getsentry/XcodeBuildMCP · GitHub
Open Graph Title: [Bug]: Never gives Claude the full output · Issue #177 · getsentry/XcodeBuildMCP
X Title: [Bug]: Never gives Claude the full output · Issue #177 · getsentry/XcodeBuildMCP
Description: Bug Description When running unit tests, XcodeBuildMCP never gives Claude the full output, effectively making it useless. It ends up having to run xcodebuild manually anyway, eg: ⏺ xcodebuildmcp - Test Simulator (MCP)(extraArgs: ["-only-...
Open Graph Description: Bug Description When running unit tests, XcodeBuildMCP never gives Claude the full output, effectively making it useless. It ends up having to run xcodebuild manually anyway, eg: ⏺ xcodebuildmcp - ...
X Description: Bug Description When running unit tests, XcodeBuildMCP never gives Claude the full output, effectively making it useless. It ends up having to run xcodebuild manually anyway, eg: ⏺ xcodebuildmcp - ...
Opengraph URL: https://github.com/getsentry/XcodeBuildMCP/issues/177
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: Never gives Claude the full output","articleBody":"### Bug Description\n\nWhen running unit tests, XcodeBuildMCP never gives Claude the full output, effectively making it useless. It ends up having to run `xcodebuild` manually anyway, eg:\n\n```\n⏺ xcodebuildmcp - Test Simulator (MCP)(extraArgs: [\"-only-testing:Tests\"])\n ⎿ Error: ❌ [stderr] 2026-01-17 15:25:16.321 xcodebuild[72399:38691874] [MT] IDETestOperationsObserverDebug: 150.506 elapsed -- Testing started completed.\n\n❯ its taken you 10 minutes and you still haven't figured out what tests are failing. i can find this out within 10 seconds when building in xcode. how can we speed this process up to help you find failing tests faster?\n\n⏺ You're right, this is frustrating. The XcodeBuildMCP tool isn't giving me the actual test results in its output. Let me try a different approach - I'll look at the test files directly based on your git status which shows\n changes in test files.\n\n⏺ Bash(xcodebuild test -project App.xcodeproj -scheme App -destination 'platform=iOS Simulator,name=iPhone Air' -only-testing:AppTests 2\u003e\u00261 | grep -E \"(Test C…) timeout: 5m 0s\n ⎿ ** TEST FAILED **\n Test case 'Tests/test1()' passed on 'Clone 1 of iPhone Air - App (77270)' (0.000 seconds)\n Test case 'Test/test2()' passed on 'Clone 1 of iPhone Air - App (77270)' (0.000 seconds)\n```\n\nI think that there should be an argument allowing Claude to specify that it wants the entire output. A lot of the time, it is trying to run entire test suites, and it needs to know exactly what has failed. Perhaps the MCP could even take the response from the test run and trim it down so that it contains a succinct response eg:\n\n```\nPASSED: test4()\nFAILED: test1(), test2(), test3()\n```\n\nAt the moment, I am strongly considering just disabling the MCP because it takes ten minutes to get to the point where it has to use `xcodebuild` manually anyway.\n\n### Debug Output\n\n```\n⏺ xcodebuildmcp - Test Simulator (MCP)(extraArgs: [\"-only-testing:Tests\"])\n ⎿ Error: ❌ [stderr] 2026-01-17 15:25:16.321 xcodebuild[72399:38691874] [MT] IDETestOperationsObserverDebug: 150.506 elapsed -- Testing started completed.\n\n❯ its taken you 10 minutes and you still haven't figured out what tests are failing. i can find this out within 10 seconds when building in xcode. how can we speed this process up to help you find failing tests faster?\n\n⏺ You're right, this is frustrating. The XcodeBuildMCP tool isn't giving me the actual test results in its output. Let me try a different approach - I'll look at the test files directly based on your git status which shows\n changes in test files.\n\n⏺ Bash(xcodebuild test -project App.xcodeproj -scheme App -destination 'platform=iOS Simulator,name=iPhone Air' -only-testing:AppTests 2\u003e\u00261 | grep -E \"(Test C…) timeout: 5m 0s\n ⎿ ** TEST FAILED **\n Test case 'Tests/test1()' passed on 'Clone 1 of iPhone Air - App (77270)' (0.000 seconds)\n Test case 'Test/test2()' passed on 'Clone 1 of iPhone Air - App (77270)' (0.000 seconds)\n```\n\n### Editor/Client\n\nClaude Code 2.1.9\n\n### MCP Server Version\n\nLatest\n\n### LLM\n\nOpus 4.5\n\n### MCP Configuration\n\n```json\n\"mcpServers\": {\n \"xcodebuildmcp\": {\n \"type\": \"stdio\",\n \"command\": \"npx\",\n \"args\": [\n \"-y\",\n \"@smithery/cli@latest\",\n \"run\",\n \"cameroncooke/xcodebuildmcp\"\n ],\n \"env\": {\n \"INCREMENTAL_BUILDS_ENABLED\": \"true\",\n \"XCODEBUILDMCP_SENTRY_DISABLED\": \"true\"\n }\n },\n```\n\n### Steps to Reproduce\n\n1. Ask it to run tests.\n\n### Expected Behavior\n\nIt is able to run tests and give Claude a succinct, full summary of what tests passed/failed.\n\n### Actual Behavior\n\nNot giving full information (see description)\n\n### Error Messages\n\n```shell\n\n```","author":{"url":"https://github.com/johnrogers","@type":"Person","name":"johnrogers"},"datePublished":"2026-01-17T04:35:37.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/177/XcodeBuildMCP/issues/177"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3d0ae504-edc9-f156-8412-cce6dc04b249 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EB76:1F64D6:2162DCC:2A72DDC:6991AE16 |
| html-safe-nonce | 8e0f33aaafaa071bc6a8516a12723ee43c5d92b0cf31867e350eaf6e16d8ef17 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjc2OjFGNjRENjoyMTYyRENDOjJBNzJEREM6Njk5MUFFMTYiLCJ2aXNpdG9yX2lkIjoiNTY4Mzc3OTIwMzgyMjEwNDA4NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 076d5a93aaecc2c4076056592690963f58cccaaadcd3027889738073be669776 |
| hovercard-subject-tag | issue:3824371735 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/XcodeBuildMCP/177/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1e47e3ee0ff384ebeb31bd3cf21963ae546d0c0538fbf7a9714e8baf03d802e4/getsentry/XcodeBuildMCP/issues/177 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1e47e3ee0ff384ebeb31bd3cf21963ae546d0c0538fbf7a9714e8baf03d802e4/getsentry/XcodeBuildMCP/issues/177 |
| og:image:alt | Bug Description When running unit tests, XcodeBuildMCP never gives Claude the full output, effectively making it useless. It ends up having to run xcodebuild manually anyway, eg: ⏺ xcodebuildmcp - ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | johnrogers |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/XcodeBuildMCP git https://github.com/getsentry/XcodeBuildMCP.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 945551361 |
| octolytics-dimension-repository_nwo | getsentry/XcodeBuildMCP |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 945551361 |
| octolytics-dimension-repository_network_root_nwo | getsentry/XcodeBuildMCP |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width