I was wondering how clang can target the iOS platform. My instinctive approach would have been to use -ccc-host-triple arm-apple-darwin10 , but I recently discovered that the arm-apple-ios triple is used by the apple "official" compiler. What is the recommended option?