fix xcode check