[CoreLocation] Update bindings up to Xcode 27.0 Beta 3 - #26120
Conversation
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
There was a problem hiding this comment.
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.HeadingOrientationon iOS/macOS/Mac Catalyst 27.0 with guidance to useHeadingBody. - Bind
CLLocationManager.HeadingBodyas a[NullAllowed]retainedICLBodyIdentifiableproperty on iOS/macOS/Mac Catalyst 27.0. - Remove now-resolved CoreLocation xtro
.todofiles 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. |
✅ 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.
This comment has been minimized.
This comment has been minimized.
🚀 [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 macOS tests✅ Tests on macOS Sonoma (14): All 5 tests passed. Html Report (VSDrops) Download Linux Build VerificationPipeline on Agent |
Summary
CLLocationManager.HeadingBodyas a nullable retainedICLBodyIdentifiableproperty on iOS, macOS, and Mac Catalyst 27.0.HeadingOrientationon those platforms withHeadingBodyas its replacement.Validation
make worldAll four requested max-reasoning implementation reviews approved the change with no findings.