Skip to content

Align Apple RC2 dependency packages - #38787

Merged
kubaflo merged 2 commits into
release/11.0.1xx-rc2from
kubaflo-rc2-apple-dependency-alignment
Sep 22, 2026
Merged

kubaflo merged 2 commits into
release/11.0.1xx-rc2from
kubaflo-rc2-apple-dependency-alignment

Conversation

@kubaflo

@kubaflo kubaflo commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Note

Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!

Description

Aligns the RC2 branch with the Apple RC2 SDK package identity and version set so existing Maestro dependency flow can move the branch forward.

Changes

  • Updates eng/Version.Details.xml from the Apple net11.0_26.5 SDK package identities to net11.0_27.0 for iOS, Mac Catalyst, macOS, and tvOS.
  • Updates eng/Versions.props package properties to consume 27.0.12198-net11-rc.2 for all four Apple SDK packages while preserving the existing .NET 10 compatibility packages.
  • Updates MAUI Xcode selection defaults and Copilot iOS runtime recovery to discover/use the newest installed Xcode for the Apple 27.0 SDK recommendation.

Validation

  • Verified BAR build asset identities for Microsoft.{iOS,MacCatalyst,macOS,tvOS}.Sdk.net11.0_27.0 version 27.0.12198-net11-rc.2 and matching source commit.
  • git diff --check
  • xmllint --noout eng/Version.Details.xml eng/Versions.props
  • YAML parse for eng/pipelines/common/variables.yml and eng/pipelines/ci-copilot.yml
  • dotnet msbuild src/DotNet/Dependencies/Workloads.csproj /getProperty:MicrosoftiOSSdkPackageVersion,MicrosoftMacCatalystSdkPackageVersion,MicrosoftmacOSSdkPackageVersion,MicrosofttvOSSdkPackageVersion,DotNetMaciOSManifestVersionBand

Update the RC2 branch to consume the Apple 27.0 RC2 SDK packages from dotnet/macios and keep the Xcode selection aligned with the package recommendation.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings September 22, 2026 18:08
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 38787

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 38787"

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
There may be pipelines that require an authorized user to comment /azp run to run.

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.

Copilot review overview

🟡 Changes recommended

A critical Xcode selection and SDK recovery issue remains unresolved.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 High severity

Open (1)
What changed in this PR

Aligns Apple RC2 SDK package identities and versions with the 27.0.12198-net11-rc.2 set and updates Xcode/runtime recovery configuration.

Changes:

  • Updates iOS, Mac Catalyst, macOS, and tvOS SDK dependencies.
  • Preserves .NET 10 compatibility package versions.
  • Updates shared and Copilot Xcode selection and runtime recovery logic.
File Summary Review
eng/​Versions.props Updates Apple SDK package versions. No comments
eng/​Version.Details.xml Aligns dependency identities, versions, and source metadata. No comments
eng/​pipelines/​common/​variables.yml Updates shared Xcode defaults. No comments
eng/​pipelines/​ci-copilot.yml Updates Copilot Xcode and runtime recovery configuration. Nit (1 vote): remove an unmatched closing parenthesis in a comment.
.github/​scripts/​shared/​Start-Emulator.ps1 Selects the newest installed Xcode during recovery. Critical (1 vote): scope Xcode selection and SDK probing to the required caller or pipeline, and restore the prior selection.

# xcode-select path, the runtimes look "Ready" on disk yet "Invalid" to create.
# Point xcode-select at the newest installed Xcode before enrolling (best-effort).
$newestXcode = & bash -c 'ls -d /Applications/Xcode_26*.app 2>/dev/null | sort -V | tail -1'
$newestXcode = & bash -c 'ls -d /Applications/Xcode_*.app 2>/dev/null | sort -V | tail -1'
Use the configured Xcode version when recovering iOS runtimes instead of selecting any newest installed Xcode.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings September 22, 2026 18:17
@kubaflo
kubaflo merged commit a3ca20c into release/11.0.1xx-rc2 Sep 22, 2026
5 of 16 checks passed
@kubaflo
kubaflo deleted the kubaflo-rc2-apple-dependency-alignment branch September 22, 2026 18:20

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.

Copilot review overview

🔵 Needs a closer look

The unresolved critical shell-interpolation risk and Xcode/runtime fallback mismatch require changes and final human review.

Review effort: Lite
Findings: 2 High severity

Open (2)

# with error MT0180). Select it up-front so the SDK-version probe below
# reflects the Xcode the build will actually use.
LATEST_XCODE=$(ls -d /Applications/Xcode_26*.app 2>/dev/null | sort -V | tail -1)
LATEST_XCODE=$(ls -d /Applications/Xcode_$(XCODE)*.app 2>/dev/null | sort -V | tail -1)
@github-actions github-actions Bot added this to the .NET 11.0-rc2 milestone Sep 22, 2026
kubaflo added a commit that referenced this pull request Oct 9, 2026
<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->

### Description of Change

<!-- Enter description of the fix in this section -->

Intentionally targets **net11.0**, based on
`8d04ca676fc51a8f940f65dfbec9a8085fa13615`, rather than main or RC2.
Ports the Apple-specific Xcode 27 adoption from `release/11.0.1xx-rc2`
without changing net11's SDK, runtime, Android, Extensions, or Arcade
pins.

- Pin all four .NET 11 Apple SDKs to **27.0.12211-net11-rc.2** from
macios commit `35d8bf5a42cd71edf4e2700b1e45f6c4b65f3fbe` (BAR 334217,
RC2 channel), and update current/default iOS, tvOS, Mac Catalyst and
macOS platform TFMs to 27.0.
- Align the .NET 10 Apple compatibility SDKs to **26.5.10322**, required
by all four selected .NET 11 workload manifests; update their
coherent-parent names and public feed. This is required manifest
alignment, not an unrelated .NET 10 upgrade.
- Raise managed and native iOS deployment minimums to **15.0**. Native
iOS 12 / Catalyst's mapped macOS 10.15 targets are rejected by Xcode 27.
The managed Catalyst minimum remains 17.0; templates already use iOS 15
/ Catalyst 17.
- Select **GoldenGate / Xcode 27** for public and internal Apple
framework, pack, integration, UI-app, device-app and official
compilation. Continue executing prebuilt iOS UI-test apps on **Tahoe /
Xcode 26.5**, and Catalyst UI tests on **macOS 14**.
- Remove the obsolete repository-wide Xcode 26.2/26.3 validation bypass
and unconditional `eng/Build.props` overrides. Normal builds now let the
workload validate Xcode; explicit test/review-runner overrides remain
available.
- Document build requirements and remaining image limitations in
`docs/DevelopmentTips.md`.

**Evidence and retained workarounds**

The RC2 adoption/CI changes are in #38787, #38788, #38853, #38855 and
#38892. #38806 deliberately omitted Apple 27 / minimum-version / pool
changes when forward-porting to net11; this supplies that missing Apple
configuration. Icon Composer changes from #38984 are already on net11
and are not duplicated.

- Keep the GoldenGate compilation fallback: standard Azure hosted macOS
26 currently provides only Xcode 26.0–26.6. The Xcode 27 preview pool is
not a proven standard Azure-hosted replacement; no paid pool is
introduced. [Azure image
availability](https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops),
[Xcode 27 image
discussion](actions/runner-images#14404 (comment)).
- Keep the Appium build/execution split: GoldenGate previously lacked
the required iOS 18.5 runtime / usable Simulator UI and failed Mac2
startup; corrected RC2 build 1611447 passed all 29 iOS jobs. Current RC2
UI failures occur during package restore and do not establish that
GoldenGate UI execution is fixed. macOS 14 retires November 2, 2026; its
replacement requires separate Mac2 validation.
- Keep simulator provisioning, architecture-specific downloads, bounded
recovery and explicit failure when required Xcode is missing. Do not
copy #38852's unmerged `skipXcode: true` shortcut.
- **Do not port** GoldenGate's prerelease selected-Xcode fast path: [RC2
build
1623906](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1623906),
at RC2 HEAD `d32b79928709cf53b671336dabd0caef5a679fc2`, succeeded with
`/Applications/Xcode_27.app`, which the existing named fallback already
finds. This is source-configuration evidence, not validation of this PR.
- Do not copy later RC2 internal-SDK credentials, public-SDK fallbacks,
or internal feeds. They address different SDK/runtime pins. Retain
existing `TargetsCurrent`, local runner overrides and PowerShell
startup/recovery safeguards because Xcode 27 does not prove their
underlying issues resolved. The dedicated Copilot-review pipeline
retains its own older-branch overrides; it is not the standard net11
build lane.

**Validation**

- `.dotnet/dotnet build Microsoft.Maui.BuildTasks.slnf -c Release
-p:BuildTaskOnlyBuild=true -p:CI=true --verbosity quiet` — **passed**, 0
warnings / 0 errors, using the unchanged pinned SDK
`11.0.100-rtm.26480.113` in this worktree. This validates build
prerequisites, not Apple 27 app compilation.
- `DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer xcodebuild
-project
src/Core/AppleNative/PlatformInterop/MauiPlatformInterop.xcodeproj
-scheme MauiPlatformInterop -configuration Release -sdk iphonesimulator
-destination 'generic/platform=iOS Simulator' -derivedDataPath
artifacts/native-validation CODE_SIGNING_ALLOWED=NO build` — **passed**,
arm64 and x86_64 simulator framework compilation at iOS 15.0, using
installed **Xcode 26.6**, not Xcode 27. No simulator/app/test runner was
launched.
- `plutil -lint
src/Core/AppleNative/PlatformInterop/MauiPlatformInterop.xcodeproj/project.pbxproj`
and `git diff --check` — **passed**. Python `yaml.safe_load` / XML
parsing — **passed** for all changed pipeline and XML configuration
files. No pipeline tests were added.
- `.dotnet/dotnet msbuild Directory.Build.props -nologo
-getProperty:MauiPlatforms,MauiGraphicsPlatforms,IosTargetFrameworkVersionSdkDefault,MacCatalystTargetFrameworkVersionSdkDefault,ValidateXcodeVersion,TargetsCurrent`
— **passed**; current Apple TFMs resolve to 27.0 and the blanket
validation bypass is absent. Evaluating `eng/Versions.props` confirms
unchanged SDK/runtime/Android pins and all four Apple 27 pins.
- Downloaded and inspected all four exact Apple workload manifest
packages from the public dotnet11 feed — **passed**, confirming the .NET
10 compatibility SDK requirement is 26.5.10322.
- `dotnet format Microsoft.Maui.sln --no-restore --exclude Templates/src
--exclude-diagnostics CA1822` — attempted but **incomplete**: missing
restored references/workloads. Stopped it and removed its unrelated
generated formatting edits; no C# source changes are included.
- Initial unrestricted build-task attempts were blocked by missing
assets / Apple workloads. Repository bootstrap installed the exact
pinned SDK; full workload provisioning was stopped in favor of the
successful CI build-task-only command above.

Remote CI results for commit `e7a941cd121fff58bcd30892bbcf29e18882ac55`
(checked October 8, 2026):

- [maui-pr
1628491](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1628491)
— **completed, failed overall**. Apple compilation, macOS pack and main
integration validation passed; the macOS build selected
`/Applications/Xcode_27.app`. The only failing main-pipeline task was
the Helix monitor: Windows Debug
`SkiaSharpSvgToolsTests.Resize.BasicNoScaleReturnsOriginalSize` failed
deleting a locked temporary file in `Resize.Dispose()`. This is a
**confirmed identical historical cleanup failure predating this PR**,
not evidence of an Xcode-adoption regression: September 29 [build
1616449](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1616449),
the **net11.0-targeted #38984 merge build** (`refs/pull/38984/merge`,
not a direct `refs/heads/net11.0` baseline run), failed the same test in
Windows Release with the same `IOException` and `FileSystem.DeleteFile`
→ `Resize.Dispose()` line-25 stack; only the temporary filename differs.
See its actual [Helix
console](https://helixr1107v0xdeko0k025g8.blob.core.windows.net/dotnet-maui-refs-pull-38984-merge-c211216b883342c6ae/Microsoft.Maui.Resizetizer.UnitTests.dll/1/console.30a6023e.log?helixlogtype=result)
and [test-result
XML](https://helixr1107v0xdeko0k025g8.blob.core.windows.net/dotnet-maui-refs-pull-38984-merge-c211216b883342c6ae/Microsoft.Maui.Resizetizer.UnitTests.dll/1/testResults.xml?helixlogtype=result).
The fixture is byte-identical between exact base `8d04ca676f` and PR
head `e7a941cd12` (blob `a41ebe6e87b3809f952b51f98e594bf5faf2fe25`);
Skia/runtime pins and Windows execution pools are unchanged, and the
relevant configuration changes are Apple-specific. Together, this
supports **no causal link to Xcode adoption**. The latest exact-base
[net11.0 build
1628290](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1628290)
passed; that does not negate the verified earlier occurrence. No cleanup
fix or rerun is included.
- [maui-pr-devicetests
1628492](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1628492)
— **completed, succeeded**, including Mono/CoreCLR device-app
compilation. Cross-checked all nine Helix jobs: 71 terminal work items,
zero failing exits and no work items still running; this is a work-item
count, not a test-case count.
- [maui-pr-uitests
1628493](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1628493)
— **completed, failed overall** at 21:42 UTC. UI-app compilation and the
complete **iOS CoreCLR UI stage passed**. The five failed/canceled
execution legs are MacCatalyst Layout, Navigation and Shell; Windows
Shell; and Android SafeAreaEdges. MacCatalyst Shell was canceled after
three hours during its retry, so its complete execution coverage remains
**unverified**, not passed.
- **Baseline-matched UI failures:** MacCatalyst `Issue59172RecoveryTest`
timeout matches [net11.0 build
1625634](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1625634).
MacCatalyst `ValidateBackgroundColorDoesNotAffectInputTransparent`
timeout matches the exact-base [net11.0 build
1628291](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1628291),
test run 45168562. MacCatalyst Shell
`SearchHandlerQueryIconUpdatesAtRuntime` (0.51% screenshot difference)
also matches that build, run 45168556;
`SearchHandlerClearPlaceholderIconUpdatesAtRuntime`, seen during the
interrupted retry, matches [net11.0 build
1626506](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1626506),
run 45112430. Android
`SafeAreaNoWhiteSpaceAfterKeyboardDismissAndEdgeToggle` matches the same
assertion on [net11.0 build
1627873](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1627873).
- **Unmatched UI failures:** MacCatalyst Shell
`SearchHandlerResetAllRestoresDefaultIcons` has a 0.52% screenshot
mismatch (published in run 45176448); it was not among failed results in
the five sampled net11.0 Shell runs. Windows
`VerifyShellSearch_TextTransformUppercase` has a 0.70% screenshot
mismatch; the corresponding Shell runs pass in all five sampled net11.0
UI builds. Neither is established as unrelated or PR-caused. The Shell
cancellation leaves additional coverage incomplete. No screenshot
baselines were updated to hide failures.
- [PowerShell Script Tests
37821050474](https://github.com/dotnet/maui/actions/runs/37821050474) —
**failed**: the unchanged `Review-Tests` contract expects an inline
GPT-5.6 model while the unchanged target-branch workflow imports
GPT-6.1. Both the assertion and its workflow subject are identical to
net11.0; no pipeline-test changes are included in this PR.

Xcode 27 is not installed locally; the Apple 27 compilation evidence
above is from remote CI. All three PR pipelines have finished, but
**full UI validation is not green**, MacCatalyst Shell coverage is
incomplete, and **official/internal signing remains pending**. The
unmatched failures need further investigation before claiming merge
readiness. These results do not justify removing the retained
execution-image safeguards. No XCTest/XCUITest or local UI automation
was run; global Xcode selection was not changed. The CI watch has been
stopped.

### Issues Fixed

<!-- Please make sure that there is a bug logged for the issue being
fixed. The bug should describe the problem and how to reproduce it. -->

No separately filed issue; requested .NET 11 adoption of the
already-established RC2 Xcode 27 configuration.

<!--
Are you targeting main? All PRs should target the main branch unless
otherwise noted.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants