Skip to content

Instantly share code, notes, and snippets.

@deltheil
Created June 20, 2012 16:19
Show Gist options
  • Save deltheil/2960752 to your computer and use it in GitHub Desktop.
Save deltheil/2960752 to your computer and use it in GitHub Desktop.
Xcode xcrun command-line tools examples
# Find the right Clang path for iOS cross-compilation
xcrun -sdk iphoneos -find clang
# Pick the right tool and run the command (here list #define-s)
xcrun -sdk iphoneos clang -E -dM - < /dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment