From 56e20a4a9bd6d740619039673c7fcff9e406333c Mon Sep 17 00:00:00 2001 From: Gio Lodi Date: Mon, 20 Jan 2025 20:55:10 +1100 Subject: [PATCH] Revert "Avoid archive error when building without fetching code signing" This reverts commit d89e961bf37dd4e4e768b2708013693e1a78c5a1. --- fastlane/Fastfile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 5991e733b38..6b012d6d8db 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -689,14 +689,12 @@ platform :ios do lane :build_for_app_store_connect do |fetch_code_signing: true| appstore_code_signing if fetch_code_signing - export_method = 'app-store' gym( scheme: 'WooCommerce', workspace: WORKSPACE_PATH, clean: true, export_team_id: get_required_env('EXT_EXPORT_TEAM_ID'), - export_method: export_method, - export_options: { **COMMON_EXPORT_OPTIONS, method: export_method } + export_options: { **COMMON_EXPORT_OPTIONS, method: 'app-store' } ) end @@ -767,17 +765,16 @@ platform :ios do new_config = Xcodeproj::Config.new(versions) new_config.save_as(Pathname.new(PUBLIC_CONFIG_FILE)) - export_method = 'enterprise' gym( scheme: 'WooCommerce Alpha', workspace: WORKSPACE_PATH, + export_method: 'enterprise', clean: true, output_directory: 'build', export_team_id: get_required_env('INT_EXPORT_TEAM_ID'), - export_method: export_method, export_options: { **COMMON_EXPORT_OPTIONS, - method: export_method, + method: 'enterprise', iCloudContainerEnvironment: 'Production' } )