A target, the basic building block of a Swift package.
- Xcode 10.2+
- Swift Package Manager
Each target contains a set of source files that are compiled into a module or test suite. You can vend targets to other packages by defining products that include the targets.
A target may depend on other targets within the same package and on products vended by the package’s dependencies.