[SensorKit] Update bindings up to Xcode 27.0 Beta 3 - #26286
Conversation
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
There was a problem hiding this comment.
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
SRFetchResultsource-device metadata (iOS/Mac Catalyst 27.0). - Removed resolved xtro-sharpie
.todofiles 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. |
| [iOS (27, 0)] | ||
| [MacCatalyst (27, 0)] | ||
| public enum SRHeadphoneSettingsAdaptiveAudioStrength : uint { | ||
| Low = 1, | ||
| Medium, | ||
| High, | ||
| } |
✅ API diff for current PR / commitNET (empty diffs)✅ API diff vs stableNET (empty diffs)ℹ️ Generator diffGenerator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes) Pipeline on Agent |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
🚀 [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 macOS tests✅ Tests on macOS Sonoma (14): All 5 tests passed. [attempt 2] Html Report (VSDrops) Download Linux Build VerificationPipeline on Agent |
Summary
SRFetchResultValidation
make worlddotnet-classify(Sanity check passed)iOSApiCtorInitTestpassed; the full run hit the documented headless TCC crash inCoreLocationUI.CLLocationButton, unrelated to SensorKit