开发者

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

开发者 https://www.devze.com 2023-03-09 16:25 出处:网络
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

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

精彩评论

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