Skip to content

Instantly share code, notes, and snippets.

@guehara
Created August 24, 2012 03:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guehara/3445221 to your computer and use it in GitHub Desktop.
Save guehara/3445221 to your computer and use it in GitHub Desktop.
auto-complete-clang settings for iOS5.1 with ARC
(require 'auto-complete-clang)
(setq ac-clang-flags '("-Wall" "-Wextra" "-std=gnu99" "-fblocks" "-fobjc-arc" "-isysroot" "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk" "-I." "-include ../*.pch" "-include /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/usr/include" "-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/" "-D__IPHONE_OS_VERSION_MIN_REQUIRED=50100"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment