diff --git a/.github/workflows/build-desktop.yml b/.github/workflows/build-desktop.yml
index 15ef794610..d21f4ac65b 100644
--- a/.github/workflows/build-desktop.yml
+++ b/.github/workflows/build-desktop.yml
@@ -1177,21 +1177,6 @@ jobs:
--file $HOME/secrets/bitwarden_desktop_appstore.provisionprofile \
--output none
- az storage blob download --account-name $ACCOUNT_NAME --container-name $CONTAINER_NAME \
- --name bitwarden_desktop_autofill_app_store_2024.provisionprofile \
- --file $HOME/secrets/bitwarden_desktop_autofill_app_store_2024.provisionprofile \
- --output none
-
- - name: Set up provisioning profiles
- run: |
- AUTOFILL_PROFILE_PATH=$HOME/secrets/bitwarden_desktop_autofill_app_store_2024.provisionprofile
- PROFILES_DIR_PATH=$HOME/Library/MobileDevice/Provisioning\ Profiles
-
- mkdir -p "$PROFILES_DIR_PATH"
-
- AUTOFILL_UUID=$(grep UUID -A1 -a $AUTOFILL_PROFILE_PATH | grep -io "[-A-F0-9]\{36\}")
- cp $AUTOFILL_PROFILE_PATH "$PROFILES_DIR_PATH/$AUTOFILL_UUID.provisionprofile"
-
- name: Get certificates
run: |
mkdir -p $HOME/certificates
@@ -1243,6 +1228,11 @@ jobs:
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k $KEYCHAIN_PASSWORD build.keychain
+ - name: Set up provisioning profiles
+ run: |
+ cp $HOME/secrets/bitwarden_desktop_appstore.provisionprofile \
+ $GITHUB_WORKSPACE/apps/desktop/bitwarden_desktop_appstore.provisionprofile
+
- name: Increment version
shell: pwsh
env:
diff --git a/apps/desktop/resources/entitlements.mac.plist b/apps/desktop/resources/entitlements.mac.plist
index 915232b83f..34c561bd03 100644
--- a/apps/desktop/resources/entitlements.mac.plist
+++ b/apps/desktop/resources/entitlements.mac.plist
@@ -8,7 +8,9 @@
com.apple.security.cs.disable-library-validation
+
diff --git a/apps/desktop/resources/entitlements.mas.inherit.plist b/apps/desktop/resources/entitlements.mas.inherit.plist
index 3634c84f81..7e1674a8f1 100644
--- a/apps/desktop/resources/entitlements.mas.inherit.plist
+++ b/apps/desktop/resources/entitlements.mas.inherit.plist
@@ -10,7 +10,9 @@
com.apple.security.cs.disable-library-validation
+
diff --git a/apps/desktop/resources/entitlements.mas.plist b/apps/desktop/resources/entitlements.mas.plist
index 9ab2d3824a..07cbd0efba 100644
--- a/apps/desktop/resources/entitlements.mas.plist
+++ b/apps/desktop/resources/entitlements.mas.plist
@@ -16,8 +16,10 @@
com.apple.security.files.user-selected.read-write
+
com.apple.security.temporary-exception.files.home-relative-path.read-write
/Library/Application Support/Mozilla/NativeMessagingHosts/