Skip to content

[EnhancedLinkSecurity] Update bindings up to Xcode 27.0 Beta 3#26161

Merged
dalexsoto merged 1 commit into
xcode27.0from
dev/alex/xc27-EnhancedLinkSecurity
Jul 17, 2026
Merged

[EnhancedLinkSecurity] Update bindings up to Xcode 27.0 Beta 3#26161
dalexsoto merged 1 commit into
xcode27.0from
dev/alex/xc27-EnhancedLinkSecurity

Conversation

@dalexsoto

Copy link
Copy Markdown
Member

Summary

  • Bind IMEnhancedLinkSecurityManager on iOS, tvOS, macOS, and Mac Catalyst.
  • Register EnhancedLinkSecurity with the build, linker, generated framework map, and linked-framework expectations.
  • Update documentation and registrar baselines, and remove the resolved xtro todo files.

Validation

  • make world
  • xtro classification and sanity
  • cecil tests
  • linked-framework tests: 8/8 passed
  • tvOS introspection: 43/43 passed
  • macOS introspection: 32/32 passed
  • Mac Catalyst binding-relevant introspection fixtures passed; the full constructor fixture hit the known terminal TCC abort
  • iOS EnhancedLinkSecurity framework/field/selector checks passed; remaining failures are unrelated Xcode 27 Beta 3 UIKit/AVKit/AVFoundation gaps
  • app-size tests invoked; all 17 are skipped by the beta-Xcode guard

Bind IMEnhancedLinkSecurityManager across iOS, tvOS, macOS, and Mac Catalyst, including its synchronous and asynchronous enhanced-security checks.

Register the framework with the build and linker infrastructure, update linked-framework and registrar expectations, add the documentation baseline, and remove the resolved xtro todo files.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 240e6b24-ae4c-4d76-8205-bdb21c8a68c6
@dalexsoto
dalexsoto requested a review from rolfbjarne as a code owner July 17, 2026 03:58
Copilot AI review requested due to automatic review settings July 17, 2026 03:58
@dalexsoto dalexsoto added this to the xcode27 milestone Jul 17, 2026

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

Adds the new EnhancedLinkSecurity framework binding (Xcode 27.0 beta) and wires it through the build/link/test expectations so the framework is correctly recognized and validated across Apple platforms.

Changes:

  • Introduce IMEnhancedLinkSecurityManager bindings for iOS, tvOS, macOS, and Mac Catalyst.
  • Register the framework in build metadata (framework lists, generated framework map, and platform HAS_* defines).
  • Update test baselines/expectations and remove resolved xtro .todo files.

Reviewed changes

Copilot reviewed 15 out of 15 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tools/common/Frameworks.cs Adds EnhancedLinkSecurity to per-platform framework availability lists.
tests/xtro-sharpie/api-annotations-dotnet/iOS-EnhancedLinkSecurity.todo Removed resolved xtro todo entries for iOS.
tests/xtro-sharpie/api-annotations-dotnet/tvOS-EnhancedLinkSecurity.todo Removed resolved xtro todo entries for tvOS.
tests/xtro-sharpie/api-annotations-dotnet/macOS-EnhancedLinkSecurity.todo Removed resolved xtro todo entries for macOS.
tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-EnhancedLinkSecurity.todo Removed resolved xtro todo entries for Mac Catalyst.
tests/mtouch/RegistrarTest.cs Extends invalid-framework coverage to include EnhancedLinkSecurity (iOS 27.0).
tests/dotnet/UnitTests/ProjectTest.cs Updates linked-framework expectation lists to include EnhancedLinkSecurity paths.
tests/cecil-tests/Documentation.KnownFailures.txt Adds KnownFailures entries for new public EnhancedLinkSecurity APIs.
src/rsp/dotnet/ios-defines-dotnet.rsp Adds HAS_ENHANCEDLINKSECURITY define for iOS.
src/rsp/dotnet/tvos-defines-dotnet.rsp Adds HAS_ENHANCEDLINKSECURITY define for tvOS.
src/rsp/dotnet/macos-defines-dotnet.rsp Adds HAS_ENHANCEDLINKSECURITY define for macOS.
src/rsp/dotnet/maccatalyst-defines-dotnet.rsp Adds HAS_ENHANCEDLINKSECURITY define for Mac Catalyst.
src/frameworks.sources Registers EnhancedLinkSecurity in COMMON_FRAMEWORKS for generation/build integration.
src/enhancedlinksecurity.cs New binding definitions for IMEnhancedLinkSecurityManager.
src/build/dotnet/generator-frameworks.g.cs Updates generated framework map and HaveEnhancedLinkSecurity flag.

@dalexsoto
dalexsoto enabled auto-merge (squash) July 17, 2026 05:21
@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: b7b49832f713c14df6b9d5d509af20021280f55e [PR build]

@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

🚀 [CI Build #b7b4983] 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
✅ 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. [attempt 2] Html Report (VSDrops) Download
✅ dotnettests (Multiple platforms): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (tvOS): All 1 tests passed. [attempt 3] 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. [attempt 2] 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. 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 19 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ monotouch (MacCatalyst): All 18 tests passed. Html Report (VSDrops) Download
✅ monotouch (macOS): All 19 tests passed. Html Report (VSDrops) Download
✅ monotouch (tvOS): All 19 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: b7b49832f713c14df6b9d5d509af20021280f55e [PR build]

@dalexsoto
dalexsoto merged commit d214d9c into xcode27.0 Jul 17, 2026
56 checks passed
@dalexsoto
dalexsoto deleted the dev/alex/xc27-EnhancedLinkSecurity branch July 17, 2026 15:18
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