Skip to content

[AVSystemRouting] Update bindings to Xcode 27 beta 3 - #26057

Merged
dalexsoto merged 3 commits into
xcode27.0from
dev/alex/xc27-AVSystemRouting
Jul 16, 2026
Merged

[AVSystemRouting] Update bindings to Xcode 27 beta 3#26057
dalexsoto merged 3 commits into
xcode27.0from
dev/alex/xc27-AVSystemRouting

Conversation

@dalexsoto

Copy link
Copy Markdown
Member

Copilot-Session: 197c52c5-563c-4cc2-8c33-1eea6578ac14

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 197c52c5-563c-4cc2-8c33-1eea6578ac14
@dalexsoto dalexsoto added this to the xcode27 milestone Jul 13, 2026
@dalexsoto
dalexsoto requested a review from rolfbjarne as a code owner July 13, 2026 02:18
Copilot AI review requested due to automatic review settings July 13, 2026 02:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repo’s framework metadata, generated framework helpers, and C# bindings to include the new AVSystemRouting framework introduced in Xcode 27 beta 3 (iOS 27), along with the necessary test expectation updates.

Changes:

  • Register AVSystemRouting as an iOS framework (iOS 27.0, device-only / not available in simulator) and mark it unavailable on Mac Catalyst.
  • Add initial C# bindings for AVSystemRouting APIs (types, enums, protocols, and selectors).
  • Update/clean up tests and xtro todo tracking to reflect the new bound surface area.

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tools/common/Frameworks.cs Adds AVSystemRouting to iOS frameworks (device-only) and marks it unavailable for Mac Catalyst.
tests/xtro-sharpie/api-annotations-dotnet/iOS-AVSystemRouting.todo Removes the todo file now that AVSystemRouting APIs are bound.
tests/mtouch/RegistrarTest.cs Updates MT4134 invalid framework list to include AVSystemRouting @ iOS 27.0.
tests/introspection/iOSApiSignatureTest.cs Adds an IgnoreAsync exception for AVSystemRouteSession.Start due to no StartAsync wrapper.
tests/introspection/ApiTypoTest.cs Adds AVSystemRoutingLibrary to the device-only library constant checks.
tests/dotnet/UnitTests/ProjectTest.cs Adds AVSystemRouting.framework to the expected framework list.
tests/cecil-tests/Documentation.KnownFailures.txt Adds doc-known-failure entries for new AVSystemRouting API surface.
src/rsp/dotnet/ios-defines-dotnet.rsp Defines HAS_AVSYSTEMROUTING for iOS builds.
src/frameworks.sources Adds AVSystemRouting to IOS_FRAMEWORKS.
src/build/dotnet/generator-frameworks.g.cs Updates generated framework list and HaveAVSystemRouting helper.
src/avsystemrouting.cs Introduces the AVSystemRouting binding definitions.

Comment thread src/avsystemrouting.cs
Comment on lines +64 to +70
interface AVSystemRouteSession {
[Export ("initWithURL:mode:")]
NativeHandle Constructor (NSUrl url, AVSystemRouteLaunchMode mode);

[Export ("startWithCompletionHandler:")]
void Start (AVSystemRouteSessionStartHandler completionHandler);

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

Comment thread src/avsystemrouting.cs Outdated
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: a2f89802-f8e5-47e4-b952-e587ce2a9491
@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

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

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ [CI Build #acd0c11] Prepare .NET Release succeeded ✅

📦 Published NuGet packages (32 packages)

iOS

  • Microsoft.iOS.Ref.net10.0_27.0.27.0.10242-xcode27.0.nupkg
  • Microsoft.iOS.Runtime.ios-arm64.net10.0_27.0.27.0.10242-xcode27.0.nupkg
  • Microsoft.iOS.Runtime.ios.net10.0_27.0.27.0.10242-xcode27.0.nupkg
  • Microsoft.iOS.Runtime.iossimulator-arm64.net10.0_27.0.27.0.10242-xcode27.0.nupkg
  • Microsoft.iOS.Runtime.iossimulator-x64.net10.0_27.0.27.0.10242-xcode27.0.nupkg
  • Microsoft.iOS.Sdk.net10.0_27.0.27.0.10242-xcode27.0.nupkg
  • Microsoft.iOS.Templates.27.0.10242-xcode27.0.nupkg
  • Microsoft.iOS.Windows.Sdk.net10.0_27.0.27.0.10242-xcode27.0.nupkg
  • Microsoft.NET.Sdk.iOS.Manifest-10.0.400-preview.0.27.0.10242-xcode27.0.nupkg

MacCatalyst

  • Microsoft.MacCatalyst.Ref.net10.0_27.0.27.0.10242-xcode27.0.nupkg
  • Microsoft.MacCatalyst.Runtime.maccatalyst-arm64.net10.0_27.0.27.0.10242-xcode27.0.nupkg
  • Microsoft.MacCatalyst.Runtime.maccatalyst-x64.net10.0_27.0.27.0.10242-xcode27.0.nupkg
  • Microsoft.MacCatalyst.Runtime.maccatalyst.net10.0_27.0.27.0.10242-xcode27.0.nupkg
  • Microsoft.MacCatalyst.Sdk.net10.0_27.0.27.0.10242-xcode27.0.nupkg
  • Microsoft.MacCatalyst.Templates.27.0.10242-xcode27.0.nupkg
  • Microsoft.NET.Sdk.MacCatalyst.Manifest-10.0.400-preview.0.27.0.10242-xcode27.0.nupkg

macOS

  • Microsoft.macOS.Ref.net10.0_27.0.27.0.10242-xcode27.0.nupkg
  • Microsoft.macOS.Runtime.osx-arm64.net10.0_27.0.27.0.10242-xcode27.0.nupkg
  • Microsoft.macOS.Runtime.osx-x64.net10.0_27.0.27.0.10242-xcode27.0.nupkg
  • Microsoft.macOS.Runtime.osx.net10.0_27.0.27.0.10242-xcode27.0.nupkg
  • Microsoft.macOS.Sdk.net10.0_27.0.27.0.10242-xcode27.0.nupkg
  • Microsoft.macOS.Templates.27.0.10242-xcode27.0.nupkg
  • Microsoft.NET.Sdk.macOS.Manifest-10.0.400-preview.0.27.0.10242-xcode27.0.nupkg

tvOS

  • Microsoft.NET.Sdk.tvOS.Manifest-10.0.400-preview.0.27.0.10242-xcode27.0.nupkg
  • Microsoft.tvOS.Ref.net10.0_27.0.27.0.10242-xcode27.0.nupkg
  • Microsoft.tvOS.Runtime.tvos-arm64.net10.0_27.0.27.0.10242-xcode27.0.nupkg
  • Microsoft.tvOS.Runtime.tvos.net10.0_27.0.27.0.10242-xcode27.0.nupkg
  • Microsoft.tvOS.Runtime.tvossimulator-arm64.net10.0_27.0.27.0.10242-xcode27.0.nupkg
  • Microsoft.tvOS.Runtime.tvossimulator-x64.net10.0_27.0.27.0.10242-xcode27.0.nupkg
  • Microsoft.tvOS.Sdk.net10.0_27.0.27.0.10242-xcode27.0.nupkg
  • Microsoft.tvOS.Templates.27.0.10242-xcode27.0.nupkg

Other

  • Sharpie.Bind.Tool.27.0.0.242-xcode27.0.nupkg

Pipeline on Agent
Hash: acd0c11f49cdf66ba432cf65a88853f8b7f61bc6 [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@dalexsoto
dalexsoto enabled auto-merge (squash) July 16, 2026 13:33
@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🚀 [CI Build #aa46ea8] Test results 🚀

Test results

✅ All tests passed on VSTS: test results.

🎉 All 191 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. Html Report (VSDrops) Download
✅ introspection: All 6 tests passed. Html Report (VSDrops) Download
✅ linker (iOS): All 15 tests passed. [attempt 3] Html Report (VSDrops) Download
✅ linker (MacCatalyst): All 15 tests passed. [attempt 2] 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 17 tests passed. Html Report (VSDrops) Download
✅ monotouch (macOS): All 18 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. 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. Html Report (VSDrops) Download
⚠️ Tests on macOS Golden Gate (27): Tests skipped, incorrect beta version. Html Report (VSDrops) Download

Linux Build Verification

Linux build succeeded

Pipeline on Agent
Hash: aa46ea8d544c36c6c4b8b673b755199c48bf8d9e [PR build]

@dalexsoto
dalexsoto merged commit 37416d9 into xcode27.0 Jul 16, 2026
55 checks passed
@dalexsoto
dalexsoto deleted the dev/alex/xc27-AVSystemRouting branch July 16, 2026 15: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.

4 participants