BASH: Fix missing }
BASH: Fix xcode check, now with better output