From 454ae16cbe130e244527c2f8046d87be0768966f Mon Sep 17 00:00:00 2001 From: Ivan Smolin Date: Wed, 13 Jan 2021 18:21:54 +0300 Subject: [PATCH] remove GOOGLE_SERVICE_INFO_PLIST_PATH generation from xcconfig files --- xcode/config_generator/render_xcconfigs.rb | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/xcode/config_generator/render_xcconfigs.rb b/xcode/config_generator/render_xcconfigs.rb index e08f18a..69aee0b 100755 --- a/xcode/config_generator/render_xcconfigs.rb +++ b/xcode/config_generator/render_xcconfigs.rb @@ -75,27 +75,11 @@ def generate_provisioning_profile(provisioning_key, bundle_id, distribution_type end end -def generate_google_service_info_plist_path(google_service_info_plist_key, target_name, distribution_type) - google_service_info_plist_path = target_name + "/Resources/" - - path_suffix = case distribution_type - when "development" - "Standard-GoogleService-Info.plist" - when "enterprise" - "Enterprise-GoogleService-Info.plist" - else - "AppStore-GoogleService-Info.plist" - end - - return config_option(google_service_info_plist_key, google_service_info_plist_path + path_suffix) -end - # Generate missing properties if needed def generate_missing_properties(target_name, properties, distribution_type) result = [] development_team_key = "DEVELOPMENT_TEAM" provisioning_key = "PROVISIONING_PROFILE_SPECIFIER" - google_service_info_plist_key = "GOOGLE_SERVICE_INFO_PLIST_PATH" bundle_id_key = "PRODUCT_BUNDLE_IDENTIFIER" # Bundle_id_key should be among the properties (required by fastlane) @@ -111,10 +95,6 @@ def generate_missing_properties(target_name, properties, distribution_type) result.append(generate_provisioning_profile(provisioning_key, properties[bundle_id_key], distribution_type)) end - unless properties.key?(google_service_info_plist_key) - result.append(generate_google_service_info_plist_path(google_service_info_plist_key, target_name, distribution_type)) - end - return result end