Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Commit

Permalink
[Build] Switch from xctool to xcodebuild to work around Travis image …
Browse files Browse the repository at this point in the history
…bugs

The output is far less readable, but it seems much more reliable.  See:
travis-ci/travis-ci#3986
  • Loading branch information
appleguy committed Apr 22, 2016
1 parent fe30e3f commit af0c2f5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ MODE="$1"
if [ "$MODE" = "tests" ]; then
echo "Building & testing AsyncDisplayKit."
pod install
xctool \
xcodebuild \
-workspace AsyncDisplayKit.xcworkspace \
-scheme AsyncDisplayKit \
-sdk "$SDK" \
Expand All @@ -40,7 +40,7 @@ if [ "$MODE" = "examples" ]; then
echo "Using CocoaPods"
pod install --project-directory=$example

xctool \
xcodebuild \
-workspace "${example}Sample.xcworkspace" \
-scheme Sample \
-sdk "$SDK" \
Expand All @@ -55,7 +55,7 @@ if [ "$MODE" = "examples" ]; then
echo "git \"file://${local_repo}\" \"${current_branch}\"" > "Cartfile"
carthage update --platform iOS

xctool \
xcodebuild \
-project "Sample.xcodeproj" \
-scheme Sample \
-sdk "$SDK" \
Expand All @@ -72,7 +72,7 @@ fi
if [ "$MODE" = "life-without-cocoapods" ]; then
echo "Verifying that AsyncDisplayKit functions as a static library."

xctool \
xcodebuild \
-workspace "smoke-tests/Life Without CocoaPods/Life Without CocoaPods.xcworkspace" \
-scheme "Life Without CocoaPods" \
-sdk "$SDK" \
Expand All @@ -85,7 +85,7 @@ fi
if [ "$MODE" = "framework" ]; then
echo "Verifying that AsyncDisplayKit functions as a dynamic framework (for Swift/Carthage users)."

xctool \
xcodebuild \
-project "smoke-tests/Framework/Sample.xcodeproj" \
-scheme Sample \
-sdk "$SDK" \
Expand Down

0 comments on commit af0c2f5

Please sign in to comment.