spotify / XCRemoteCache

Other
835 stars 52 forks source link

Adding quotes to the config param in the Mark script #110

Closed samuelsainz closed 2 years ago

samuelsainz commented 2 years ago

Description

Build configs could contain a space in their names—e.g. "Debug Enterprise".

The Mark script added to the final target invokes the xcprepare mark command with the configuration param without quotes, making the script fail when the config name contains a space in its name.

The right way to invoke the command is:

xcprepare mark --configuration "$CONFIGURATION" --platform $PLATFORM_NAME

Note: We have to escape the quotes inside the Build Phase script.