don't change xcconfig for AppStore configuration

This commit is contained in:
Ivan Smolin 2020-07-23 13:34:09 +03:00
parent ae4462f5b7
commit cc33a01bd0
1 changed files with 3 additions and 1 deletions

View File

@ -168,7 +168,9 @@ private_lane :buildArchive do |options|
configuration = options[:configuration]
xcodeproj_path = options[:xcodeproj_path]
set_xcconfig_for_configuration_of_project(xcconfig_name, configuration, xcodeproj_path)
if configuration != "AppStore" # AppStore uses xcconfig choosen in Xcode
set_xcconfig_for_configuration_of_project(xcconfig_name, configuration, xcodeproj_path)
end
gym(
clean: true,