Merge pull request #217 from TouchInstinct/feature/try_to_fix_appstore_build

don't change xcconfig for AppStore configuration
This commit is contained in:
Ivan Smolin 2020-07-23 13:57:10 +03:00 committed by GitHub
commit 2647d6e41b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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,