Skip to content

[AutomaticAssessmentConfiguration] Update bindings up to Xcode 27.0 Beta 6i - #26504

Merged
dalexsoto merged 2 commits into
xcode27.0from
dev/alex/xc27b6-AutomaticAssessmentConfiguration
Sep 1, 2026
Merged

dalexsoto merged 2 commits into
xcode27.0from
dev/alex/xc27b6-AutomaticAssessmentConfiguration

Conversation

@dalexsoto

Copy link
Copy Markdown
Member

Summary

  • Update AEAssessmentConfiguration to the Xcode 27.0 Beta 6i macOS and Mac Catalyst selector spellings.
  • Rename five Xcode 27 preview-only managed properties to match Apple's updated native API.
  • Add the new RequiresReleaseOS policy property.
  • Remove the resolved AutomaticAssessmentConfiguration xtro todo files and refresh the cecil documentation baseline.

API changes

Beta 5 managed API Beta 6i managed API
AllowsForceQuit AllowsForceQuitKeyboardShortcuts
AllowOnlyParticipantsToRun AllowsOnlyParticipantsToRun
AllowLockdownMode AllowsLockdownMode
AllowPrivateRelay AllowsPrivateRelay
AllowVirtualMachine AllowsVirtualMachine

RequiresReleaseOS is new in Beta 6i. All six properties are available on macOS 27.0 and Mac Catalyst 27.0, and unavailable on iOS.

These renamed APIs only appeared in Xcode 27 preview builds and never in a stable release. Compatibility aliases are intentionally not retained because Apple removed the old native selectors in Beta 6; invoking an alias backed by those selectors would fail at runtime.

The iPhoneOS Beta 6 header still contains the old spellings, but every affected declaration is API_UNAVAILABLE(ios). The iOS managed assembly is unchanged; the macOS header and Mac Catalyst preprocessing define the actual supported surface and both use the new selectors.

Branch context

This branch includes the prerequisite Xcode 27.0 Beta 6 baseline commit because xcode27.0 is currently still on the Beta 5 baseline.

Validation

  • Fresh make world before making changes.
  • make world after updating the binding.
  • Final clean xtro regeneration and classification: Sanity check passed.
  • Final clean cecil run: 112 passed, 4 skipped, 0 failed.
  • Final clean .NET AppSizeTest run: 16 expected skips under beta Xcode, 0 failed.
  • iOS 27 introspection: 44 passed, 0 failed.
  • tvOS 27 introspection: 43 passed, 0 failed.
  • macOS introspection: 32 passed, 2 expected latest-OS ignores, 0 failed.
  • Mac Catalyst full introspection reproduced the existing headless TCC abort in CoreLocationUI.CLLocationButton; all 14 non-crashing fixtures passed individually, totaling 36 passed, 4 expected ignores, 0 failed.

The changed macOS/Mac Catalyst 27.0-only selectors are host-version gated on this macOS 26.6 machine, so their exact runtime presence is validated against the Beta 6 SDK headers by xtro and the generated bindings rather than by host selector execution.

dalexsoto and others added 2 commits August 31, 2026 17:06
…eta 6i

Update the macOS and Mac Catalyst assessment configuration bindings for the selector changes in Xcode 27.0 Beta 6i.

- Rename five preview-only policy properties to match the updated native selectors.
- Add the new RequiresReleaseOS policy property.
- Remove the resolved xtro todo files and refresh the cecil documentation baseline.

The replaced APIs only appeared in Xcode 27 preview builds. Compatibility aliases are intentionally not retained because the old native selectors no longer exist in the Beta 6 SDK.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 88c15c59-052b-4f38-ba69-e60b822c2a83
Copilot AI lite review requested due to automatic review settings August 31, 2026 22:00
@dalexsoto
dalexsoto requested a review from rolfbjarne as a code owner August 31, 2026 22:00
@dalexsoto dalexsoto added this to the xcode27 milestone Aug 31, 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.

🟢 Approval recommended

Pull request overview

Updates the AutomaticAssessmentConfiguration bindings and build configuration to align with the Xcode 27.0 Beta 6i SDK surface, including selector spelling updates and a new policy flag, plus baseline refreshes for documentation testing.

Changes:

  • Renamed five Xcode 27 preview-only AEAssessmentConfiguration managed properties and updated their [Export] selectors to match Beta 6i.
  • Added the new RequiresReleaseOS binding on macOS/Mac Catalyst 27.0.
  • Updated Xcode Beta 6 provisioning values in Make.config and refreshed the cecil documentation known-failures baseline.
File summaries
File Description
tests/cecil-tests/Documentation.KnownFailures.txt Refreshes documentation baseline entries to match renamed/new properties.
src/automaticassessmentconfiguration.cs Updates AEAssessmentConfiguration selectors + managed names; adds RequiresReleaseOS.
Make.config Bumps Xcode package/version/build metadata and expected macOS build version for tests.
Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/automaticassessmentconfiguration.cs Resolved
@dalexsoto dalexsoto added the ready-to-review This PR is ready to review/merge. label Aug 31, 2026
@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

⚠️ Warning ⚠️

Warning: The system requirements for the hash to compare against (67fd97e�(B) are different than for the current hash. Skipping API/generator comparison.�(B

✅ API diff vs stable

NET (empty diffs)

Pipeline on Agent
Hash: a41bc2537248a8a21a9095e59fce1419b14b6888 [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@dalexsoto
dalexsoto enabled auto-merge (squash) September 1, 2026 01:26
@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🚀 [CI Build #a41bc25] Test results 🚀

Test results

✅ All tests passed on VSTS: test results.

🎉 All 196 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 2] Html Report (VSDrops) Download
✅ linker (MacCatalyst): All 15 tests passed. 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. Html Report (VSDrops) Download
✅ monotouch (MacCatalyst): All 18 tests passed. Html Report (VSDrops) Download
✅ monotouch (macOS): All 20 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: a41bc2537248a8a21a9095e59fce1419b14b6888 [PR build]

@dalexsoto
dalexsoto merged commit feb6749 into xcode27.0 Sep 1, 2026
56 checks passed
@dalexsoto
dalexsoto deleted the dev/alex/xc27b6-AutomaticAssessmentConfiguration branch September 1, 2026 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

copilot ready-to-review This PR is ready to review/merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants