[Vision] Update bindings up to Xcode 27.0 Beta 3#25992
Conversation
Add the two new VNErrorCode values introduced in Xcode 27 (macos/ios/tvos 27.0) on all four platforms. As error-enum members they carry no availability attributes (per EnumTest.NoAvailabilityOnError), matching the existing sibling members. Resolves the missing-enum-value entries in the *-Vision.todo files. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Updates the Vision bindings to match Xcode 27.0 beta 3 by adding the two newly introduced VNErrorCode values, and cleans up xtro-sharpie TODOs accordingly.
Changes:
- Added
VNErrorCode.ResourceUnavailableandVNErrorCode.ResourceCorruptedtosrc/vision.cs. - Removed resolved
!missing-enum-value!entries from the platform Vision xtro TODOs. - Added documentation known-failure entries for the two new enum fields.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tests/xtro-sharpie/api-annotations-dotnet/tvOS-Vision.todo | Removes resolved VNErrorCode missing-enum-value TODO entries. |
| tests/xtro-sharpie/api-annotations-dotnet/macOS-Vision.todo | Removes resolved VNErrorCode missing-enum-value TODO entries. |
| tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-Vision.todo | Removes resolved VNErrorCode missing-enum-value TODO entries. |
| tests/xtro-sharpie/api-annotations-dotnet/iOS-Vision.todo | Removes resolved VNErrorCode missing-enum-value TODO entries. |
| tests/cecil-tests/Documentation.KnownFailures.txt | Adds entries so documentation tests account for the new enum fields. |
| src/vision.cs | Adds the two new VNErrorCode members. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ [PR Build #cf2c1c2] Build passed (Build packages) ✅Pipeline on Agent |
This comment has been minimized.
This comment has been minimized.
✅ [CI Build #cf2c1c2] Build passed (Detect API changes) ✅Pipeline on Agent |
This comment has been minimized.
This comment has been minimized.
✅ 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 |
✅ [CI Build #cf2c1c2] Build passed (Build macOS tests) ✅Pipeline on Agent |
🔥 [CI Build #cf2c1c2] Test results 🔥Test results❌ Tests failed on VSTS: test results 1 tests crashed, 0 tests failed, 191 tests passed. Failures❌ Tests on macOS Golden Gate (27) tests🔥 Failed catastrophically on VSTS: test results - mac_golden_gate (no summary found). Html Report (VSDrops) Download Successes✅ 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 |
Add the two new VNErrorCode values introduced in Xcode 27 (macos/ios/tvos 27.0) on all four platforms. As error-enum members they carry no availability attributes (per EnumTest.NoAvailabilityOnError), matching the existing sibling members.
Resolves the missing-enum-value entries in the *-Vision.todo files.