Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,15 @@ fi
if [ -z "$xcode_version" ]; then
xcode_path="$(dirname "$(dirname "$(xcode-select -p)")")"
else
xcode_path="/Applications/Xcode${xcode_version/./}.app"
xcode_path="/Applications/Xcode_${xcode_version}.app"

if [ ! -d "$xcode_path" ]; then
xcode_path="/Applications/Xcode${xcode_version/./}.app"
fi
fi

if [ ! -d "$xcode_path" ]; then
echo "WARNING - Xcode not found at $xcode_path"
fi

# First we need to revive env variables since they were erased by launchctl
Expand Down