[CoreBluetooth] Update bindings up to Xcode 27.0 Beta 3 - #26116
Conversation
Add the CoreBluetooth channel sounding API surface introduced in Xcode 27.0 Beta 3. - Bind the session configuration and procedure results types, role enum, peripheral start/cancel methods, delegate callbacks, generated events, and central manager feature flag. - Add the channel sounding CBError values using the repository error-enum availability convention. - Remove the resolved CoreBluetooth xtro TODO files for every platform. - Update the Cecil documentation baseline for generated event accessors and EventArgs properties. - Validate with full make world builds, xtro, Cecil, platform introspection, and an iOS 27 constructor/role smoke test. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4d18f1be-619e-4ec4-9c26-18349ed6dd42
There was a problem hiding this comment.
Pull request overview
Updates the CoreBluetooth bindings to cover the new channel sounding APIs from Xcode 27.0 Beta 3, including new types/members and accompanying test/baseline maintenance so the binding surface matches the latest SDK and validation tooling stays green.
Changes:
- Added channel sounding CoreBluetooth bindings (new types, enum(s), peripheral methods, and delegate callbacks/events).
- Added new
CBErrorandCBCentralManagerFeatureenum values needed for channel sounding. - Removed resolved xtro-sharpie CoreBluetooth TODOs and updated the Cecil documentation baseline for newly generated members.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tests/xtro-sharpie/api-annotations-dotnet/tvOS-CoreBluetooth.todo | Removed resolved xtro TODO entries (file deleted). |
| tests/xtro-sharpie/api-annotations-dotnet/macOS-CoreBluetooth.todo | Removed resolved xtro TODO entries (file deleted). |
| tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-CoreBluetooth.todo | Removed resolved xtro TODO entries (file deleted). |
| tests/xtro-sharpie/api-annotations-dotnet/iOS-CoreBluetooth.todo | Removed resolved xtro TODO entries (file deleted). |
| tests/cecil-tests/Documentation.KnownFailures.txt | Added documentation baseline entries for new generated event accessors and EventArgs properties. |
| src/CoreBluetooth/Enums.cs | Added channel sounding-related CBError values, the session-role enum, and CBCentralManagerFeature.ChannelSounding. |
| src/corebluetooth.cs | Added channel sounding session start/cancel APIs, delegate callbacks/events, and the two new CoreBluetooth types. |
| /// <summary>The channel sounding session configuration failed.</summary> | ||
| ChannelSoundingConfigurationFailed = 19, | ||
| /// <summary>The channel sounding procedure failed.</summary> | ||
| ChannelSoundingProcedureFailed = 20, |
✅ 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.
🚀 [CI Build #fb317c4] Test results 🚀Test results✅ All tests passed on VSTS: test results. 🎉 All 191 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. Html Report (VSDrops) Download Linux Build VerificationPipeline on Agent |
Summary
CBChannelSoundingSessionConfiguration,CBChannelSoundingProcedureResults, the session role, peripheral start/cancel methods, delegate callbacks/events, andCBCentralManagerFeature.ChannelSounding.CBErrorvalues using the repository error-enum availability convention.Validation
make worldbuilds.CoreLocationUI.CLLocationButton; the new 27.0 APIs are host-OS-gated on macOS 26.5 and were validated on the iOS 27 simulator.