From 0a1609dc0ec9156ac9893e2e506339fe1d988f35 Mon Sep 17 00:00:00 2001 From: farfromrefug Date: Wed, 9 Oct 2024 22:11:36 +0200 Subject: [PATCH] chore: fastlane --- fastlane/Fastfile | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 5b9e8991..55369e5c 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -333,12 +333,13 @@ platform :ios do fastlane_match(type: 'appstore', api_key: api_key) end prepare(platform:'ios') - # if (ENV["GITHUB_ACTIONS"] == 'true') + if (ENV["GITHUB_ACTIONS"] == 'true') # # automatic code signing - # update_code_signing_settings( - # use_automatic_signing: true, - # path: "./platforms/ios/#{$ios_scheme}.xcworkspace" - # ) + update_code_signing_settings( + use_automatic_signing: false, + path: "./platforms/ios/#{$ios_scheme}.xcworkspace" + ) + end # build_ios_app( # output_directory:"dist", # scheme: $ios_scheme, @@ -346,9 +347,12 @@ platform :ios do # ) # else build_ios_app( + export_xcargs: '-allowProvisioningUpdates', + xcargs: "-allowProvisioningUpdates", output_directory:"dist", scheme: $ios_scheme, workspace: "./platforms/ios/#{$ios_scheme}.xcworkspace", + export_method: "app-store", export_options: { provisioningProfiles: ENV['MATCH_PROVISIONING_PROFILE_MAPPING'] }