From 47cecc85de7764f5cae06ffc50355876a8b5c5c0 Mon Sep 17 00:00:00 2001 From: Milos Kotlar Date: Mon, 30 Mar 2026 13:57:47 +0200 Subject: [PATCH] Disable PublishReadyToRunStripDebugInfo/StripInliningInfo for iOS CoreCLR 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> --- eng/performance/maui_scenarios_ios.proj | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eng/performance/maui_scenarios_ios.proj b/eng/performance/maui_scenarios_ios.proj index 5ef530c6dbf..1db0b34c6ba 100644 --- a/eng/performance/maui_scenarios_ios.proj +++ b/eng/performance/maui_scenarios_ios.proj @@ -16,6 +16,9 @@ + + <_MSBuildArgs Condition="'$(RuntimeFlavor)' == 'coreclr'">$(_MSBuildArgs);/p:PublishReadyToRunStripDebugInfo=false;/p:PublishReadyToRunStripInliningInfo=false + <_MSBuildArgs Condition="'$(RuntimeFlavor)' == 'coreclr' and '$(CodegenType)' == 'Interpreter'">$(_MSBuildArgs);/p:PublishReadyToRun=false