Skip to content

[CoreMotion] Update bindings up to Xcode 27.0 Beta 3 - #26119

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

dalexsoto merged 1 commit into
xcode27.0from
dev/alex/xc27-CoreMotion

Conversation

@dalexsoto

Copy link
Copy Markdown
Member

Summary

  • add CMDeviceMotion.HeadingAccuracy and CMMotionManager.DeviceMotionBody
  • add CMRecordedDeviceMotion with its identifier and start date
  • correct CMWaterSubmersionManagerDelegate callbacks to be optional and document the affected API
  • remove the resolved CoreMotion xtro todo files and stale Cecil documentation baselines

Validation

  • make world
  • clean xtro generation/classification and sanity
  • clean Cecil test suite
  • introspection: iOS 44/44, tvOS 43/43, macOS 32/32, Mac Catalyst 39/39
  • AppSizeTest: 0 failures; all 16 cases skipped by the repository beta-Xcode guard

Add the Xcode 27 CoreMotion API surface, including heading accuracy, device-motion body selection, and recorded device-motion samples.

Correct the water-submersion delegate callbacks to be optional, add complete API documentation, and provide the protocol stub required by the binding generator.

Remove the resolved xtro todo files and stale Cecil documentation baselines. Validate with make world, clean xtro and Cecil runs, and introspection across all four supported platforms.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 432bb230-2d4d-463b-ad95-99f33af69e9c
Copilot AI review requested due to automatic review settings July 15, 2026 18:24
@dalexsoto dalexsoto added this to the xcode27 milestone Jul 15, 2026
@dalexsoto
dalexsoto requested a review from rolfbjarne July 15, 2026 18:24

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 CoreMotion bindings to match Xcode 27.0 Beta 3 SDK surface area and cleans up the associated xtro/cecil baselines after the newly bound APIs resolve prior findings.

Changes:

  • Added new CoreMotion bindings: CMMotionManager.DeviceMotionBody, CMDeviceMotion.HeadingAccuracy, and new CMRecordedDeviceMotion API surface.
  • Corrected CMWaterSubmersionManagerDelegate protocol members to be optional (non-abstract) and added XML docs.
  • Removed resolved xtro .todo files and pruned Cecil documentation known-failure entries for the fixed documentation gaps.

Reviewed changes

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

Show a summary per file
File Description
src/coremotion.cs Adds new CoreMotion bindings and adjusts CMWaterSubmersionManagerDelegate members to be optional with documentation.
tests/cecil-tests/Documentation.KnownFailures.txt Removes known-failure entries for delegate methods whose documentation is now present.
tests/xtro-sharpie/api-annotations-dotnet/iOS-CoreMotion.todo Deletes resolved xtro todo entries for iOS CoreMotion.
tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-CoreMotion.todo Deletes resolved xtro todo entries for Mac Catalyst CoreMotion.
tests/xtro-sharpie/api-annotations-dotnet/macOS-CoreMotion.todo Deletes resolved xtro todo entries for macOS CoreMotion.

Comment thread src/coremotion.cs
Comment on lines +411 to +413
[iOS (27, 0)]
[MacCatalyst (27, 0)]
[Export ("headingAccuracy")]
@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: bba49053fb9eebde57b491e0e5850c698416c8a1 [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@dalexsoto
dalexsoto enabled auto-merge (squash) July 16, 2026 13:34
@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🚀 [CI Build #bba4905] 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
✅ cecil: All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (iOS): All 1 tests passed. [attempt 2] 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. Html Report (VSDrops) Download
✅ linker (MacCatalyst): All 15 tests passed. Html Report (VSDrops) Download
✅ linker (macOS): All 21 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ linker (tvOS): All 15 tests passed. [attempt 4] Html Report (VSDrops) Download
✅ monotouch (iOS): All 18 tests passed. Html Report (VSDrops) Download
✅ monotouch (MacCatalyst): All 17 tests passed. Html Report (VSDrops) Download
✅ monotouch (macOS): All 18 tests passed. Html Report (VSDrops) Download
✅ monotouch (tvOS): All 18 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. Html Report (VSDrops) Download

Linux Build Verification

✅ Linux build succeeded

Pipeline on Agent
Hash: bba49053fb9eebde57b491e0e5850c698416c8a1 [PR build]

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