shell script check from xcode