From b663a09c87b66d4db5eb515a0fcd961d1c61a6d7 Mon Sep 17 00:00:00 2001 From: Michael Kirk Date: Mon, 25 Sep 2017 21:51:15 -0400 Subject: [PATCH] helpful tools for building ios11 // FREEBIE --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d23dfdd1e..4064ddf4f 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,7 @@ SHELL=/bin/bash -o pipefail -o errexit WORKING_DIR = ./ SCHEME = Signal +XCODE_BUILD = xcrun xcodebuild -workspace $(SCHEME).xcworkspace -scheme $(SCHEME) -sdk iphonesimulator .PHONY: build test retest clean dependencies @@ -32,6 +33,8 @@ test: clean: cd $(WORKING_DIR) && \ rm -fr Carthage/Build && \ - $(XCODE_BUILD) \ - clean | xcpretty + $(XCODE_BUILD) clean | xcpretty +# Migrating across swift versions requires me to run this sometimes +clean_carthage_cache: + rm -fr ~/Library/Caches/org.carthage.CarthageKit/