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..."
精彩评论