diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5dbe1d0c8..093b3fe07 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -492,7 +492,7 @@ jobs: ios: name: Apple iOS - runs-on: macos-13 + runs-on: macos-13-arm64 needs: setup env: ios_folder_path: src/App/Platforms/iOS @@ -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:EnableAssemblyILStripping=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:EnableAssemblyILStripping=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/src/App/App.csproj b/src/App/App.csproj index dae8ee799..3e641ea4e 100644 --- a/src/App/App.csproj +++ b/src/App/App.csproj @@ -67,7 +67,7 @@ Platforms\iOS\Entitlements.plist all None - --linkskip=LiteDB --linkskip=CsvHelper -gcc_flags "-L$(ProjectDir)../../lib/ios -largon2 -force_load $(ProjectDir)../../lib/ios/libargon2.a" + --weak-framework=NewsstandKit.framework/NewsstandKit --linkskip=LiteDB --linkskip=CsvHelper -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 d235b5418..949f568fc 100644 --- a/src/iOS.Autofill/iOS.Autofill.csproj +++ b/src/iOS.Autofill/iOS.Autofill.csproj @@ -36,7 +36,7 @@ false - --linkskip=LiteDB -gcc_flags "-L$(ProjectDir)../../lib/ios -largon2 -force_load $(ProjectDir)../../lib/ios/libargon2.a" + --weak-framework=NewsstandKit.framework/NewsstandKit --linkskip=LiteDB -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 a027cc52c..382909983 100644 --- a/src/iOS.Extension/iOS.Extension.csproj +++ b/src/iOS.Extension/iOS.Extension.csproj @@ -33,7 +33,7 @@ false - --linkskip=LiteDB -gcc_flags "-L$(ProjectDir)../../lib/ios -largon2 -force_load $(ProjectDir)../../lib/ios/libargon2.a" + --weak-framework=NewsstandKit.framework/NewsstandKit --linkskip=LiteDB -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 0d9963351..92ef1ef47 100644 --- a/src/iOS.ShareExtension/iOS.ShareExtension.csproj +++ b/src/iOS.ShareExtension/iOS.ShareExtension.csproj @@ -35,7 +35,7 @@ false - --linkskip=LiteDB -gcc_flags "-L$(ProjectDir)../../lib/ios -largon2 -force_load $(ProjectDir)../../lib/ios/libargon2.a" + --weak-framework=NewsstandKit.framework/NewsstandKit --linkskip=LiteDB -gcc_flags "-L$(ProjectDir)../../lib/ios -largon2 -force_load $(ProjectDir)../../lib/ios/libargon2.a" iPhone Distribution Automatic:AppStore Entitlements.plist