From f35bef0d7bf97a6fb97897a754219a4e09d6d861 Mon Sep 17 00:00:00 2001 From: Federico Maccaroni Date: Mon, 29 Jan 2024 13:56:31 -0300 Subject: [PATCH] PM-3350 Go back to use Interpreter and added some Directory.Build.props to easily change Codesign properties and also include/exclude iOS extensions / WatchOS from the build. --- Directory.Build.props | 5 ++++ src/App/App.csproj | 28 +++++++++---------- src/iOS.Autofill/iOS.Autofill.csproj | 4 +-- src/iOS.Extension/iOS.Extension.csproj | 4 +-- .../iOS.ShareExtension.csproj | 4 +-- 5 files changed, 25 insertions(+), 20 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 1be40c600..c8466e8aa 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,6 +1,11 @@ 8.0.4-nightly.* + Automatic:AppStore + iPhone Distribution + False + False + diff --git a/src/App/App.csproj b/src/App/App.csproj index 8ce92674c..f71e873e7 100644 --- a/src/App/App.csproj +++ b/src/App/App.csproj @@ -63,12 +63,12 @@ false - Automatic:AppStore - iPhone Distribution + $(ReleaseCodesignProvision) + $(ReleaseCodesignKey) Platforms\iOS\Entitlements.plist + true + -gcc_flags "-L$(ProjectDir)../../lib/ios -largon2 -force_load $(ProjectDir)../../lib/ios/libargon2.a" - @@ -208,7 +208,7 @@ - + true false @@ -222,15 +222,15 @@ false - - $(Home)/Library/Developer/Xcode/DerivedData/bitwarden-acgkbpwvmebfiofokotvoerzkqcl/Build/Products - $([System.IO.Path]::GetFullPath('$(MSBuildProjectDirectory)\..'))/watchOS/bitwarden.xcarchive/Products/Applications/bitwarden.app/Watch - Bitwarden.app - watchsimulator - watchos - $(WatchAppBuildPath)/$(Configuration)-$(WatchAppConfiguration)/$(WatchAppBundle) - $(WatchAppBuildPath)/$(WatchAppBundle) - + + $(Home)/Library/Developer/Xcode/DerivedData/bitwarden-acgkbpwvmebfiofokotvoerzkqcl/Build/Products + $([System.IO.Path]::GetFullPath('$(MSBuildProjectDirectory)\..'))/watchOS/bitwarden.xcarchive/Products/Applications/bitwarden.app/Watch + Bitwarden.app + watchsimulator + watchos + $(WatchAppBuildPath)/$(Configuration)-$(WatchAppConfiguration)/$(WatchAppBundle) + $(WatchAppBuildPath)/$(WatchAppBundle) + <_ResolvedWatchAppReferences Include="$(WatchAppBundleFullPath)" /> diff --git a/src/iOS.Autofill/iOS.Autofill.csproj b/src/iOS.Autofill/iOS.Autofill.csproj index eba3f0276..9ff5c1faa 100644 --- a/src/iOS.Autofill/iOS.Autofill.csproj +++ b/src/iOS.Autofill/iOS.Autofill.csproj @@ -37,8 +37,8 @@ false - iPhone Distribution - Automatic:AppStore + $(ReleaseCodesignProvision) + $(ReleaseCodesignKey) Entitlements.plist