clang -framework Foundation <objc-file-name>.m
./a.outIt would be better to use with this function :)
function run_objc {
if [[ -n "$2" ]];then
secArg=$2
clang -framework Foundation $1 -o $2 && ./$secArg
else
secArg="a.out"
clang -framework Foundation $1 && ./$secArg
fi
return 0
}