Instance Propertyswift-package-manager 6.0.1PackageGraph
platformVersionProvider
ResolvedProduct.swift:51This declaration is gated by at least one @_spi attribute.
let platformVersionProvider: PlatformVersionProvider
This declaration is gated by at least one @_spi attribute.
let platformVersionProvider: PlatformVersionProvider
s12PackageGraph15ResolvedProductV23platformVersionProviderAA08PlatformfG0Vvp
What are these?6WCUO
import PackageGraph
struct ResolvedProduct
struct PlatformVersionProvider
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 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 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]