mainTarget
The target that contains the main entry point of the executable.
Declaration
let mainTarget: any TargetDiscussion
Every executable product has exactly one main executable target. This target will always be one of the targets in the product’s targets array.