Instance Propertyswift-package-manager 6.0.1PackageGraph
description
ResolvedProduct.swift:220var description: String { get }
var description: String { get }
import PackageGraph
struct ResolvedProduct
@frozen struct String
A Unicode string value that is a collection of characters.
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 executableModule: ResolvedModule { get throws }
The main executable module of this product.
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]