Title: Xcode 27 beta: UI automation still fails because bundled AXe looks for SimulatorKit under PrivateFrameworks · Issue #453 · getsentry/XcodeBuildMCP · GitHub
Open Graph Title: Xcode 27 beta: UI automation still fails because bundled AXe looks for SimulatorKit under PrivateFrameworks · Issue #453 · getsentry/XcodeBuildMCP
X Title: Xcode 27 beta: UI automation still fails because bundled AXe looks for SimulatorKit under PrivateFrameworks · Issue #453 · getsentry/XcodeBuildMCP
Description: Summary This is a fresh reproduction of the Xcode 27 beta SimulatorKit.framework path issue discussed in #446. I am opening a new issue because #446 is closed as not planned, but the current released XcodeBuildMCP still reports UI automa...
Open Graph Description: Summary This is a fresh reproduction of the Xcode 27 beta SimulatorKit.framework path issue discussed in #446. I am opening a new issue because #446 is closed as not planned, but the current releas...
X Description: Summary This is a fresh reproduction of the Xcode 27 beta SimulatorKit.framework path issue discussed in #446. I am opening a new issue because #446 is closed as not planned, but the current releas...
Opengraph URL: https://github.com/getsentry/XcodeBuildMCP/issues/453
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Xcode 27 beta: UI automation still fails because bundled AXe looks for SimulatorKit under PrivateFrameworks","articleBody":"### Summary\n\nThis is a fresh reproduction of the Xcode 27 beta `SimulatorKit.framework` path issue discussed in #446. I am opening a new issue because #446 is closed as not planned, but the current released XcodeBuildMCP still reports UI automation as available while `snapshot_ui` / AXe-backed UI automation fails at runtime.\n\nBuild, install, launch, and screenshots still work. The broken part is semantic UI automation / accessibility hierarchy capture / element-ref tapping.\n\n### Environment\n\n- XcodeBuildMCP: `2.6.2`\n- AXe reported by doctor: `1.7.1`\n- Xcode: `Xcode 27.0`, build `27A5194q`\n- Active developer dir: `/Applications/Xcode-beta.app/Contents/Developer`\n- macOS/Darwin: `27.0.0`\n- Host arch: `arm64`\n- Client: Codex Desktop using XcodeBuildMCP tools\n\n### What works\n\nThese XcodeBuildMCP simulator actions worked against the same app/simulator:\n\n- `build_run_sim` after passing `IPHONEOS_DEPLOYMENT_TARGET=16.4`\n- `install_app_sim`\n- `launch_app_sim`\n- `screenshot`\n\n### What fails\n\n`mcp__xcodebuildmcp.snapshot_ui` fails after the app is launched:\n\n```text\nFailed to get accessibility hierarchy.\nCLIError(errorDescription: \"Failed to load essential private frameworks: Attempting to load a file at path '/Applications/Xcode-beta.app/Contents/Developer/Library/PrivateFrameworks/SimulatorKit.framework', but it does not exist\")\n```\n\nThe framework exists in the Xcode 27 beta bundle at the new location:\n\n```text\n/Applications/Xcode-beta.app/Contents/SharedFrameworks/SimulatorKit.framework\n```\n\nThe old path does not exist:\n\n```text\n/Applications/Xcode-beta.app/Contents/Developer/Library/PrivateFrameworks/SimulatorKit.framework\n```\n\n### Steps to reproduce\n\n1. Use Xcode 27 beta as the active Xcode:\n\n```bash\nxcode-select -p\n# /Applications/Xcode-beta.app/Contents/Developer\n```\n\n2. Launch an iOS simulator app through XcodeBuildMCP.\n3. Call `snapshot_ui` or another AXe-backed UI automation command.\n4. Observe the missing `SimulatorKit.framework` path error above.\n\n### Expected behavior\n\nOne of these would be useful:\n\n1. XcodeBuildMCP / bundled AXe supports both Xcode 26 and Xcode 27 framework locations.\n2. XcodeBuildMCP doctor detects this specific Xcode 27 beta mismatch and reports UI automation as unsupported instead of available.\n3. The docs explicitly say that Xcode 27 beta UI automation is unsupported for now, with a recommended workaround.\n\n### Actual behavior\n\nDoctor reports UI automation as available, and build/run/screenshot tools work, but UI hierarchy/tap automation fails when the bundled AXe path loader tries the old Xcode 26 private-framework path.\n\n### Why this matters\n\nFor Codex/XcodeBuildMCP workflows, this failure makes the tool look partially healthy: agents can build, install, launch, and capture screenshots, but cannot use the intended semantic UI automation APIs. That causes agents to fall back to less reliable visual or desktop-level control even though the simulator is otherwise working.\n","author":{"url":"https://github.com/judiazm","@type":"Person","name":"judiazm"},"datePublished":"2026-06-23T02:45:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/453/XcodeBuildMCP/issues/453"}
| 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:f6bd0d51-238c-f061-82a1-1e0def44b912 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E884:7CA5C:DC4005:13633B7:6A4CAEC8 |
| html-safe-nonce | 810cdb700463a3eb1d12bda6226dbc6b03dd70659194ea2c669ecc2cd95dea67 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODg0OjdDQTVDOkRDNDAwNToxMzYzM0I3OjZBNENBRUM4IiwidmlzaXRvcl9pZCI6IjU4MzA2MzM4MTY1NDA4ODQ2ODAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3bc9032efbdb69ff3338e1c2b61c178ef92579cf805080ee28e5bf233d6bebe0 |
| hovercard-subject-tag | issue:4722166140 |
| 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/453/issue_layout |
| twitter:image | https://opengraph.githubassets.com/61fc4d9b28e83b4ed3981df2e0f2135c79d51c1efd71c0e88962509da2edb764/getsentry/XcodeBuildMCP/issues/453 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/61fc4d9b28e83b4ed3981df2e0f2135c79d51c1efd71c0e88962509da2edb764/getsentry/XcodeBuildMCP/issues/453 |
| og:image:alt | Summary This is a fresh reproduction of the Xcode 27 beta SimulatorKit.framework path issue discussed in #446. I am opening a new issue because #446 is closed as not planned, but the current releas... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | judiazm |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| 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 | ae90d426644ca15e89bacceb72e51f4e9dbf85f7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width