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