Skip to content

[SensorKit] Update bindings up to Xcode 27.0 Beta 3 - #26286

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

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

Conversation

@dalexsoto

Copy link
Copy Markdown
Member

Summary

  • bind the Xcode 27 SensorKit headphone settings enums and model types
  • expose source-device metadata on SRFetchResult
  • add the headphone motion and headphone settings sensor constants
  • remove the resolved iOS and Mac Catalyst xtro todo files
  • update the cecil documentation known-failures baseline for the new public API

Validation

  • make world
  • xtro clean regeneration and dotnet-classify (Sanity check passed)
  • cecil clean run (116 tests, 0 failures)
  • iOS 27.0 introspection (44/44 passed)
  • tvOS 27.0 introspection (43/43 passed)
  • macOS introspection (32/32 passed, 2 expected OS-version ignores)
  • Mac Catalyst: every fixture except iOSApiCtorInitTest passed; the full run hit the documented headless TCC crash in CoreLocationUI.CLLocationButton, unrelated to SensorKit
  • app-size suite clean run (16/16 intentionally skipped by the beta-Xcode gate)

Bind the new SensorKit headphone settings and source-device APIs for
iOS and Mac Catalyst 27.0.

Add the headphone settings enums and model types, expose source device
metadata on fetch results, and add the headphone motion and settings
sensor constants. Remove the resolved xtro todo files and extend the
cecil documentation baseline for the newly exposed public API.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 0c16b03c-99b3-42b9-812b-34b8a9244f5a
Copilot AI review requested due to automatic review settings July 24, 2026 03:10
@dalexsoto dalexsoto added this to the xcode27 milestone Jul 24, 2026
@dalexsoto
dalexsoto requested a review from rolfbjarne July 24, 2026 03:10

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 SensorKit binding surface to match Xcode 27.0 Beta 3, and aligns test/baseline artifacts (xtro todo + cecil doc known-failures) with the newly exposed public API.

Changes:

  • Added new SensorKit enums, model types, sensor constants, and SRFetchResult source-device metadata (iOS/Mac Catalyst 27.0).
  • Removed resolved xtro-sharpie .todo files for SensorKit (iOS + Mac Catalyst).
  • Updated cecil documentation known-failures baseline entries for the new public API surface.

Reviewed changes

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

File Description
tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-SensorKit.todo Removed resolved xtro todo entries after binding the missing APIs.
tests/xtro-sharpie/api-annotations-dotnet/iOS-SensorKit.todo Removed resolved xtro todo entries after binding the missing APIs.
tests/cecil-tests/Documentation.KnownFailures.txt Added known-failure entries for new SensorKit types/members introduced by the updated bindings.
src/sensorkit.cs Added Xcode 27 SensorKit bindings: new enums, sensor fields, SRFetchResult.SourceDevice, and new model types.

Comment thread src/sensorkit.cs
Comment on lines +97 to +103
[iOS (27, 0)]
[MacCatalyst (27, 0)]
public enum SRHeadphoneSettingsAdaptiveAudioStrength : uint {
Low = 1,
Medium,
High,
}
@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: d28172c9b9964c7e72544bb46e86803fb01e4c60 [PR build]

@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 #d28172c] Test results 🚀

Test results

✅ All tests passed on VSTS: test results.

🎉 All 200 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. 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. Html Report (VSDrops) Download
✅ dotnettests (tvOS): All 1 tests passed. Html Report (VSDrops) Download
✅ framework: All 2 tests passed. 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. [attempt 2] Html Report (VSDrops) Download
✅ linker (MacCatalyst): All 15 tests passed. Html Report (VSDrops) Download
✅ linker (macOS): All 21 tests passed. Html Report (VSDrops) Download
✅ linker (tvOS): All 15 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ monotouch (iOS): All 19 tests passed. 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. 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. [attempt 2] Html Report (VSDrops) Download
✅ Tests on macOS Sequoia (15): All 5 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ Tests on macOS Tahoe (26): All 5 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ Tests on macOS Golden Gate (27): All 5 tests passed. [attempt 2] Html Report (VSDrops) Download

Linux Build Verification

Linux build succeeded

Pipeline on Agent
Hash: d28172c9b9964c7e72544bb46e86803fb01e4c60 [PR build]

@dalexsoto
dalexsoto merged commit a2ed63f into xcode27.0 Jul 24, 2026
56 checks passed
@dalexsoto
dalexsoto deleted the dev/alex/xc27-SensorKit branch July 24, 2026 20:06
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