开发者

XCode 4 - how to build a "lite" version

In xcode3 this was easily a开发者_运维技巧ccomplished by creating a new target and then setting compiler flags to #ifdef LITE_VERSION.

But how do you do this in XCode 4? The compiler flags have moved to the project so if I set -DLITE_VERSION it will affect both my targets...

Have you found a way around this yet?


Create a new scheme, you can find it in the menu "Product" => "New scheme..."

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜