[MultipeerConnectivity] Update bindings up to Xcode 27.0 Beta 3 - #26200
Conversation
Mark the six MultipeerConnectivity classes reported by xtro as deprecated on iOS, tvOS, macOS, and Mac Catalyst as of version 27.0. Match the native SDK guidance to migrate to the Network framework. Remove the resolved per-platform xtro todo files after regenerating and validating the annotations for every supported platform. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 755e30ea-8c95-4109-9c0a-aa8ae7975b20
There was a problem hiding this comment.
Pull request overview
Updates the MultipeerConnectivity bindings to reflect Xcode 27.0 Beta 3 SDK metadata by marking key public types as deprecated and cleaning up the corresponding xtro “todo” suppression files.
Changes:
- Marked
MCPeerID,MCSession,MCNearbyServiceAdvertiser,MCNearbyServiceBrowser,MCBrowserViewController, andMCAdvertiserAssistantas deprecated on iOS/tvOS/macOS/Mac Catalyst (27.0). - Removed resolved xtro todo files for MultipeerConnectivity on all four platforms.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| src/multipeerconnectivity.cs | Adds [Deprecated] attributes for key MultipeerConnectivity types across all platforms. |
| tests/xtro-sharpie/api-annotations-dotnet/iOS-MultipeerConnectivity.todo | Deletes resolved xtro todo entries after deprecation attributes were added. |
| tests/xtro-sharpie/api-annotations-dotnet/tvOS-MultipeerConnectivity.todo | Deletes resolved xtro todo entries after deprecation attributes were added. |
| tests/xtro-sharpie/api-annotations-dotnet/macOS-MultipeerConnectivity.todo | Deletes resolved xtro todo entries after deprecation attributes were added. |
| tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-MultipeerConnectivity.todo | Deletes resolved xtro todo entries after deprecation attributes were added. |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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.
|
/azp run xamarin-macios-sim-pr-tests |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
✅ 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.
|
/azp run xamarin-macios-sim-pr-tests |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
🚀 [CI Build #966f7cc] 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
MCPeerID,MCSession,MCNearbyServiceAdvertiser,MCNearbyServiceBrowser,MCBrowserViewController, andMCAdvertiserAssistantdeprecated in Xcode 27.0 across iOS, tvOS, macOS, and Mac CatalystValidation
make worldbefore changes and fullmake worldafter binding changes