Skip to content

Remove obsolete Apple ICU data bundling - #130673

Merged
matouskozak merged 4 commits into
mainfrom
matouskozak-remove-apple-icu-bundling
Jul 15, 2026
Merged

matouskozak merged 4 commits into
mainfrom
matouskozak-remove-apple-icu-bundling

Conversation

@matouskozak

@matouskozak matouskozak commented Jul 14, 2026 •

Copy link
Copy Markdown
Member

Summary

  • stop AppleAppBuilder from bundling icudt*.dat or configuring ICU_DAT_FILE_PATH for Apple CoreCLR and Mono apps
  • remove the stale NativeAOT Apple test payload copies of icudt.dat and static ICU libraries while preserving compatibility globalization switches
  • clarify that Apple mobile hybrid globalization uses Apple-native APIs and system icucore, without app-local ICU data

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 2967cfb4-3cb3-431d-9c9d-0dc9ff0d2038
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 4 pipeline(s).
11 pipeline(s) were filtered out due to trigger conditions.
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.

Pull request overview

This PR removes Apple-specific app bundling and configuration for ICU data files (icudt*.dat) in AppleAppBuilder-generated apps and Apple “ioslike” test packaging, aligning the generated projects/docs with the current Apple mobile globalization model (hybrid always-on using Apple-native APIs + system icucore, without app-local ICU data).

Changes:

  • Stop AppleAppBuilder from including icudt*.dat in bundled resources and stop emitting ICU_DAT_FILE_PATH into CoreCLR app context properties.
  • Simplify CoreCLR runtime template/property-count generation to remove invariant/non-invariant branching tied to ICU data.
  • Remove NativeAOT Apple test bundling of icudt.dat and static ICU .a libraries in tests.ioslike.targets, and update documentation/comments to reflect Apple mobile hybrid behavior.

Reviewed changes

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

Show a summary per file
File Description
src/tasks/AppleAppBuilder/Xcode.cs Stops resource inclusion of icudt*.dat and removes CoreCLR appctx property generation for ICU_DAT_FILE_PATH (simplifies property-count logic).
src/tasks/AppleAppBuilder/Templates/runtime.m Removes Mono runtime appctx key/value injection for ICU_DAT_FILE_PATH and related path construction.
src/tasks/AppleAppBuilder/Templates/runtime-librarymode.m Removes setting DOTNET_SYSTEM_GLOBALIZATION_HYBRID in library-mode template.
src/tasks/AppleAppBuilder/Templates/runtime-coreclr.m Removes ICU_DAT_FILE_PATH appctx plumbing and invariant-dependent property-count macro branching.
src/tasks/AppleAppBuilder/AppleAppBuilder.cs Updates HybridGlobalization task property XML docs to clarify it is a legacy define for native consumers (no app-local ICU data on Apple mobile).
eng/testing/tests.ioslike.targets Removes bundling of icudt.dat and static ICU .a libraries for NativeAOT Apple test payloads; clarifies default Hybrid behavior comment.
docs/design/features/globalization-hybrid-mode.md Updates Apple section to document that hybrid is always enabled on Apple mobile and no icudt*.dat is bundled/loaded.

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 9673fd2c-19ec-41f5-a8e1-e27a3d6c04d9
Copilot AI review requested due to automatic review settings July 14, 2026 12:14
@matouskozak
matouskozak temporarily deployed to copilot-pat-pool July 14, 2026 12:14 — with GitHub Actions Inactive
@matouskozak
matouskozak temporarily deployed to copilot-pat-pool July 14, 2026 12:14 — with GitHub Actions Inactive
@matouskozak
matouskozak temporarily deployed to copilot-pat-pool July 14, 2026 12:17 — with GitHub Actions Inactive
@matouskozak
matouskozak temporarily deployed to copilot-pat-pool July 14, 2026 12:17 — with GitHub Actions Inactive
@matouskozak
matouskozak temporarily deployed to copilot-pat-pool July 14, 2026 12:18 — with GitHub Actions Inactive
Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 2967cfb4-3cb3-431d-9c9d-0dc9ff0d2038
@matouskozak
matouskozak temporarily deployed to copilot-pat-pool July 14, 2026 12:21 — with GitHub Actions Inactive
@matouskozak
matouskozak temporarily deployed to copilot-pat-pool July 14, 2026 12:21 — with GitHub Actions Inactive
@matouskozak matouskozak added os-ios Apple iOS os-tvos Apple tvOS os-maccatalyst MacCatalyst OS labels Jul 14, 2026
@matouskozak
matouskozak temporarily deployed to copilot-pat-pool July 14, 2026 12:21 — with GitHub Actions Inactive
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

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

Copilot AI review requested due to automatic review settings July 14, 2026 12:24
@matouskozak
matouskozak temporarily deployed to copilot-pat-pool July 14, 2026 12:24 — with GitHub Actions Inactive
@matouskozak
matouskozak temporarily deployed to copilot-pat-pool July 14, 2026 12:24 — with GitHub Actions Inactive
Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 2967cfb4-3cb3-431d-9c9d-0dc9ff0d2038

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

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Comment thread src/tasks/AppleAppBuilder/Xcode.cs Resolved
Copilot AI review requested due to automatic review settings July 14, 2026 12:31
@matouskozak
matouskozak temporarily deployed to copilot-pat-pool July 14, 2026 12:31 — with GitHub Actions Inactive
@matouskozak
matouskozak temporarily deployed to copilot-pat-pool July 14, 2026 12:31 — with GitHub Actions Inactive

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

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

@matouskozak

Copy link
Copy Markdown
Member Author

/azp run runtime-ioslike,runtime-maccatalyst,runtime-iossimulatorlike

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).

@matouskozak

Copy link
Copy Markdown
Member Author

/azp run runtime-ioslikesimulator

@matouskozak
matouskozak requested a review from vitek-karas July 14, 2026 14:45
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@matouskozak

Copy link
Copy Markdown
Member Author

/ba-g this PR only touches apple-related files, no wasm changes were made

@matouskozak
matouskozak merged commit c48607a into main Jul 15, 2026
185 of 195 checks passed
@matouskozak
matouskozak deleted the matouskozak-remove-apple-icu-bundling branch July 15, 2026 14:17
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 11.0-preview7 milestone Jul 16, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 16, 2026

This branch was previously deployed

1 inactive deployment
copilot-pat-pool — 415c2050 Deployed Jul 14, 2026 by matouskozak via conclusion #14931
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants