[ARKit] Bind new Xcode 27 APIs and deprecations - #25809
Conversation
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>
✅ [PR Build #3cd0eb4] Build passed (Detect API changes) ✅Pipeline on Agent |
This comment has been minimized.
This comment has been minimized.
✅ [PR Build #3cd0eb4] Build passed (Build packages) ✅Pipeline on Agent |
✅ 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 |
✅ [PR Build #3cd0eb4] Build passed (Build macOS tests) ✅Pipeline on Agent |
This comment has been minimized.
This comment has been minimized.
🚀 [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 macOS tests✅ Tests on macOS Sonoma (14): All 5 tests passed. Html Report (VSDrops) Download Linux Build VerificationPipeline on Agent |
Resolve the ARKit xtro todos (iOS-ARKit.todo, iOS-ARKitCore.todo and MacCatalyst-ARKit.todo) for Xcode 27: