From 805064784776fca9ee6f36f75a5f70a30114aac6 Mon Sep 17 00:00:00 2001 From: Vladimir Makarov Date: Tue, 18 Oct 2022 19:50:58 +0500 Subject: [PATCH] `default_options` empty initializer added for correct method running --- xcode/commonFastfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xcode/commonFastfile b/xcode/commonFastfile index 40539c1..c196074 100644 --- a/xcode/commonFastfile +++ b/xcode/commonFastfile @@ -377,6 +377,10 @@ def fill_up_options_using_configuration_type(options, configuration_type) api_key_path = File.expand_path "../fastlane/#{configuration_type.prefix}_api_key.json" is_api_key_file_exists = File.exists?(api_key_path) + # default_options required to be empty due to the possibility of skipping the configuration type check below + + default_options = {} + # Check whether configuration type is required to configure one of api key parameters or not if configuration_type.is_app_store || configuration_type.is_development