Repository navigation
Remove obsolete Apple ICU data bundling - #130673
Conversation
Co-authored-by: Copilot App <[email protected]> Copilot-Session: 2967cfb4-3cb3-431d-9c9d-0dc9ff0d2038
|
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. |
There was a problem hiding this comment.
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*.datin bundled resources and stop emittingICU_DAT_FILE_PATHinto 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.datand static ICU.alibraries intests.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
Co-authored-by: Copilot App <[email protected]> Copilot-Session: 2967cfb4-3cb3-431d-9c9d-0dc9ff0d2038
|
Tagging subscribers to 'os-tvos': @vitek-karas, @kotlarmilos, @steveisok, @akoeplinger |
Co-authored-by: Copilot App <[email protected]> Copilot-Session: 2967cfb4-3cb3-431d-9c9d-0dc9ff0d2038
|
/azp run runtime-ioslike,runtime-maccatalyst,runtime-iossimulatorlike |
|
Azure Pipelines: Successfully started running 2 pipeline(s). |
|
/azp run runtime-ioslikesimulator |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
|
/ba-g this PR only touches apple-related files, no wasm changes were made |
Summary
icudt*.dator configuringICU_DAT_FILE_PATHfor Apple CoreCLR and Mono appsicudt.datand static ICU libraries while preserving compatibility globalization switchesicucore, without app-local ICU data