Title: fix(desktop): weak-link ScreenCaptureKit so the Computer Use helper loads on macOS 14 and 15 by waleedlatif1 · Pull Request #9978 · simstudioai/sim · GitHub
Open Graph Title: fix(desktop): weak-link ScreenCaptureKit so the Computer Use helper loads on macOS 14 and 15 by waleedlatif1 · Pull Request #9978 · simstudioai/sim
X Title: fix(desktop): weak-link ScreenCaptureKit so the Computer Use helper loads on macOS 14 and 15 by waleedlatif1 · Pull Request #9978 · simstudioai/sim
Description: Summary The Computer Use helper failed to launch on macOS 14/15 (dyld: Symbol not found: _OBJC_CLASS_$_SCScreenshotConfiguration), so Settings → Desktop → Computer Use showed "Could not connect to the computer helper" and the switch could not be turned on Cause: the helper targets macOS 14 but CI builds it with the macOS 26 SDK, which linked the macOS 26 screenshot classes strongly; the #available(macOS 26) guard cannot help because dyld refuses the binary before any code runs Fix: weak-link ScreenCaptureKit (-weak_framework), so the macOS 26 classes resolve to nil on older macOS behind the existing availability check Guard: the build (and the native build cache reuse path) now fails if any ScreenCaptureKit reference is strong, since our macOS 26 runners would otherwise never notice Type of Change Bug fix Testing Reproduced on macOS 15.5 with the shipped 0.9.55 helper (dyld symbol-not-found at launch) Built the helper with the new flags on macOS 26: 0 strong / 7 weak ScreenCaptureKit references; that binary loads on macOS 15.5 and answers status Full desktop build and e2e in CI Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing (new tests pass the test-audit authoring gate) No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)
Open Graph Description: Summary The Computer Use helper failed to launch on macOS 14/15 (dyld: Symbol not found: _OBJC_CLASS_$_SCScreenshotConfiguration), so Settings → Desktop → Computer Use showed "Could not conne...
X Description: Summary The Computer Use helper failed to launch on macOS 14/15 (dyld: Symbol not found: _OBJC_CLASS_$_SCScreenshotConfiguration), so Settings → Desktop → Computer Use showed "Could not c...
Opengraph URL: https://github.com/simstudioai/sim/pull/9978
X: @github
Domain: github.com
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:b11b6447-82e1-4ef7-b5b0-6e6054dae620 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C86C:2781FE:1F9ECB:2C3FD6:6AFB50C0 |
| html-safe-nonce | e351c714ba096b896f83f33ad668022620f87a66129ed3da6ad4f3f089a630a4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODZDOjI3ODFGRToxRjlFQ0I6MkMzRkQ2OjZBRkI1MEMwIiwidmlzaXRvcl9pZCI6IjM0NjAyNjg0MjQxODM4OTQyMDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0632743f6a24f7a932020534ceb75d178192ac514697ea4552fb9c783f537212 |
| hovercard-subject-tag | pull_request:5289669782 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/simstudioai/sim/pull/9978/files |
| twitter:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| og:image:alt | Summary The Computer Use helper failed to launch on macOS 14/15 (dyld: Symbol not found: _OBJC_CLASS_$_SCScreenshotConfiguration), so Settings → Desktop → Computer Use showed "Could not conne... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7122bb414b542dba14d71a3f0b9f6fd2abce715b9f5912d082800563e6c806d1 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cbf66c024bb6d10e6955baa7413c54cf13a201bb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width