Skip to content

Commit ee19b32

Browse files
ci (fastlane): set encryption for export compliance
1 parent 7bfe5a8 commit ee19b32

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

fastlane/Fastfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,13 @@ platform :ios do
218218
# Fix Tauri project.yml to prevent duplicate libapp.a error
219219
fix_tauri_project_yml
220220

221+
# Set encryption exemption for App Store compliance
222+
set_info_plist_value(
223+
path: IOS_INFO_PLIST,
224+
key: "ITSAppUsesNonExemptEncryption",
225+
value: false
226+
)
227+
221228
# Configure Xcode project signing before Tauri build
222229
update_code_signing_settings(
223230
use_automatic_signing: false,
@@ -284,6 +291,7 @@ platform :ios do
284291
)
285292

286293
# Update tauri.conf.json with version and unique build number BEFORE init
294+
# This ensures Tauri uses the correct version when generating the iOS project
287295
update_tauri_config_version
288296

289297
# Initialize iOS project if needed (creates Info.plist with correct version)
@@ -295,6 +303,13 @@ platform :ios do
295303
# Fix Tauri project.yml to prevent duplicate libapp.a error
296304
fix_tauri_project_yml
297305

306+
# Set encryption exemption for App Store compliance
307+
set_info_plist_value(
308+
path: IOS_INFO_PLIST,
309+
key: "ITSAppUsesNonExemptEncryption",
310+
value: false
311+
)
312+
298313
# Configure Xcode project signing before Tauri build
299314
update_code_signing_settings(
300315
use_automatic_signing: false,

0 commit comments

Comments
 (0)