Use value of xcode-select path instead of just using the finder default
This commit is contained in:
parent
bd6dbd1d9b
commit
fbf601eb6d
@ -14,7 +14,8 @@ function xc {
|
||||
return 1
|
||||
else
|
||||
echo "Found ${xcode_proj[1]}"
|
||||
open "${xcode_proj[1]}"
|
||||
XCODEPATH=`xcode-select -p`
|
||||
open -a ${XCODEPATH%/*/*} "${xcode_proj[1]}"
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user