Skip to content

Instantly share code, notes, and snippets.

@xfreebird
Created February 26, 2015 15:58
Show Gist options
  • Save xfreebird/2ec6e6ba94a6f906559b to your computer and use it in GitHub Desktop.
Save xfreebird/2ec6e6ba94a6f906559b to your computer and use it in GitHub Desktop.
oclint-xcodebuild compile_commands.json
[
{
"directory": "/Users/nghimbovschi/Projects/Project Name With Spaces",
"command": "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-cache-path=/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk -fexceptions -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch -mios-simulator-version-min=8.1 -iquote \"/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Intermediates/Project Name With Spaces.build/Debug-iphonesimulator/Project Name With Spaces.build/Project Name With Spaces-generated-files.hmap\" \"-I/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Intermediates/Project Name With Spaces.build/Debug-iphonesimulator/Project Name With Spaces.build/Project Name With Spaces-own-target-headers.hmap\" \"-I/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Intermediates/Project Name With Spaces.build/Debug-iphonesimulator/Project Name With Spaces.build/Project Name With Spaces-all-target-headers.hmap\" -iquote \"/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Intermediates/Project Name With Spaces.build/Debug-iphonesimulator/Project Name With Spaces.build/Project Name With Spaces-project-headers.hmap\" -I/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Products/Debug-iphonesimulator/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include \"-I/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Intermediates/Project Name With Spaces.build/Debug-iphonesimulator/Project Name With Spaces.build/DerivedSources/i386\" \"-I/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Intermediates/Project Name With Spaces.build/Debug-iphonesimulator/Project Name With Spaces.build/DerivedSources\" -F/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Products/Debug-iphonesimulator -MMD -MT dependencies -MF \"/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Intermediates/Project Name With Spaces.build/Debug-iphonesimulator/Project Name With Spaces.build/Objects-normal/i386/AppDelegate.d\" --serialize-diagnostics \"/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Intermediates/Project Name With Spaces.build/Debug-iphonesimulator/Project Name With Spaces.build/Objects-normal/i386/AppDelegate.dia\" -c \"/Users/nghimbovschi/Projects/Project Name With Spaces/Project Name With Spaces/AppDelegate.m\" -o \"/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Intermediates/Project Name With Spaces.build/Debug-iphonesimulator/Project Name With Spaces.build/Objects-normal/i386/AppDelegate.o\"",
"file": "/Users/nghimbovschi/Projects/Project Name With Spaces/Project Name With Spaces/AppDelegate.m"
},
{
"directory": "/Users/nghimbovschi/Projects/Project Name With Spaces",
"command": "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-cache-path=/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk -fexceptions -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch -mios-simulator-version-min=8.1 -iquote \"/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Intermediates/Project Name With Spaces.build/Debug-iphonesimulator/Project Name With Spaces.build/Project Name With Spaces-generated-files.hmap\" \"-I/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Intermediates/Project Name With Spaces.build/Debug-iphonesimulator/Project Name With Spaces.build/Project Name With Spaces-own-target-headers.hmap\" \"-I/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Intermediates/Project Name With Spaces.build/Debug-iphonesimulator/Project Name With Spaces.build/Project Name With Spaces-all-target-headers.hmap\" -iquote \"/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Intermediates/Project Name With Spaces.build/Debug-iphonesimulator/Project Name With Spaces.build/Project Name With Spaces-project-headers.hmap\" -I/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Products/Debug-iphonesimulator/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include \"-I/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Intermediates/Project Name With Spaces.build/Debug-iphonesimulator/Project Name With Spaces.build/DerivedSources/i386\" \"-I/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Intermediates/Project Name With Spaces.build/Debug-iphonesimulator/Project Name With Spaces.build/DerivedSources\" -F/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Products/Debug-iphonesimulator -MMD -MT dependencies -MF \"/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Intermediates/Project Name With Spaces.build/Debug-iphonesimulator/Project Name With Spaces.build/Objects-normal/i386/ViewController.d\" --serialize-diagnostics \"/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Intermediates/Project Name With Spaces.build/Debug-iphonesimulator/Project Name With Spaces.build/Objects-normal/i386/ViewController.dia\" -c \"/Users/nghimbovschi/Projects/Project Name With Spaces/Project Name With Spaces/ViewController.m\" -o \"/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Intermediates/Project Name With Spaces.build/Debug-iphonesimulator/Project Name With Spaces.build/Objects-normal/i386/ViewController.o\"",
"file": "/Users/nghimbovschi/Projects/Project Name With Spaces/Project Name With Spaces/ViewController.m"
},
{
"directory": "/Users/nghimbovschi/Projects/Project Name With Spaces",
"command": "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-cache-path=/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk -fexceptions -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch -mios-simulator-version-min=8.1 -iquote \"/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Intermediates/Project Name With Spaces.build/Debug-iphonesimulator/Project Name With Spaces.build/Project Name With Spaces-generated-files.hmap\" \"-I/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Intermediates/Project Name With Spaces.build/Debug-iphonesimulator/Project Name With Spaces.build/Project Name With Spaces-own-target-headers.hmap\" \"-I/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Intermediates/Project Name With Spaces.build/Debug-iphonesimulator/Project Name With Spaces.build/Project Name With Spaces-all-target-headers.hmap\" -iquote \"/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Intermediates/Project Name With Spaces.build/Debug-iphonesimulator/Project Name With Spaces.build/Project Name With Spaces-project-headers.hmap\" -I/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Products/Debug-iphonesimulator/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include \"-I/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Intermediates/Project Name With Spaces.build/Debug-iphonesimulator/Project Name With Spaces.build/DerivedSources/i386\" \"-I/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Intermediates/Project Name With Spaces.build/Debug-iphonesimulator/Project Name With Spaces.build/DerivedSources\" -F/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Products/Debug-iphonesimulator -MMD -MT dependencies -MF \"/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Intermediates/Project Name With Spaces.build/Debug-iphonesimulator/Project Name With Spaces.build/Objects-normal/i386/main.d\" --serialize-diagnostics \"/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Intermediates/Project Name With Spaces.build/Debug-iphonesimulator/Project Name With Spaces.build/Objects-normal/i386/main.dia\" -c \"/Users/nghimbovschi/Projects/Project Name With Spaces/Project Name With Spaces/main.m\" -o \"/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Intermediates/Project Name With Spaces.build/Debug-iphonesimulator/Project Name With Spaces.build/Objects-normal/i386/main.o\"",
"file": "/Users/nghimbovschi/Projects/Project Name With Spaces/Project Name With Spaces/main.m"
},
{
"directory": "/Users/nghimbovschi/Projects/Project Name With Spaces",
"command": "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-cache-path=/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -DDEBUG=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk -fexceptions -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch -mios-simulator-version-min=8.1 -iquote \"/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Intermediates/Project Name With Spaces.build/Debug-iphonesimulator/Project Name With SpacesTests.build/Project Name With SpacesTests-generated-files.hmap\" \"-I/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Intermediates/Project Name With Spaces.build/Debug-iphonesimulator/Project Name With SpacesTests.build/Project Name With SpacesTests-own-target-headers.hmap\" \"-I/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Intermediates/Project Name With Spaces.build/Debug-iphonesimulator/Project Name With SpacesTests.build/Project Name With SpacesTests-all-target-headers.hmap\" -iquote \"/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Intermediates/Project Name With Spaces.build/Debug-iphonesimulator/Project Name With SpacesTests.build/Project Name With SpacesTests-project-headers.hmap\" -I/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Products/Debug-iphonesimulator/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include \"-I/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Intermediates/Project Name With Spaces.build/Debug-iphonesimulator/Project Name With SpacesTests.build/DerivedSources/i386\" \"-I/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Intermediates/Project Name With Spaces.build/Debug-iphonesimulator/Project Name With SpacesTests.build/DerivedSources\" -F/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Products/Debug-iphonesimulator -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/Developer/Library/Frameworks -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/Developer/Library/Frameworks -MMD -MT dependencies -MF \"/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Intermediates/Project Name With Spaces.build/Debug-iphonesimulator/Project Name With SpacesTests.build/Objects-normal/i386/Project_Name_With_SpacesTests.d\" --serialize-diagnostics \"/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Intermediates/Project Name With Spaces.build/Debug-iphonesimulator/Project Name With SpacesTests.build/Objects-normal/i386/Project_Name_With_SpacesTests.dia\" -c \"/Users/nghimbovschi/Projects/Project Name With Spaces/Project Name With SpacesTests/Project_Name_With_SpacesTests.m\" -o \"/Users/nghimbovschi/Library/Developer/Xcode/DerivedData/Project_Name_With_Spaces-gebwpjevrlknujbifjprpdckozgy/Build/Intermediates/Project Name With Spaces.build/Debug-iphonesimulator/Project Name With SpacesTests.build/Objects-normal/i386/Project_Name_With_SpacesTests.o\"",
"file": "/Users/nghimbovschi/Projects/Project Name With Spaces/Project Name With SpacesTests/Project_Name_With_SpacesTests.m"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment