Skip to content

[HomeKit] Update bindings up to Xcode 27.0 Beta 3 - #26171

Merged
dalexsoto merged 1 commit into
xcode27.0from
dev/alex/xc27-HomeKit
Jul 20, 2026
Merged

[HomeKit] Update bindings up to Xcode 27.0 Beta 3#26171
dalexsoto merged 1 commit into
xcode27.0from
dev/alex/xc27-HomeKit

Conversation

@dalexsoto

Copy link
Copy Markdown
Member

Summary

  • expose HomeKit accessory setup types on Mac Catalyst starting in 27.0
  • bind HMAccessorySetupManager.Supported for iOS and Mac Catalyst 27.0
  • move the intentionally unbound Matter payload selectors and existing callback-nullability findings to the Mac Catalyst xtro ignore baseline
  • remove the resolved iOS and Mac Catalyst HomeKit todo files

Validation

  • make world before the change and after the binding update
  • clean xtro-sharpie regeneration and classification: sanity passed
  • clean Cecil suite: 116 total, 112 passed, 4 skipped
  • app-size suite: all 16 cases skipped by the existing Xcode-beta guard
  • iOS/tvOS 27 introspection exercised the new static selector successfully; remaining failures are unrelated Xcode 27 beta UIKit/AVKit/AVFoundation runtime gaps
  • macOS introspection: 32 passed, 2 ignored
  • Mac Catalyst targeted selector, signature, and protocol fixtures: 12 passed; the full ctor fixture remains blocked by the known terminal-only TCC crash in CLLocationButton

Expose the existing HomeKit accessory setup types on Mac Catalyst starting in 27.0, and bind HMAccessorySetupManager.Supported for iOS and Mac Catalyst 27.0 using the native isSupported getter.

Carry the intentionally unbound Matter payload selectors and existing completion-handler nullability deferrals into the Mac Catalyst xtro baseline, then remove the fully resolved iOS and Mac Catalyst HomeKit todo files.

Validated with full make world rebuilds, clean xtro and Cecil runs, the beta-disabled app-size suite, and platform introspection including targeted Mac Catalyst selector, signature, and protocol fixtures.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: a4889094-1afb-4c92-b1d2-90267686aa7d
Copilot AI review requested due to automatic review settings July 17, 2026 20:57
@dalexsoto dalexsoto added this to the xcode27 milestone Jul 17, 2026
@dalexsoto
dalexsoto requested a review from rolfbjarne July 17, 2026 20:57

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the HomeKit bindings and xtro baselines to align with Xcode 27.0 Beta 3, primarily by enabling HomeKit accessory setup APIs on Mac Catalyst and adding a new static support indicator on HMAccessorySetupManager.

Changes:

  • Expose HomeKit accessory setup types on Mac Catalyst starting in 27.0.
  • Bind HMAccessorySetupManager.Supported for iOS and Mac Catalyst 27.0.
  • Move resolved/intentional xtro findings into the Mac Catalyst ignore baseline and remove resolved HomeKit .todo files.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
src/homekit.cs Adds Mac Catalyst availability for accessory setup types and binds HMAccessorySetupManager.Supported.
tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-HomeKit.ignore Adds new Mac Catalyst ignore baseline entries for intentionally unbound Matter selectors and callback nullability findings.
tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-HomeKit.todo Removed (resolved entries).
tests/xtro-sharpie/api-annotations-dotnet/iOS-HomeKit.todo Removed (resolved entry).

@@ -1,9 +1,15 @@
# CHIP is not bound yet and will be only when is stable
@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ API diff for current PR / commit

NET (empty diffs)

✅ API diff vs stable

NET (empty diffs)

ℹ️ Generator diff

Generator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes)

Pipeline on Agent
Hash: 3cab93ed0fde612011ca0da2adb9e40d4092e667 [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🚀 [CI Build #3cab93e] Test results 🚀

Test results

✅ All tests passed on VSTS: test results.

🎉 All 195 tests passed 🎉

Tests counts

✅ assembly-processing: All 1 tests passed. Html Report (VSDrops) Download
✅ cecil: All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (iOS): All 1 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ dotnettests (MacCatalyst): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (macOS): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (Multiple platforms): All 1 tests passed. [attempt 3] Html Report (VSDrops) Download
✅ dotnettests (tvOS): All 1 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ framework: All 2 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ fsharp: All 4 tests passed. Html Report (VSDrops) Download
✅ generator: All 5 tests passed. Html Report (VSDrops) Download
✅ interdependent-binding-projects: All 4 tests passed. Html Report (VSDrops) Download
✅ introspection: All 6 tests passed. Html Report (VSDrops) Download
✅ linker (iOS): All 15 tests passed. Html Report (VSDrops) Download
✅ linker (MacCatalyst): All 15 tests passed. Html Report (VSDrops) Download
✅ linker (macOS): All 21 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ linker (tvOS): All 15 tests passed. Html Report (VSDrops) Download
✅ monotouch (iOS): All 19 tests passed. [attempt 6] Html Report (VSDrops) Download
✅ monotouch (MacCatalyst): All 18 tests passed. Html Report (VSDrops) Download
✅ monotouch (macOS): All 19 tests passed. Html Report (VSDrops) Download
✅ monotouch (tvOS): All 19 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ msbuild: All 2 tests passed. Html Report (VSDrops) Download
✅ sharpie: All 1 tests passed. Html Report (VSDrops) Download
✅ windows: All 3 tests passed. Html Report (VSDrops) Download
✅ xcframework: All 4 tests passed. Html Report (VSDrops) Download
✅ xtro: All 1 tests passed. Html Report (VSDrops) Download

macOS tests

✅ Tests on macOS Sonoma (14): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Sequoia (15): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Tahoe (26): All 5 tests passed. Html Report (VSDrops) Download
⚠️ Tests on macOS Golden Gate (27): Tests skipped, incorrect beta version. Html Report (VSDrops) Download

Linux Build Verification

Linux build succeeded

Pipeline on Agent
Hash: 3cab93ed0fde612011ca0da2adb9e40d4092e667 [PR build]

@dalexsoto
dalexsoto enabled auto-merge (squash) July 18, 2026 21:09
@dalexsoto
dalexsoto merged commit eb75698 into xcode27.0 Jul 20, 2026
56 checks passed
@dalexsoto
dalexsoto deleted the dev/alex/xc27-HomeKit branch July 20, 2026 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants