Add preprocessor macro to a target in xcode 6
Solution 1:
I've done a screenshot to show where it is in Xcode, because it's easier :)
- Select project file
- Select the target you want
- Go to Build Settings
- Search for 'preprocessor'
- Add your preprocessor macro either for Debug, Release, or both.
Solution 2:
In Xcode 9 you have to add a preprocessor macros to Project, not Target. Also don't forget to add "D" as the firs letter. For example, "DDebug", then it works.