Xcode custom compiler which wraps and does a passthru to clang
I'm trying to implement a certain pre-compilation effect on objective-C code ( explained here ). I've managed to get a custom compiler in place in Xcode 5 following these helpful instructions . However my passthru attempt to clang results in an error: My custom compiler's executable: #!/bin/bash clang "$@" Error message: While building module 'UIKit' imported from /Users/Club15CC/Google Drive/Code/Frogger/Frogger/Frogger-Prefix.pch:14: ... In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk/System/Library