added check for Xcode