From b1ead182612785e3e13b2d789bcecc48aae469f0 Mon Sep 17 00:00:00 2001 From: David Nguyen <87228593+davidnguyen-tech@users.noreply.github.com> Date: Wed, 11 Feb 2026 13:25:00 +0100 Subject: [PATCH 1/2] Add missing /p:RunAOTCompilation=false to HelloiOS CoreCLR commands --- docs/workflow/building/coreclr/ios.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/workflow/building/coreclr/ios.md b/docs/workflow/building/coreclr/ios.md index ed1d4d27e65f5b..d36ff8bb75b668 100644 --- a/docs/workflow/building/coreclr/ios.md +++ b/docs/workflow/building/coreclr/ios.md @@ -77,7 +77,7 @@ A prerequisite for building and running samples locally is to have CoreCLR succe To build `HelloiOS`, run the following command from ``: ```bash -./dotnet.sh build src/mono/sample/iOS/Program.csproj -c /p:TargetOS= /p:TargetArchitecture=arm64 /p:UseMonoRuntime=false +./dotnet.sh build src/mono/sample/iOS/Program.csproj -c /p:TargetOS= /p:TargetArchitecture=arm64 /p:UseMonoRuntime=false /p:RunAOTCompilation=false ``` On successful execution, the command will output the iOS app bundle. @@ -87,7 +87,7 @@ On successful execution, the command will output the iOS app bundle. To run the sample, run the following command from ``: ```bash -./dotnet.sh publish src/mono/sample/iOS/Program.csproj -c /p:TargetOS= /p:TargetArchitecture=arm64 /p:DeployAndRun=true /p:UseMonoRuntime=false +./dotnet.sh publish src/mono/sample/iOS/Program.csproj -c /p:TargetOS= /p:TargetArchitecture=arm64 /p:DeployAndRun=true /p:UseMonoRuntime=false /p:RunAOTCompilation=false ``` The command also produces an Xcode project that can be opened for debugging: From e835a6466f9c436dbc39f014f5b7ff307c305965 Mon Sep 17 00:00:00 2001 From: David Nguyen <87228593+davidnguyen-tech@users.noreply.github.com> Date: Thu, 12 Feb 2026 09:26:14 +0100 Subject: [PATCH 2/2] Address review notes --- docs/workflow/building/coreclr/ios.md | 4 ++-- src/mono/sample/iOS/Program.csproj | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/workflow/building/coreclr/ios.md b/docs/workflow/building/coreclr/ios.md index d36ff8bb75b668..ed1d4d27e65f5b 100644 --- a/docs/workflow/building/coreclr/ios.md +++ b/docs/workflow/building/coreclr/ios.md @@ -77,7 +77,7 @@ A prerequisite for building and running samples locally is to have CoreCLR succe To build `HelloiOS`, run the following command from ``: ```bash -./dotnet.sh build src/mono/sample/iOS/Program.csproj -c /p:TargetOS= /p:TargetArchitecture=arm64 /p:UseMonoRuntime=false /p:RunAOTCompilation=false +./dotnet.sh build src/mono/sample/iOS/Program.csproj -c /p:TargetOS= /p:TargetArchitecture=arm64 /p:UseMonoRuntime=false ``` On successful execution, the command will output the iOS app bundle. @@ -87,7 +87,7 @@ On successful execution, the command will output the iOS app bundle. To run the sample, run the following command from ``: ```bash -./dotnet.sh publish src/mono/sample/iOS/Program.csproj -c /p:TargetOS= /p:TargetArchitecture=arm64 /p:DeployAndRun=true /p:UseMonoRuntime=false /p:RunAOTCompilation=false +./dotnet.sh publish src/mono/sample/iOS/Program.csproj -c /p:TargetOS= /p:TargetArchitecture=arm64 /p:DeployAndRun=true /p:UseMonoRuntime=false ``` The command also produces an Xcode project that can be opened for debugging: diff --git a/src/mono/sample/iOS/Program.csproj b/src/mono/sample/iOS/Program.csproj index 53c3cd3583fd2b..b152642b84c9b8 100644 --- a/src/mono/sample/iOS/Program.csproj +++ b/src/mono/sample/iOS/Program.csproj @@ -10,7 +10,7 @@ $(AssemblyName).dll true - true + true true Link true