Added setting xcode version

This commit is contained in:
Alexander Rutsman 2021-10-12 15:49:26 +03:00
parent befc933117
commit e975ff0ed0
1 changed files with 5 additions and 0 deletions

View File

@ -148,11 +148,16 @@ private_lane :buildArchive do |options|
lane_name = options[:lane_name]
configuration = options[:configuration]
xcodeproj_path = options[:xcodeproj_path]
xcode_version = options[:xcodeVersion]
if configuration != "AppStore" # AppStore uses xcconfig choosen in Xcode
set_xcconfig_for_configuration_of_project(lane_name, configuration, xcodeproj_path)
end
if !xcode_version.nil?
ensure_xcode_version(version: xcode_version)
end
gym(
clean: true,
workspace: options[:workspace],