When and how to use Aggregate Target in xcode 4

Viewed 10255

I was trying to look for an example of using an Aggregate Target in Xcode4, including its purpose and why a developer should use it.

Do you have any reference link, especially from Apple Developer web site?

3 Answers

An aggregate target does not directly generate a build product. This target does not have Build Rules, but it has Build Phase with Dependencies, Copy Files Phase and Run Script Phase. It can help you to manage other targets to build a product. This target can be a dependency of other target or can be called outside via a related schema.

For example aggregate target is used to create a Universal framework, Umbrella framework, auto-versionning, embedding frameworks in iMessage apps with Xcode 8.0

To create aggregate target

New Target -> Cross-platform -> Aggregate

[Vocabulary]
[Read more about Xcode structure]

Related