Skip to content

Commit

Permalink
Bail if no Xcode is found and print /Applications
Browse files Browse the repository at this point in the history
  • Loading branch information
erikng authored Sep 20, 2021
1 parent f7ed7d6 commit c949638
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build_nudge.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ echo "Building Nudge"
if [ -e $XCODE_BUILD_PATH ]; then
XCODE_BUILD="$XCODE_BUILD_PATH"
else
XCODE_BUILD="xcodebuild"
ls -la /Applications
echo "Could not find required Xcode build. Exiting..."
exit 1
fi
$XCODE_BUILD -project "$TOOLSDIR/Nudge.xcodeproj" CODE_SIGN_IDENTITY=$CODE_SIGN_IDENTITY OTHER_CODE_SIGN_FLAGS="--timestamp"
XCB_RESULT="$?"
Expand Down

0 comments on commit c949638

Please sign in to comment.