阅读背景:

在没有预处理器宏的情况下,是否有一种方法可以在Xcode项目的项目级别上定义特定于方案的实际标志

来源:互联网 

Before swift I would define a set of schemes for alpha, beta, and distribution builds. Each of these schemes would have a set of macros that were defined to gate certain behaviors at the project level. The simplest example is the DEBUG=1 macro that is defined by default for all Xcode projects in the default scheme for the Run build. One could query #ifdef DEBUG ... and make decisions in the code accordingly, even compiling out non-necessary code.Before swift I would define a set of schemes fo




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: