Skip to content

[ARKit] Bind new Xcode 27 APIs and deprecations - #25809

Merged
dalexsoto merged 1 commit into
xcode27.0from
dev/alex/xc27ARKit
Jun 25, 2026
Merged

[ARKit] Bind new Xcode 27 APIs and deprecations#25809
dalexsoto merged 1 commit into
xcode27.0from
dev/alex/xc27ARKit

Conversation

@dalexsoto

Copy link
Copy Markdown
Member

Resolve the ARKit xtro todos (iOS-ARKit.todo, iOS-ARKitCore.todo and MacCatalyst-ARKit.todo) for Xcode 27:

  • Bind new iOS 27 members: ARFrame.MetadataObjects, the TrackingObjects property on ARWorldTrackingConfiguration and ARGeoTrackingConfiguration, ARFaceTrackingConfiguration.EnvironmentTexturingEnabled and ARReferenceObject.UsdzFile.
  • Add ARTrackable conformance to ARObjectAnchor, which resolves both the missing protocol conformance and the new isTracked selector.
  • Mark the legacy ARReferenceObject members (resourceGroupName, rawFeaturePoints, referenceObjectsInGroupNamed:bundle:, exportObjectToURL:previewImage:error:, referenceObjectByApplyingTransform:, referenceObjectByMergingObject:error:, the ARReferenceObjectArchiveExtension field) and ARSession.CreateReferenceObject as [Deprecated] in iOS 27.
  • ARKit isn't built for Mac Catalyst, so the new selectors can't be bound there; add them to MacCatalyst-ARKit.ignore (sorted) and delete the now resolved todo files.
  • Add ARObjectAnchor introspection version-gates for its iOS 27 ARTrackable conformance and isTracked selector (mirroring the ARImageAnchor pattern), and register the new undocumented members in the cecil documentation known-failures.

Resolve the ARKit xtro todos (iOS-ARKit.todo, iOS-ARKitCore.todo and
MacCatalyst-ARKit.todo) for Xcode 27:

* Bind new iOS 27 members: ARFrame.MetadataObjects, the TrackingObjects
  property on ARWorldTrackingConfiguration and ARGeoTrackingConfiguration,
  ARFaceTrackingConfiguration.EnvironmentTexturingEnabled and
  ARReferenceObject.UsdzFile.
* Add ARTrackable conformance to ARObjectAnchor, which resolves both the
  missing protocol conformance and the new isTracked selector.
* Mark the legacy ARReferenceObject members (resourceGroupName,
  rawFeaturePoints, referenceObjectsInGroupNamed:bundle:,
  exportObjectToURL:previewImage:error:, referenceObjectByApplyingTransform:,
  referenceObjectByMergingObject:error:, the ARReferenceObjectArchiveExtension
  field) and ARSession.CreateReferenceObject as [Deprecated] in iOS 27.
* ARKit isn't built for Mac Catalyst, so the new selectors can't be bound
  there; add them to MacCatalyst-ARKit.ignore (sorted) and delete the now
  resolved todo files.
* Add ARObjectAnchor introspection version-gates for its iOS 27 ARTrackable
  conformance and isTracked selector (mirroring the ARImageAnchor pattern),
  and register the new undocumented members in the cecil documentation
  known-failures.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dalexsoto
dalexsoto requested review from Copilot and rolfbjarne and removed request for Copilot June 24, 2026 18:35
@dalexsoto dalexsoto added this to the xcode27 milestone Jun 24, 2026
@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ [PR Build #3cd0eb4] Build passed (Detect API changes) ✅

Pipeline on Agent
Hash: 3cd0eb49dcc02572f259475f4e36d8b113512607 [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ [PR Build #3cd0eb4] Build passed (Build packages) ✅

Pipeline on Agent
Hash: 3cd0eb49dcc02572f259475f4e36d8b113512607 [PR build]

@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: 3cd0eb49dcc02572f259475f4e36d8b113512607 [PR build]

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ [PR Build #3cd0eb4] Build passed (Build macOS tests) ✅

Pipeline on Agent
Hash: 3cd0eb49dcc02572f259475f4e36d8b113512607 [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🚀 [CI Build #3cd0eb4] Test results 🚀

Test results

✅ All tests passed on VSTS: test results.

🎉 All 200 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. [attempt 2] 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. Html Report (VSDrops) Download
✅ monotouch (MacCatalyst): All 19 tests passed. Html Report (VSDrops) Download
✅ monotouch (macOS): All 20 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. [attempt 2] 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 2] Html Report (VSDrops) Download
✅ Tests on macOS Golden Gate (27): All 5 tests passed. [attempt 2] Html Report (VSDrops) Download

Linux Build Verification

Linux build succeeded

Pipeline on Agent
Hash: 3cd0eb49dcc02572f259475f4e36d8b113512607 [PR build]

@dalexsoto
dalexsoto merged commit 01c8e70 into xcode27.0 Jun 25, 2026
56 checks passed
@dalexsoto
dalexsoto deleted the dev/alex/xc27ARKit branch June 25, 2026 11:59
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.

3 participants