xcode添加宏 右侧项目目录结构:targets-->小绿点双击(Target"XXX"Info)-->build-->GCC 4.2 - Preprocessing-->Preprocessor Macros 下面添加宏