Skip to content

Disable PublishReadyToRunStripDebugInfo/StripInliningInfo for iOS CoreCLR R2R#5182

Merged
LoopedBard3 merged 1 commit intodotnet:mainfrom
kotlarmilos:fix/disable-crossgen2-strip-debug-ios
Mar 30, 2026
Merged

Disable PublishReadyToRunStripDebugInfo/StripInliningInfo for iOS CoreCLR R2R#5182
LoopedBard3 merged 1 commit intodotnet:mainfrom
kotlarmilos:fix/disable-crossgen2-strip-debug-ios

Conversation

@kotlarmilos
Copy link
Copy Markdown
Member

@kotlarmilos kotlarmilos commented Mar 30, 2026

Summary

Workaround for dotnet/sdk#53514 adding --strip-debug-info and --strip-inlining-info to crossgen2 args for Apple mobile RIDs before crossgen2 support (dotnet/runtime#124604) has flowed into the SDK.

This causes CrossGen.targets to fail with:

System.CommandLine.CommandLineException: No files matching --strip-debug-info --instruction-set:apple-m1

Fix

Set PublishReadyToRunStripDebugInfo=false and PublishReadyToRunStripInliningInfo=false in iOS CoreCLR build args until the crossgen2 changes flow in.

Test run: https://dev.azure.com/dnceng/internal/_build/results?buildId=2939329&view=results

…eCLR R2R

Workaround for dotnet/sdk#53514 adding --strip-debug-info and
--strip-inlining-info to crossgen2 args for Apple mobile RIDs before
crossgen2 support (dotnet/runtime#124604) has flowed into the SDK.

This causes CrossGen.targets to fail with:
  System.CommandLine.CommandLineException: No files matching
  --strip-debug-info --instruction-set:apple-m1

Disable both properties until the crossgen2 changes flow in.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@kotlarmilos kotlarmilos self-assigned this Mar 30, 2026
@LoopedBard3
Copy link
Copy Markdown
Member

Looks good. CI failures are unrelated (instead related to #5179)

@LoopedBard3 LoopedBard3 merged commit 58c241f into dotnet:main Mar 30, 2026
39 of 74 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants