Xcode Dependency [About] is the dependency needed to build the selected goal.
Xcode supports the Implicit [About] and Explicit dependencies.
Explicit dependency is the source code of aka Non-compiled dependency . Xcode builds all explicit dependencies in front of the dependent target. Explicit dependency overrides implicit dependency with the same product_name .
Explicit Dependency is specified in Build Phases -> Target Dependencies .

There are several ways to indicate in Xcode that our goal depends on other target products:
- If goals are in the same project
No additional settings - If goals are in different projects using
cross-project reference [About]
Specify a search path
Additional notes:
Dynamic Framework- You must specify
General -> Embedded Binaries . If not, on a real device you will get dyld: Library not loaded [About] - If you start adding your dependency from
General -> Embedded Binaries and select a product with an explicit dependency, Xcode will automatically add it to Build Phases -> Target Dependencies
Static binary- You can only fill in
Build Phases -> Target Dependencies
vocabular
More here , here
source share