René's URL Explorer Experiment


Title: [Bug]: Build tools inject hardcoded -configuration Debug, overriding the scheme's configuration · Issue #443 · getsentry/XcodeBuildMCP · GitHub

Open Graph Title: [Bug]: Build tools inject hardcoded -configuration Debug, overriding the scheme's configuration · Issue #443 · getsentry/XcodeBuildMCP

X Title: [Bug]: Build tools inject hardcoded -configuration Debug, overriding the scheme's configuration · Issue #443 · getsentry/XcodeBuildMCP

Description: Bug Description When no configuration is provided (neither as a tool parameter nor a session default), every build/test/path tool injects -configuration Debug into the xcodebuild invocation. This overrides the configuration that the sche...

Open Graph Description: Bug Description When no configuration is provided (neither as a tool parameter nor a session default), every build/test/path tool injects -configuration Debug into the xcodebuild invocation. This o...

X Description: Bug Description When no configuration is provided (neither as a tool parameter nor a session default), every build/test/path tool injects -configuration Debug into the xcodebuild invocation. This o...

Opengraph URL: https://github.com/getsentry/XcodeBuildMCP/issues/443

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: Build tools inject hardcoded -configuration Debug, overriding the scheme's configuration","articleBody":"### Bug Description\n\nWhen no `configuration` is provided (neither as a tool parameter nor a session default), every build/test/path tool injects `-configuration Debug` into the `xcodebuild` invocation. This overrides the configuration that the scheme's Run action would otherwise select.\n\n`xcodebuild`, run on its own, picks the configuration from the scheme. By always passing `-configuration Debug`, XcodeBuildMCP forces resolution against `Debug.xcconfig` instead of the scheme's actual Run configuration. In a project where the scheme's Run action uses a custom configuration (e.g. `Debug-dev`), this produces the wrong build settings — including the wrong bundle identifier.\n\nConcrete example from a real project:\n- Scheme's Run action configuration: `Debug-dev` -\u003e `Development.xcconfig` -\u003e `com.example.app.dev` (expected)\n- Forced `-configuration Debug` -\u003e `Debug.xcconfig` -\u003e `com.example.app` (what actually gets built)\n\n### Debug Output\n\n```\n⚙️ XcodeBuildMCP Doctor\n\n   Generated: 2026-06-03T14:21:14.316Z\n   Server Version: 2.6.2\n   Output Mode: Redacted (default)\n\nSystem Information\n  platform: darwin\n  release: 25.5.0\n  arch: arm64\n  cpus: 10 x Apple M1 Pro\n  memory: 32 GB\n\nNode.js Information\n  version: v25.2.1\n  platform: darwin\n  arch: arm64\n\nXcode Information\n  version: Xcode 26.5 - Build version 17F42\n  path: /Applications/Xcode-26.5.0.app/Contents/Developer\n  selectedXcode: /Applications/Xcode-26.5.0.app/Contents/Developer/usr/bin/xcodebuild\n  xcrunVersion: xcrun version 72.\n\nDependencies\n  axe: 1.7.1\n  mise: 2026.5.18 macos-arm64 (2026-05-31)\n\nEnvironment Variables\n  XCODEBUILDMCP_RUNTIME: cli\n  XCODEBUILDMCP_SILENCE_LOGS: true\n\nUI Automation (axe)\n  Available: Yes\n  UI Automation Supported: Yes\n\nManifest Tool Inventory\n  Total Unique Tools: 82\n  Workflow Count: 15\n\nTool Availability Summary\n  Build Tools: Available\n  UI Automation Tools: Available\n  Incremental Build Support: Not available\n\nSentry\n  Sentry enabled: Yes\n\n✅ Doctor diagnostics complete\n```\n\n### Editor/Client\n\nClaude Code\n\n### MCP Server Version\n\n2.6.2\n\n### LLM\n\nClaude Opus 4.8\n\n### MCP Configuration\n\n```json\n\"XcodeBuildMCP\": {\n    \"args\": [\n      \"-y\",\n      \"xcodebuildmcp@latest\",\n      \"mcp\"\n    ],\n    \"command\": \"npx\",\n    \"env\": {},\n    \"type\": \"stdio\"\n  }\n```\n\n### Steps to Reproduce\n\n1. Use a project whose scheme's Run action is set to a non-`Debug` configuration (e.g. `Debug-dev`).\n2. Ask the agent to build for simulator/device without specifying a `configuration`, and without a `configuration` session default set.\n3. Inspect the generated `xcodebuild` command in the build log.\n\n### Expected Behavior\n\nWhen neither an explicit `configuration` argument nor a session default is set, `-configuration` should be omitted so `xcodebuild` honors the scheme's configuration for the chosen action.\n\n### Actual Behavior\n\n`-configuration Debug` is always passed, silently overriding the scheme and producing the wrong build settings/bundle id for projects whose scheme uses a non-`Debug` Run configuration.\n\nRoot cause:\n\n```ts\n// src/mcp/tools/simulator/build_sim.ts:103 (same pattern in device/macos/clean/path tools)\nconst configuration = params.configuration ?? 'Debug';\n```\n\n```ts\n// src/utils/build-utils.ts:97 — pushed unconditionally\ncommand.push('-configuration', params.configuration);\n```\n\n`SharedBuildParams.configuration` is typed as required `string` (`src/types/common.ts:135`), so no code path omits the flag. Session defaults allow `configuration: string | null` and only merge concrete non-null values, so an unset configuration always falls through to the hardcoded `Debug`.\n\n### Error Messages\n\n(none — silent wrong-config build)\n","author":{"url":"https://github.com/hujunfeng","@type":"Person","name":"hujunfeng"},"datePublished":"2026-06-03T14:27:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/443/XcodeBuildMCP/issues/443"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:3ddcfa27-7423-cd11-d1c7-947af729f3dc
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEBDA:312530:13D7F07:1B92E4A:6A4CAE2C
html-safe-nonceb61e84e078b683de6cc345aba58239995721c984161cef06f283e4dc1899e2c2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQkRBOjMxMjUzMDoxM0Q3RjA3OjFCOTJFNEE6NkE0Q0FFMkMiLCJ2aXNpdG9yX2lkIjoiNTA5OTgwMzk0MjM5MDExNTg4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac788f5e483af267b970f8f3e9f7f08140be90a7f808f6f28ec1023f903f0f80ab
hovercard-subject-tagissue:4580764313
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/XcodeBuildMCP/443/issue_layout
twitter:imagehttps://opengraph.githubassets.com/19d97394de6b27d6851742b23309219c14c39e7b5a793f31129f3dd5292d514d/getsentry/XcodeBuildMCP/issues/443
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/19d97394de6b27d6851742b23309219c14c39e7b5a793f31129f3dd5292d514d/getsentry/XcodeBuildMCP/issues/443
og:image:altBug Description When no configuration is provided (neither as a tool parameter nor a session default), every build/test/path tool injects -configuration Debug into the xcodebuild invocation. This o...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehujunfeng
hostnamegithub.com
expected-hostnamegithub.com
None3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c
turbo-cache-controlno-preview
go-importgithub.com/getsentry/XcodeBuildMCP git https://github.com/getsentry/XcodeBuildMCP.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id945551361
octolytics-dimension-repository_nwogetsentry/XcodeBuildMCP
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id945551361
octolytics-dimension-repository_network_root_nwogetsentry/XcodeBuildMCP
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseae90d426644ca15e89bacceb72e51f4e9dbf85f7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/getsentry/XcodeBuildMCP/issues/443#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2FXcodeBuildMCP%2Fissues%2F443
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2FXcodeBuildMCP%2Fissues%2F443
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=getsentry%2FXcodeBuildMCP
Reloadhttps://github.com/getsentry/XcodeBuildMCP/issues/443
Reloadhttps://github.com/getsentry/XcodeBuildMCP/issues/443
Reloadhttps://github.com/getsentry/XcodeBuildMCP/issues/443
Please reload this pagehttps://github.com/getsentry/XcodeBuildMCP/issues/443
getsentry https://github.com/getsentry
XcodeBuildMCPhttps://github.com/getsentry/XcodeBuildMCP
Please reload this pagehttps://github.com/getsentry/XcodeBuildMCP/issues/443
Notifications https://github.com/login?return_to=%2Fgetsentry%2FXcodeBuildMCP
Fork 300 https://github.com/login?return_to=%2Fgetsentry%2FXcodeBuildMCP
Star 6k https://github.com/login?return_to=%2Fgetsentry%2FXcodeBuildMCP
Code https://github.com/getsentry/XcodeBuildMCP
Issues 14 https://github.com/getsentry/XcodeBuildMCP/issues
Pull requests 8 https://github.com/getsentry/XcodeBuildMCP/pulls
Discussions https://github.com/getsentry/XcodeBuildMCP/discussions
Actions https://github.com/getsentry/XcodeBuildMCP/actions
Projects https://github.com/getsentry/XcodeBuildMCP/projects
Security and quality 0 https://github.com/getsentry/XcodeBuildMCP/security
Insights https://github.com/getsentry/XcodeBuildMCP/pulse
Code https://github.com/getsentry/XcodeBuildMCP
Issues https://github.com/getsentry/XcodeBuildMCP/issues
Pull requests https://github.com/getsentry/XcodeBuildMCP/pulls
Discussions https://github.com/getsentry/XcodeBuildMCP/discussions
Actions https://github.com/getsentry/XcodeBuildMCP/actions
Projects https://github.com/getsentry/XcodeBuildMCP/projects
Security and quality https://github.com/getsentry/XcodeBuildMCP/security
Insights https://github.com/getsentry/XcodeBuildMCP/pulse
#460https://github.com/getsentry/XcodeBuildMCP/pull/460
[Bug]: Build tools inject hardcoded -configuration Debug, overriding the scheme's configurationhttps://github.com/getsentry/XcodeBuildMCP/issues/443#top
#460https://github.com/getsentry/XcodeBuildMCP/pull/460
https://github.com/hujunfeng
hujunfenghttps://github.com/hujunfeng
on Jun 3, 2026https://github.com/getsentry/XcodeBuildMCP/issues/443#issue-4580764313
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.