开发者

XCode 4 - how to build a "lite" version

开发者 https://www.devze.com 2023-02-23 00:21 出处:网络
In xcode3 this was easily a开发者_运维技巧ccomplished by creating a new target and then setting compiler flags to #ifdef 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

精彩评论

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