From def131f2a0f01084082b5832df160bbda336fd78 Mon Sep 17 00:00:00 2001 From: Samuel Sainz Date: Fri, 25 Mar 2022 17:40:17 -0300 Subject: [PATCH] Fix config param in Mark script considering build configs with a space in the name --- cocoapods-plugin/lib/cocoapods-xcremotecache/command/hooks.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocoapods-plugin/lib/cocoapods-xcremotecache/command/hooks.rb b/cocoapods-plugin/lib/cocoapods-xcremotecache/command/hooks.rb index ebabe43..e4ce6a1 100644 --- a/cocoapods-plugin/lib/cocoapods-xcremotecache/command/hooks.rb +++ b/cocoapods-plugin/lib/cocoapods-xcremotecache/command/hooks.rb @@ -180,7 +180,7 @@ module CocoapodsXCRemoteCacheModifier end end mark_script = existing_mark_script || target.new_shell_script_build_phase("[XCRC] Mark") - mark_script.shell_script = "\"$SCRIPT_INPUT_FILE_0\" mark --configuration $CONFIGURATION --platform $PLATFORM_NAME" + mark_script.shell_script = "\"$SCRIPT_INPUT_FILE_0\" mark --configuration \"$CONFIGURATION\" --platform $PLATFORM_NAME" mark_script.input_paths = ["$SRCROOT/#{srcroot_relative_xc_location}/xcprepare"] else # Delete existing mark build phase (to support switching between modes or changing the final target)