From 4ad8952e8e69deda3c6a41bdf11a97aa518dd174 Mon Sep 17 00:00:00 2001 From: Michael Law <1365977+lawmicha@users.noreply.github.com> Date: Thu, 15 Oct 2020 10:34:10 -0700 Subject: [PATCH] fix: carthage script defaults to build only --- build-support/carthage-build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-support/carthage-build.sh b/build-support/carthage-build.sh index d3bee805..bbe1c062 100755 --- a/build-support/carthage-build.sh +++ b/build-support/carthage-build.sh @@ -8,7 +8,7 @@ ################################################################################ # carthage-build.sh -# Usage example: ./carthage-build.sh --platform iOS +# Usage example: ./carthage-build.sh [build|archive] set -euo pipefail @@ -36,4 +36,4 @@ echo 'EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_simulator__NATIVE_ARCH_64_BIT_x8 echo 'EXCLUDED_ARCHS = $(inherited) $(EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_$(EFFECTIVE_PLATFORM_SUFFIX)__NATIVE_ARCH_64_BIT_$(NATIVE_ARCH_64_BIT)__XCODE_$(XCODE_VERSION_MAJOR))' >> $xcconfig export XCODE_XCCONFIG_FILE="$xcconfig" -carthage build "$@" +carthage "$@"