From c5d941e1dffc96ab5c8e196b0af1df65ede4edd7 Mon Sep 17 00:00:00 2001 From: Federico Maccaroni Date: Fri, 24 Nov 2023 15:13:45 -0300 Subject: [PATCH] PM-3350 added linkskip for iOS csprojs --- .github/workflows/build.yml | 4 ++-- Document.Build.props | 5 ----- src/App/App.csproj | 2 +- src/iOS.Autofill/iOS.Autofill.csproj | 2 +- src/iOS.Extension/iOS.Extension.csproj | 2 +- src/iOS.ShareExtension/iOS.ShareExtension.csproj | 2 +- 6 files changed, 6 insertions(+), 11 deletions(-) delete mode 100644 Document.Build.props diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7279cae27..45eb5c204 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -674,7 +674,7 @@ jobs: Write-Output "##### Archive for Release ios-arm64 Write-Output "########################################" - dotnet publish ${{ env.main_app_project_path }} -c Release -f ${{ env.target-net-version }}-ios /p:RuntimeIdentifier=ios-arm64 /p:ArchiveOnBuild=true /p:PublishTrimmed=False + dotnet publish ${{ env.main_app_project_path }} -c Release -f ${{ env.target-net-version }}-ios /p:RuntimeIdentifier=ios-arm64 /p:ArchiveOnBuild=true Write-Output "########################################" Write-Output "##### Done" @@ -687,7 +687,7 @@ jobs: Write-Output "##### Archive Releae for iossimulator-arm64 Write-Output "########################################" - dotnet publish ${{ env.main_app_project_path }} -c Release -f ${{ env.target-net-version }}-ios /p:RuntimeIdentifier=iossimulator-arm64 /p:ArchiveOnBuild=true /p:PublishTrimmed=False + dotnet publish ${{ env.main_app_project_path }} -c Release -f ${{ env.target-net-version }}-ios /p:RuntimeIdentifier=iossimulator-arm64 /p:ArchiveOnBuild=true Write-Output "########################################" Write-Output "##### Done" diff --git a/Document.Build.props b/Document.Build.props deleted file mode 100644 index 68c33ec2c..000000000 --- a/Document.Build.props +++ /dev/null @@ -1,5 +0,0 @@ - - - false - - \ No newline at end of file diff --git a/src/App/App.csproj b/src/App/App.csproj index 3e641ea4e..4ef6d0834 100644 --- a/src/App/App.csproj +++ b/src/App/App.csproj @@ -67,7 +67,7 @@ Platforms\iOS\Entitlements.plist all None - --weak-framework=NewsstandKit.framework/NewsstandKit --linkskip=LiteDB --linkskip=CsvHelper -gcc_flags "-L$(ProjectDir)../../lib/ios -largon2 -force_load $(ProjectDir)../../lib/ios/libargon2.a" + --linkskip=LiteDB --linkskip=CsvHelper --linkskip=Core --linkskip=iOS.Core --linkskip=iOS.Autofill --linkskip=iOS.Extension --linkskip=iOS.ShareExtension --linkskip=App -gcc_flags "-L$(ProjectDir)../../lib/ios -largon2 -force_load $(ProjectDir)../../lib/ios/libargon2.a" diff --git a/src/iOS.Autofill/iOS.Autofill.csproj b/src/iOS.Autofill/iOS.Autofill.csproj index 949f568fc..5adbf0d98 100644 --- a/src/iOS.Autofill/iOS.Autofill.csproj +++ b/src/iOS.Autofill/iOS.Autofill.csproj @@ -36,7 +36,7 @@ false - --weak-framework=NewsstandKit.framework/NewsstandKit --linkskip=LiteDB -gcc_flags "-L$(ProjectDir)../../lib/ios -largon2 -force_load $(ProjectDir)../../lib/ios/libargon2.a" + --linkskip=LiteDB --linkskip=CsvHelper --linkskip=Core --linkskip=iOS.Core --linkskip=iOS.Autofill --linkskip=iOS.Extension --linkskip=iOS.ShareExtension --linkskip=App -gcc_flags "-L$(ProjectDir)../../lib/ios -largon2 -force_load $(ProjectDir)../../lib/ios/libargon2.a" iPhone Distribution Automatic:AppStore Entitlements.plist diff --git a/src/iOS.Extension/iOS.Extension.csproj b/src/iOS.Extension/iOS.Extension.csproj index 382909983..dcd703b9e 100644 --- a/src/iOS.Extension/iOS.Extension.csproj +++ b/src/iOS.Extension/iOS.Extension.csproj @@ -33,7 +33,7 @@ false - --weak-framework=NewsstandKit.framework/NewsstandKit --linkskip=LiteDB -gcc_flags "-L$(ProjectDir)../../lib/ios -largon2 -force_load $(ProjectDir)../../lib/ios/libargon2.a" + --linkskip=LiteDB --linkskip=CsvHelper --linkskip=Core --linkskip=iOS.Core --linkskip=iOS.Autofill --linkskip=iOS.Extension --linkskip=iOS.ShareExtension --linkskip=App -gcc_flags "-L$(ProjectDir)../../lib/ios -largon2 -force_load $(ProjectDir)../../lib/ios/libargon2.a" iPhone Distribution Automatic:AppStore Entitlements.plist diff --git a/src/iOS.ShareExtension/iOS.ShareExtension.csproj b/src/iOS.ShareExtension/iOS.ShareExtension.csproj index 92ef1ef47..34cf7d446 100644 --- a/src/iOS.ShareExtension/iOS.ShareExtension.csproj +++ b/src/iOS.ShareExtension/iOS.ShareExtension.csproj @@ -35,7 +35,7 @@ false - --weak-framework=NewsstandKit.framework/NewsstandKit --linkskip=LiteDB -gcc_flags "-L$(ProjectDir)../../lib/ios -largon2 -force_load $(ProjectDir)../../lib/ios/libargon2.a" + --linkskip=LiteDB --linkskip=CsvHelper --linkskip=Core --linkskip=iOS.Core --linkskip=iOS.Autofill --linkskip=iOS.Extension --linkskip=iOS.ShareExtension --linkskip=App -gcc_flags "-L$(ProjectDir)../../lib/ios -largon2 -force_load $(ProjectDir)../../lib/ios/libargon2.a" iPhone Distribution Automatic:AppStore Entitlements.plist