开发者

Effect of mutually dependent targets in Xcode 4?

In my project, I have my main target (The one with all my product code). Halfway through the project I created another target to hold unit tests.

I have made my main target dependent on the unit tests target, so that whenever I build my project, I run the unit tests automatically.

Should my unit tests target also be dependent on my main target? (Currently I have set it as dependent).

What is the effect of each target 开发者_如何学Cbeing dependent on each other?


Should my unit tests target also be dependent on my main target?

no. that's a circular dependency.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜