Skip to content

[NearbyInteraction] Update bindings up to Xcode 27.0 Beta 3 - #26203

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

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

Conversation

@dalexsoto

Copy link
Copy Markdown
Member

Summary

  • bind the Xcode 27 beta 3 Bluetooth Channel Sounding, motion-state, and DL-TDOA NearbyInteraction APIs
  • apply native availability/nullability/ownership and resolve platform-only xtro enum reports
  • update the Cecil documentation baseline and account for beta-runtime-only coding conformances

Validation

  • make world
  • clean xtro generation/classification (Sanity check passed)
  • clean Cecil suite (116 tests, 0 failures)
  • introspection: iOS 44/44, tvOS 43/43, macOS 32/32, Mac Catalyst 39/39
  • clean AppSizeTest run (16 expected skips under beta Xcode, 0 failures)

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
Copilot AI review requested due to automatic review settings July 20, 2026 23:56
@dalexsoto dalexsoto added this to the xcode27 milestone Jul 20, 2026
@dalexsoto
dalexsoto requested a review from rolfbjarne July 20, 2026 23:56

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 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 .todo entries 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.

@dalexsoto
dalexsoto enabled auto-merge (squash) July 21, 2026 01:43
@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: abd0ea0058d6285dccbdcc9c0fc4837d264b45d0 [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@dalexsoto

Copy link
Copy Markdown
Member Author

/azp run xamarin-macios-sim-pr-tests

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@vs-mobiletools-engineering-service2

This comment has been minimized.

@dalexsoto

Copy link
Copy Markdown
Member Author

/azp run xamarin-macios-sim-pr-tests

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

1 similar comment
@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🚀 [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
✅ 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. [attempt 4] 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. 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. 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. [attempt 2] 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. 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. [attempt 2] Html Report (VSDrops) Download

Linux Build Verification

Linux build succeeded

Pipeline on Agent
Hash: abd0ea0058d6285dccbdcc9c0fc4837d264b45d0 [PR build]

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