From 961afaac59285901b6444c5c5ce62b16092db1d8 Mon Sep 17 00:00:00 2001 From: jbe2277 Date: Wed, 13 May 2026 22:14:47 +0200 Subject: [PATCH 01/21] NR/iOS: Adapt build to upload simulator app --- .github/workflows/NewsReader.CI.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/NewsReader.CI.yml b/.github/workflows/NewsReader.CI.yml index 98c8e3d3..0173ced1 100644 --- a/.github/workflows/NewsReader.CI.yml +++ b/.github/workflows/NewsReader.CI.yml @@ -180,7 +180,15 @@ jobs: - name: 🛠️ Build run: | cd src/NewsReader/NewsReader.MauiSystem - dotnet build -f net10.0-ios -c:Release /p:packageApp=false /p:buildForSimulator=true /p:ArchiveOnBuild=false -p:ApplicationVersion=${{ needs.GetVersion.outputs.version }} -p:ApplicationDisplayVersion=${{ needs.GetVersion.outputs.version }} + dotnet publish -f net10.0-ios -c:Release /p:packageApp=true /p:buildForSimulator=true /p:ArchiveOnBuild=false -p:ApplicationVersion=${{ needs.GetVersion.outputs.version }} -p:ApplicationDisplayVersion=${{ needs.GetVersion.outputs.version }} + + - name: 📦 Upload iOS App for simulator + uses: actions/upload-artifact@v6 + with: + name: NewsReaderiOSSimulator + if-no-files-found: error + path: | + ./**/publish/*.app Test: runs-on: windows-2025 From 16a193f4227df6fa28dadb0b1c362406afc7bcf9 Mon Sep 17 00:00:00 2001 From: jbe2277 Date: Wed, 13 May 2026 22:24:52 +0200 Subject: [PATCH 02/21] Update iOS simulator build to use iossimulator-arm64 Set RuntimeIdentifier to iossimulator-arm64 in the build step and remove unnecessary publish parameters. This streamlines the configuration and improves compatibility with ARM64-based iOS simulators. --- .github/workflows/NewsReader.CI.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/NewsReader.CI.yml b/.github/workflows/NewsReader.CI.yml index 0173ced1..a72f097e 100644 --- a/.github/workflows/NewsReader.CI.yml +++ b/.github/workflows/NewsReader.CI.yml @@ -180,7 +180,7 @@ jobs: - name: 🛠️ Build run: | cd src/NewsReader/NewsReader.MauiSystem - dotnet publish -f net10.0-ios -c:Release /p:packageApp=true /p:buildForSimulator=true /p:ArchiveOnBuild=false -p:ApplicationVersion=${{ needs.GetVersion.outputs.version }} -p:ApplicationDisplayVersion=${{ needs.GetVersion.outputs.version }} + dotnet publish -f net10.0-ios -c:Release -p:RuntimeIdentifier=iossimulator-arm64 -p:ApplicationVersion=${{ needs.GetVersion.outputs.version }} -p:ApplicationDisplayVersion=${{ needs.GetVersion.outputs.version }} - name: 📦 Upload iOS App for simulator uses: actions/upload-artifact@v6 From 0030f4107f8495461f6dd783d8d939328edd1ffb Mon Sep 17 00:00:00 2001 From: jbe2277 Date: Wed, 13 May 2026 22:30:49 +0200 Subject: [PATCH 03/21] Update iOS build step and artifact upload path Switched from dotnet publish to dotnet build for the iOS simulator target in the CI workflow. Updated the artifact upload path to include .app files from the bin/Release/net10.0-ios/iossimulator-arm64 directory. --- .github/workflows/NewsReader.CI.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/NewsReader.CI.yml b/.github/workflows/NewsReader.CI.yml index a72f097e..d7eea6e5 100644 --- a/.github/workflows/NewsReader.CI.yml +++ b/.github/workflows/NewsReader.CI.yml @@ -180,7 +180,7 @@ jobs: - name: 🛠️ Build run: | cd src/NewsReader/NewsReader.MauiSystem - dotnet publish -f net10.0-ios -c:Release -p:RuntimeIdentifier=iossimulator-arm64 -p:ApplicationVersion=${{ needs.GetVersion.outputs.version }} -p:ApplicationDisplayVersion=${{ needs.GetVersion.outputs.version }} + dotnet build -f net10.0-ios -c:Release -p:RuntimeIdentifier=iossimulator-arm64 -p:ApplicationVersion=${{ needs.GetVersion.outputs.version }} -p:ApplicationDisplayVersion=${{ needs.GetVersion.outputs.version }} - name: 📦 Upload iOS App for simulator uses: actions/upload-artifact@v6 @@ -188,7 +188,7 @@ jobs: name: NewsReaderiOSSimulator if-no-files-found: error path: | - ./**/publish/*.app + ./**/bin/Release/net10.0-ios/iossimulator-arm64/**/*.app Test: runs-on: windows-2025 From f07353d262fe1499b13a5aff70afa3df5d6e5ce5 Mon Sep 17 00:00:00 2001 From: jbe2277 Date: Wed, 13 May 2026 22:44:36 +0200 Subject: [PATCH 04/21] Remove MtouchLink workaround for Xamarin issue --- .../NewsReader.MauiSystem/NewsReader.MauiSystem.csproj | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/NewsReader/NewsReader.MauiSystem/NewsReader.MauiSystem.csproj b/src/NewsReader/NewsReader.MauiSystem/NewsReader.MauiSystem.csproj index 50d4faa8..4bb68bc0 100644 --- a/src/NewsReader/NewsReader.MauiSystem/NewsReader.MauiSystem.csproj +++ b/src/NewsReader/NewsReader.MauiSystem/NewsReader.MauiSystem.csproj @@ -21,9 +21,6 @@ true True - - - SdkOnly