Instance Propertyswift-package-manager 6.0.1PackageGraph
executableModule
The main executable module of this product.
var executableModule: ResolvedModule { get throws }
Note: This property is only valid for executable products.
The main executable module of this product.
var executableModule: ResolvedModule { get throws }
s12PackageGraph15ResolvedProductV16executableModuleAA0cF0Vvp
What are these?39CL0
Note: This property is only valid for executable products.
import PackageGraph
struct ResolvedProduct
struct ResolvedModule
Represents a fully resolved module. All the dependencies for this module are also stored as resolved.
init(packageIdentity: PackageIdentity, product: Product, modules: IdentifiableSet<ResolvedModule>)
var buildTriple: BuildTriple { get set }
Triple for which this resolved product should be compiled for.
var containsSwiftModules: Bool { get }
True if this product contains Swift modules.
let defaultLocalization: String?
The default localization for resources.
var description: String { get }
var id: ID { get }
var isLinkingXCTest: Bool { get }
var modules: IdentifiableSet<ResolvedModule> { get }
The top level modules contained in this product.
var name: String { get }
The name of this product.
let packageIdentity: PackageIdentity
let platformVersionProvider: PlatformVersionProvider
let supportedPlatforms: [SupportedPlatform]
The list of platforms that are supported by this product.
let testEntryPointModule: ResolvedModule?
Executable module for test entry point file.
var type: ProductType { get }
The type of this product.
let underlying: Product
The underlying product.
func getSupportedPlatform(for platform: Platform, usingXCTest: Bool) -> SupportedPlatform
func recursiveModuleDependencies() throws -> [ResolvedModule]
Returns the recursive module dependencies.
struct ID
Resolved module identity that uniquely identifies it in a resolution graph.
init(packageIdentity: PackageIdentity, product: Product, targets: IdentifiableSet<ResolvedModule>)
var containsSwiftTargets: Bool { get }
var executableTarget: ResolvedModule { get throws }
var targets: IdentifiableSet<ResolvedModule> { get }
var testEntryPointTarget: ResolvedModule? { get }
func recursiveTargetDependencies() throws -> [ResolvedModule]