Skip to content

[release/10.0] Fix iossimulator build with XCode 26.4#128952

Open
github-actions[bot] wants to merge 1 commit into
release/10.0from
backport/pr-128893-to-release/10.0
Open

[release/10.0] Fix iossimulator build with XCode 26.4#128952
github-actions[bot] wants to merge 1 commit into
release/10.0from
backport/pr-128893-to-release/10.0

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented Jun 3, 2026

Backport of #128893 to release/10.0

/cc @akoeplinger @BrzVlad

Customer Impact

  • Customer reported
  • Found internally

Necessary to build runtime repo for iOS Simulator with newer versions of Xcode.

Regression

  • Yes
  • No

Testing

CI testing.

Risk

Low, this just adds a couple casts.

It seems that our CI jobs are using XCode 16.4 and the latest version of XCode, 26.4, bumped clang to version 21 which adds some new warnings (`-Wimplicit-int-enum-cast` and `-Wimplicit-void-ptr-cast`). These warnings are picked locally as build errors. This fixes the local build.

Build command used locally:
```
./build.sh -arch arm64 -os iossimulator  -s clr+clr.runtime+libs+packs+libs.tests -c Release /p:UseMonoRuntime=false /p:UseNativeAOTRuntime=false /p:EnableAdditionalTimezoneChecks=true /p:EnableAggressiveTrimming=true
```
@akoeplinger
Copy link
Copy Markdown
Member

Infrastructure/build-only change required to build with newer versions of the toolchain, Servicing-approved.

@akoeplinger akoeplinger added the Servicing-approved Approved for servicing release label Jun 3, 2026
@dotnet-policy-service
Copy link
Copy Markdown
Contributor

Tagging subscribers to 'os-ios': @vitek-karas, @kotlarmilos, @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-System.Globalization os-ios Apple iOS Servicing-approved Approved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants