Required items are implicit dependencies. 1 - Select project, 2 - Select target, 3 - Select Build Phases, 4 - Add or remove items, 5 - Set item as Required or Optional. Link Binaries With Libraries Build Phase. To introduce implicit dependency, add a new item to the “Link Binary With Libraries” list in the target’s build phases.įigure 1. Thus, Xcode can automatically build target B before target A. If both targets are in the same project or workspace, then Xcode can detect the dependency automatically. If Xcode target A requires output of another target B, then A depends on B. Xcode target is a specification for building a product. Xcode Target Dependencies is a list of dependencies required to build a selected target.
0 Comments
Leave a Reply. |