[NearbyInteraction] Update bindings up to Xcode 27.0 Beta 3 - #26203
Conversation
Bind the Bluetooth Channel Sounding capability and accessory configuration APIs, motion-state updates, and the new DL-TDOA discovery and measurement surface introduced in Xcode 27 beta 3. Apply the native platform availability, ownership, nullability, integer-width, and managed acronym conventions. Keep SDK-reported unavailable enums in the macOS and Mac Catalyst xtro ignore lists instead of exposing unsupported APIs. Update the documentation baseline and narrowly skip the runtime-only NSCoding and NSSecureCoding conformances that are absent from the NIDLTDOAMeasurementFloorElevation header. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 179222d5-20d9-4ef9-87a0-746f04a3f30e
There was a problem hiding this comment.
Pull request overview
Updates the NearbyInteraction bindings and test baselines to match Xcode 27.0 Beta 3 SDK/runtime behavior, including new motion-state, Bluetooth Channel Sounding, and DL‑TDOA API surface and related test expectations.
Changes:
- Adds new NearbyInteraction bindings (motion state updates, Bluetooth Channel Sounding capability, DL‑TDOA discovery method + additional DL‑TDOA measurement data).
- Updates introspection to skip beta-runtime-only protocol conformances not present in headers.
- Cleans up XTRO annotations by removing resolved
.todoentries and moving platform-inapplicable items into.ignore, plus updates Cecil documentation baseline entries.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tests/xtro-sharpie/api-annotations-dotnet/macOS-NearbyInteraction.todo | Removes resolved XTRO todo entries (file deleted). |
| tests/xtro-sharpie/api-annotations-dotnet/macOS-NearbyInteraction.ignore | Ignores enums XTRO reports as missing on macOS (not supported there). |
| tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-NearbyInteraction.todo | Removes resolved XTRO todo entries (file deleted). |
| tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-NearbyInteraction.ignore | Keeps Mac Catalyst-specific ignores (ARKit selector + unsupported enums). |
| tests/xtro-sharpie/api-annotations-dotnet/iOS-NearbyInteraction.todo | Removes resolved XTRO todo entries (file deleted). |
| tests/introspection/iOSApiProtocolTest.cs | Skips NSCoding/NSSecureCoding conformances for NIDlTdoaMeasurementFloorElevation that are present at runtime but not in headers. |
| tests/cecil-tests/Documentation.KnownFailures.txt | Extends documentation known-failures baseline for newly bound enums/members/types. |
| src/NearbyInteraction/Enums.cs | Adds NIMotionActivityState enum (iOS/Mac Catalyst). |
| src/nearbyinteraction.cs | Adds Xcode 27 API bindings: UpdateMotionState, accessory config ctor, SupportsBluetoothChannelSounding, DL‑TDOA discovery method, new floor elevation type + new measurement properties. |
✅ 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.
|
/azp run xamarin-macios-sim-pr-tests |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
This comment has been minimized.
This comment has been minimized.
|
/azp run xamarin-macios-sim-pr-tests |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
🚀 [CI Build #abd0ea0] 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 macOS tests✅ Tests on macOS Sonoma (14): All 5 tests passed. Html Report (VSDrops) Download Linux Build VerificationPipeline on Agent |
Summary
Validation
make worldSanity check passed)AppSizeTestrun (16 expected skips under beta Xcode, 0 failures)