配置不同环境
在build setting 中搜索Macros
然后在Preprocessor Macros 添加预编译宏DevelopMent
0 生产环境 DevelopMent=0
1 开发环境 DevelopMent=1
2 企业环境 DevelopMent=2
配置不同环境
在build setting 中搜索Macros
然后在Preprocessor Macros 添加预编译宏DevelopMent
0 生产环境 DevelopMent=0
1 开发环境 DevelopMent=1
2 企业环境 DevelopMent=2