create xcode project and use getopt.h