Skip to content

Commit c949638

Browse files
authored
Bail if no Xcode is found and print /Applications
1 parent f7ed7d6 commit c949638

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build_nudge.zsh

+3-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ echo "Building Nudge"
3131
if [ -e $XCODE_BUILD_PATH ]; then
3232
XCODE_BUILD="$XCODE_BUILD_PATH"
3333
else
34-
XCODE_BUILD="xcodebuild"
34+
ls -la /Applications
35+
echo "Could not find required Xcode build. Exiting..."
36+
exit 1
3537
fi
3638
$XCODE_BUILD -project "$TOOLSDIR/Nudge.xcodeproj" CODE_SIGN_IDENTITY=$CODE_SIGN_IDENTITY OTHER_CODE_SIGN_FLAGS="--timestamp"
3739
XCB_RESULT="$?"

0 commit comments

Comments
 (0)