#!/bin/sh export PATH=~/scripts/fakeswiftlint:$PATH carthage update $1 --platform iOS --no-use-binaries --no-build --use-submodules # https://github.com/Carthage/Carthage/issues/2056 & https://stackoverflow.com/questions/46160518/xcode-9-carthage-itunes-connect-error-invalid-bundle-disallowed-llvm-instr #find Carthage -type f -name "*.xcscheme" -print0 | xargs -0 perl -pi -e 's/codeCoverageEnabled = "YES"/codeCoverageEnabled = "NO"/g' carthage build $1 --platform iOS --no-use-binaries --cache-builds