Skip to content

Commit

Permalink
Revert "Avoid archive error when building without fetching code signing"
Browse files Browse the repository at this point in the history
This reverts commit d89e961.
  • Loading branch information
mokagio committed Jan 20, 2025
1 parent f93ba9e commit 56e20a4
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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'
}
)
Expand Down

0 comments on commit 56e20a4

Please sign in to comment.