Repository navigation
[AutomaticAssessmentConfiguration] Update bindings up to Xcode 27.0 Beta 6i - #26504
Conversation
…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
There was a problem hiding this comment.
🟢 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
AEAssessmentConfigurationmanaged properties and updated their[Export]selectors to match Beta 6i. - Added the new
RequiresReleaseOSbinding on macOS/Mac Catalyst 27.0. - Updated Xcode Beta 6 provisioning values in
Make.configand 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.
|
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 stableNET (empty diffs)Pipeline on Agent |
This comment has been minimized.
This comment has been minimized.
🚀 [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 macOS tests✅ Tests on macOS Sonoma (14): All 5 tests passed. Html Report (VSDrops) Download Linux Build VerificationPipeline on Agent |
Summary
AEAssessmentConfigurationto the Xcode 27.0 Beta 6i macOS and Mac Catalyst selector spellings.RequiresReleaseOSpolicy property.API changes
AllowsForceQuitAllowsForceQuitKeyboardShortcutsAllowOnlyParticipantsToRunAllowsOnlyParticipantsToRunAllowLockdownModeAllowsLockdownModeAllowPrivateRelayAllowsPrivateRelayAllowVirtualMachineAllowsVirtualMachineRequiresReleaseOSis 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.0is currently still on the Beta 5 baseline.Validation
make worldbefore making changes.make worldafter updating the binding.Sanity check passed.AppSizeTestrun: 16 expected skips under beta Xcode, 0 failed.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.