Skip to content

[CoreLocation] Update bindings up to Xcode 27.0 Beta 3 - #26120

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

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

Conversation

@dalexsoto

Copy link
Copy Markdown
Member

Summary

  • Bind CLLocationManager.HeadingBody as a nullable retained ICLBodyIdentifiable property on iOS, macOS, and Mac Catalyst 27.0.
  • Deprecate HeadingOrientation on those platforms with HeadingBody as its replacement.
  • Add the intermediate protocol stub required by API-definition compilation and remove the fully resolved CoreLocation xtro todo files.

Validation

  • make world
  • Clean xtro generation/classification: sanity passed
  • Clean cecil suite: 112 passed, 4 skipped, 0 failed
  • iOS 27.0 introspection: 44/44 passed
  • tvOS 27.0 introspection: 43/43 passed
  • macOS introspection: 32/32 passed, 2 host-version ignores
  • Mac Catalyst introspection: 39/39 passed, 4 expected ignores
  • AppSizeTest: 16 expected skips under the beta-Xcode guard, 0 failed

All four requested max-reasoning implementation reviews approved the change with no findings.

Bind CLLocationManager.HeadingBody as a nullable retained ICLBodyIdentifiable property on iOS, macOS, and Mac Catalyst 27.0.

Deprecate HeadingOrientation on all three supported platforms with HeadingBody as its replacement. Add the intermediate protocol stub required to compile the API definition, and delete the three fully resolved CoreLocation xtro todo files.

Validation:
- make world
- clean xtro generation and classification
- clean cecil tests
- iOS, tvOS, macOS, and Mac Catalyst introspection tests
- AppSizeTest (expected beta-Xcode skips)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: fd4196ca-c647-4449-8f0e-9a907ed96e3d
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

This PR updates the CoreLocation bindings to match Xcode 27.0 Beta 3 by introducing the new CLLocationManager.HeadingBody API (nullable, retained protocol-typed property) and deprecating the older HeadingOrientation API in favor of it. It also cleans up xtro-sharpie tracking now that the previously-missing selectors and deprecation annotations have been addressed.

Changes:

  • Deprecate CLLocationManager.HeadingOrientation on iOS/macOS/Mac Catalyst 27.0 with guidance to use HeadingBody.
  • Bind CLLocationManager.HeadingBody as a [NullAllowed] retained ICLBodyIdentifiable property on iOS/macOS/Mac Catalyst 27.0.
  • Remove now-resolved CoreLocation xtro .todo files for iOS/macOS/Mac Catalyst.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
tests/xtro-sharpie/api-annotations-dotnet/macOS-CoreLocation.todo Removed resolved xtro todo entries after binding/attribute updates.
tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-CoreLocation.todo Removed resolved xtro todo entries after binding/attribute updates.
tests/xtro-sharpie/api-annotations-dotnet/iOS-CoreLocation.todo Removed resolved xtro todo entries after binding/attribute updates.
src/corelocation.cs Added HeadingBody binding + protocol stub and marked HeadingOrientation as deprecated on 27.0 where applicable.

@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: 8f540112ef1120832c82d39c19fd054556f2591c [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

Copy link
Copy Markdown
Collaborator

🚀 [CI Build #8f54011] 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. 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. Html Report (VSDrops) Download
✅ linker (tvOS): All 15 tests passed. Html Report (VSDrops) Download
✅ monotouch (iOS): All 18 tests passed. [attempt 3] 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. [attempt 3] 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: 8f540112ef1120832c82d39c19fd054556f2591c [PR build]

@dalexsoto
dalexsoto merged commit 580048c into xcode27.0 Jul 16, 2026
56 checks passed
@dalexsoto
dalexsoto deleted the dev/alex/xc27-CoreLocation branch July 16, 2026 15:43
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