[Foundation] Update bindings up to Xcode 27.0 Beta 3#26159
Conversation
Deprecate the NSBundle on-demand resource APIs and NSBundleResourceRequest in favor of Background Assets on iOS, tvOS, and Mac Catalyst. Deprecate the legacy NSItemProvider item initializer, registration, and loading APIs on every supported platform, directing callers to the managed object-based replacements. Remove the resolved Foundation xtro todo files for iOS, tvOS, macOS, and Mac Catalyst. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 9025784a-4e08-4eb1-885b-e49bd5f0e623
There was a problem hiding this comment.
Pull request overview
Updates the Foundation bindings to align with Xcode 27.0 Beta 3 by marking newly-deprecated APIs and cleaning up resolved XTRO annotation TODOs.
Changes:
- Added
[Deprecated]attributes for NSBundle on-demand resource APIs andNSBundleResourceRequestin favor of Background Assets. - Added
[Deprecated]attributes for legacyNSItemProviderinitializer/registration/loading APIs in favor of the object-based APIs. - Removed now-resolved
Foundation.todofiles from xtro-sharpie for all supported platforms.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/foundation.cs | Adds deprecation annotations for Xcode 27.0 Beta 3 Foundation API deprecations (NSBundle ODR APIs, NSBundleResourceRequest, NSItemProvider legacy APIs). |
| tests/xtro-sharpie/api-annotations-dotnet/iOS-Foundation.todo | Removed resolved TODO entries (file removed). |
| tests/xtro-sharpie/api-annotations-dotnet/tvOS-Foundation.todo | Removed resolved TODO entries (file removed). |
| tests/xtro-sharpie/api-annotations-dotnet/macOS-Foundation.todo | Removed resolved TODO entries (file removed). |
| tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-Foundation.todo | Removed resolved TODO entries (file removed). |
✅ 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.
1 similar comment
This comment has been minimized.
This comment has been minimized.
🚀 [CI Build #05b0ed5] Test results 🚀Test results✅ All tests passed on VSTS: test results. 🎉 All 195 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
Validation
make worldbefore implementation and after the binding changes