René's URL Explorer Experiment


Title: Simulator defaults refresh does not reconcile when both simulatorId and simulatorName are set · Issue #357 · getsentry/XcodeBuildMCP · GitHub

Open Graph Title: Simulator defaults refresh does not reconcile when both simulatorId and simulatorName are set · Issue #357 · getsentry/XcodeBuildMCP

X Title: Simulator defaults refresh does not reconcile when both simulatorId and simulatorName are set · Issue #357 · getsentry/XcodeBuildMCP

Description: Context simulatorName is the stable, canonical identity for a simulator selection. simulatorId in .xcodebuildmcp/config.yaml is allowed as a cached/convenience value (useful for sole developers), but it is expected to be reconciled in me...

Open Graph Description: Context simulatorName is the stable, canonical identity for a simulator selection. simulatorId in .xcodebuildmcp/config.yaml is allowed as a cached/convenience value (useful for sole developers), b...

X Description: Context simulatorName is the stable, canonical identity for a simulator selection. simulatorId in .xcodebuildmcp/config.yaml is allowed as a cached/convenience value (useful for sole developers), b...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Simulator defaults refresh does not reconcile when both simulatorId and simulatorName are set","articleBody":"## Context\n\n`simulatorName` is the stable, canonical identity for a simulator selection. `simulatorId` in `.xcodebuildmcp/config.yaml` is allowed as a cached/convenience value (useful for sole developers), but it is expected to be reconciled in memory on each contributor's machine so a committed UUID does not break tools when cloned to a different environment. This reconciliation intentionally never writes back to disk — we don't want config churn from contributors each having different local simulator UUIDs.\n\n## Bug\n\n`refreshSimulatorDefaults` in `src/utils/simulator-defaults-refresh.ts` only reconciles when exactly one of `simulatorId` / `simulatorName` is present:\n\n```ts\nif (!simulatorId \u0026\u0026 simulatorName) {\n  // name -\u003e id, in-memory\n}\nif (!simulatorName \u0026\u0026 simulatorId) {\n  // id -\u003e name, in-memory\n}\n```\n\nWhen **both** are set in the project config (the common and recommended shape, e.g. `example_projects/iOS_Calculator/.xcodebuildmcp/config.yaml`), neither branch fires. The stale committed `simulatorId` is kept in the session store as-is, and downstream `resolveSimulatorIdOrName` (`src/utils/simulator-resolver.ts:92-113`) short-circuits on it without validating against `simctl`, so the stale UUID is passed directly to `xcrun simctl` on any machine that doesn't happen to have that UUID.\n\n## Expected behaviour\n\nAt MCP runtime bootstrap (`hydrateSessionDefaultsForMcp` in `src/runtime/bootstrap-runtime.ts`), when both `simulatorId` and `simulatorName` are present:\n\n1. Resolve `simulatorName` -\u003e id via `resolveSimulatorNameToId`.\n2. If the resolved id equals the committed `simulatorId`, do nothing.\n3. If it differs, patch `simulatorId` (and recompute `simulatorPlatform` as the existing branches do) in the session store via `sessionStore.setDefaultsIfRevisionForProfile` with `persist: false`.\n\nThe `persist: false` is critical — this is an in-memory override per contributor, not a write-back.\n\n## Proposed fix\n\nExtend `refreshSimulatorDefaults` with a third branch that handles the both-set case, reusing `resolveSimulatorNameToId`. Add unit tests in `src/utils/__tests__/` covering:\n\n- Both set, name resolves to the same id — no patch applied.\n- Both set, name resolves to a different id — in-memory patch updates `simulatorId`; no call to `persistSessionDefaultsPatch`.\n- Both set, `simctl` lookup fails — existing `simulatorId` retained, warning logged.\n\n## Surfaced by\n\nCursor Bugbot review on #349 (https://github.com/getsentry/XcodeBuildMCP/pull/349#discussion_r3139578705), though the bot's framing (committed UUID is a regression) differs from the actual root cause captured here.","author":{"url":"https://github.com/cameroncooke","@type":"Person","name":"cameroncooke"},"datePublished":"2026-04-24T21:24:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/357/XcodeBuildMCP/issues/357"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:da7e7bab-b627-01de-6149-a1af7efc3135
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8794:B2172:1371A50:1BCAA94:6A4CC244
html-safe-nonce78c2b2ebd02e293598d5abdd84dc07c96d013f32c04517a3ffb6e298beb60816
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Nzk0OkIyMTcyOjEzNzFBNTA6MUJDQUE5NDo2QTRDQzI0NCIsInZpc2l0b3JfaWQiOiI0OTM1OTA4NTU3MzEwNDQ0MTAwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac983b2cfc510d54f0484e6368ef252de1a5e3088825c81a435646f6f827d35412
hovercard-subject-tagissue:4325669403
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/357/issue_layout
twitter:imagehttps://opengraph.githubassets.com/581534bf0762d0da7e754c60f4372d97c10ff98b15f8c96d2ed15022d3fa98b2/getsentry/XcodeBuildMCP/issues/357
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/581534bf0762d0da7e754c60f4372d97c10ff98b15f8c96d2ed15022d3fa98b2/getsentry/XcodeBuildMCP/issues/357
og:image:altContext simulatorName is the stable, canonical identity for a simulator selection. simulatorId in .xcodebuildmcp/config.yaml is allowed as a cached/convenience value (useful for sole developers), b...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecameroncooke
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
releasec03e7e569190bc89b638cdd4acb4b6c6b38a170a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/getsentry/XcodeBuildMCP/issues/357#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2FXcodeBuildMCP%2Fissues%2F357
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%2F357
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/357
Reloadhttps://github.com/getsentry/XcodeBuildMCP/issues/357
Reloadhttps://github.com/getsentry/XcodeBuildMCP/issues/357
Please reload this pagehttps://github.com/getsentry/XcodeBuildMCP/issues/357
getsentry https://github.com/getsentry
XcodeBuildMCPhttps://github.com/getsentry/XcodeBuildMCP
Please reload this pagehttps://github.com/getsentry/XcodeBuildMCP/issues/357
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
#377https://github.com/getsentry/XcodeBuildMCP/pull/377
Simulator defaults refresh does not reconcile when both simulatorId and simulatorName are sethttps://github.com/getsentry/XcodeBuildMCP/issues/357#top
#377https://github.com/getsentry/XcodeBuildMCP/pull/377
bugSomething isn't workinghttps://github.com/getsentry/XcodeBuildMCP/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/cameroncooke
cameroncookehttps://github.com/cameroncooke
on Apr 24, 2026https://github.com/getsentry/XcodeBuildMCP/issues/357#issue-4325669403
#349https://github.com/getsentry/XcodeBuildMCP/pull/349
#349 (comment)https://github.com/getsentry/XcodeBuildMCP/pull/349#discussion_r3139578705
bugSomething isn't workinghttps://github.com/getsentry/XcodeBuildMCP/issues?q=state%3Aopen%20label%3A%22bug%22
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.