Created
December 20, 2017 17:21
-
-
Save raid5/ae5c6787926e7cdd4412ad6bb4456a79 to your computer and use it in GitHub Desktop.
Revisions
-
raid5 created this gist
Dec 20, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ #!/bin/bash # Save current directory to var DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # Fetch dependencies but do not build carthage update --no-build # Remove AWSAuthSDK project as this is not needed rm -r Carthage/Checkouts/aws-sdk-ios/AWSAuthSDK/ # Strip out schemes that are not needed. We only need AWSCore and AWSPinpoint. cd Carthage/Checkouts/aws-sdk-ios/AWSiOSSDKv2.xcodeproj/xcshareddata/xcschemes && find . ! -name "AWSCore.xcscheme" ! -name "AWSPinpoint.xcscheme" -delete # Return to original directory cd $DIR # Build dependencies for iOS carthage build --platform iOS