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.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…