Skip to content

Commit dfb2fa8

Browse files
better workaround
1 parent 5e9105d commit dfb2fa8

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

scripts/carthage-build-workaround.sh

100644100755
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
# Usage example: ./carthage-build.sh --platform iOS
33

44
set -euo pipefail
5-
cd ..
5+
6+
cd .. # apollo-ios
7+
cd .. # Checkouts
8+
cd .. # Carthage
9+
cd .. # your project
610

711
xcconfig=$(mktemp /tmp/static.xcconfig.XXXXXX)
812
trap 'rm -f "$xcconfig"' INT TERM HUP EXIT
@@ -25,4 +29,4 @@ echo 'EXCLUDED_ARCHS = $(inherited) $(EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_
2529

2630
export XCODE_XCCONFIG_FILE="$xcconfig"
2731
echo $XCODE_XCCONFIG_FILE
28-
carthage update "$@"
32+
carthage update

0 commit comments

Comments
 (0)