开发者

Why does Xcode 4 compile test target when I build non-test target

Xcode 4 project contains two targets: "normal" application target and "test" target. When I select "normal" target scheme and do build, I get compile errors and warnings from both targets.

"Normal" application target dependency is empty, test target is depending on normal app.

What do I need to do to build only normal application, when I have selected normal app scheme? Theory, politics and best practices be what they are - I want to control what I bui开发者_运维百科ld!


Choose Product > Build For > Build For Running to build the application target only.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜