Skip to content

Commit f5d6182

Browse files
authored
fix(cli): iOS app signature not retaining entitlements, closes #11089 (#11184)
* fix(cli): iOS app signature not retaining entitlements, closes #11089 The IPA does not retain the entitlements as a regression from #10854 which removed the signing step from the build() and archive(), deferring to the export() call To retain the entitlements we need to force sign one of the files in the app bundle. The most reliable way to do this is to use a self signed certificate as a dummy signature - it is replaced by the export() call so we do not rely on any user provided certificate Additionally the export options are incorrectly configuring a manual signing, preventing Xcode from properly managing provisioning profiles, which is also part of the fix * fix header
1 parent 60a5aea commit f5d6182

File tree

10 files changed

+1880
-130
lines changed

10 files changed

+1880
-130
lines changed

.changes/fix-ios-app-export.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"tauri-cli": patch:bug
3+
"@tauri-apps/cli": patch:bug
4+
---
5+
6+
Fix iOS application not including the provided capabilities (entitlements).

.changes/self-signed-cert.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"tauri-macos-sign": patch:enhance
3+
---
4+
5+
Added `Keychain::with_certificate_file` and `certificate::generate_self_signed`.

0 commit comments

Comments
 (0)