gpt4 book ai didi

objective-c - 何时以及如何在 xcode 4 中使用聚合目标

转载 作者:太空狗 更新时间:2023-10-30 03:24:06 25 4
gpt4 key购买 nike

我试图寻找在 Xcode4 中使用聚合目标的示例,包括其用途以及开发人员应使用它的原因。

您是否有任何引用链接,尤其是来自 Apple Developer 网站的链接?

最佳答案

Aggregate Target

Xcode defines a special type of target that lets you build a group oftargets at once, even if those targets do not depend on each other. Anaggregate target has no associated product and no build rules.Instead, an aggregate target depends on each of the targets you wantto build together. For example, you may have a group of products thatyou want to build together. You would create an aggregate target andmake it depend on each of the product targets. To build all theproducts, just build the aggregate target.

An aggregate target may contain a custom Run Script build phase or aCopy Files build phase, but it cannot contain any other build phases.Any build settings that the aggregate target contains are notinterpreted but are passed to the build phases that the targetcontains.

Source

关于objective-c - 何时以及如何在 xcode 4 中使用聚合目标,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6747499/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com