From 565279ef75ca2f8a16219873012cd1d95feaaceb Mon Sep 17 00:00:00 2001 From: Ivan Smolin Date: Wed, 31 Jan 2024 13:47:24 +0300 Subject: [PATCH] fix: You can't use 'build_number' and 'ipa' options in one run. --- xcode/commonFastfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xcode/commonFastfile b/xcode/commonFastfile index 8c9841c..9ebb1b3 100644 --- a/xcode/commonFastfile +++ b/xcode/commonFastfile @@ -54,7 +54,7 @@ def upload_to_app_store_using_options(options, submit_for_review = false) api_key_path: options[:api_key_path], api_key: options[:api_key], ipa: options[:ipa_path], - build_number: options[:buildNumber], + build_number: options[:ipa_path].nil? ? options[:buildNumber] : nil, skip_binary_upload: options[:ipa_path].nil?, skip_screenshots: true, force: true, # skip metainfo prompt