Library Moduleswift-package-manager 5.10.1PackageModel
PackageModel
import PackageModel
Module information
- Declarations
- 1052
- Symbols
- 1277
Uncategorized
Protocols
protocol DependencyMapper
protocol IdentityResolver
protocol PackageConditionProtocol
A manifest condition.
protocol Toolchain
Types
struct ArtifactsArchiveMetadata
class BinaryTarget
enum BuildConfiguration
The configuration of the build environment.
struct BuildEnvironment
A build environment with which to evaluate conditions.
struct BuildFlags
Build-tool independent flags.
enum BuildSettings
Namespace for build settings.
struct CanonicalPackageLocation
A canonicalized package location.
struct CanonicalPackageURL
Similar to
CanonicalPackageLocation
but differentiates based on the scheme.class ClangTarget
struct ConfigurationCondition
A configuration condition implies that an assignment is valid on a particular build configuration.
struct DefaultDependencyMapper
a utility for applying mirrors base mapping
struct DefaultIdentityResolver
struct EnabledSanitizers
A set of enabled runtime sanitizers.
struct InstalledSwiftPMConfiguration
struct InvalidToolchainDiagnostic
class Manifest
This contains the declarative specification loaded from package manifest files, and the tools for working with the manifest.
struct MappablePackageDependency
struct MinimumDeploymentTarget
enum ModuleMapType
A type of module map layout. Contains all the information needed to generate or use a module map for a target that can have C-style headers.
class Package
The basic package representation.
struct PackageConditionDescription
Represents a manifest condition.
enum PackageDependency
Represents a package dependency.
struct PackageIdentity
The canonical identifier for a package, based on its source location.
struct PackageReference
A package reference.
struct Platform
Represents a platform.
struct PlatformDescription
class PlatformRegistry
A registry for available platforms.
struct PlatformVersion
Represents a platform version.
struct PlatformsCondition
Platforms condition implies that an assignment is valid on these platforms.
enum PluginCapability
enum PluginCommandIntent
enum PluginNetworkPermissionScope
enum PluginPermission
class PluginTarget
class Product
struct ProductDescription
The product description
enum ProductFilter
The products requested of a package.
enum ProductType
The type of product.
struct Registry
struct RegistryReleaseMetadata
struct RequireNewerTools
The diagnostic triggered when the package has a newer tools version than the installed tools.
struct Resource
An individual resource file and its corresponding rule.
enum Sanitizer
Available runtime sanitizers.
struct Snippet
struct SnippetGroup
struct SourceCodeFragment
Helper type to emit source code. Represents one node of source code, as an arbitrary string followed by an optional child list, optionally enclosed in a pair of delimiters.
struct Sources
A grouping of related source files.
enum SupportedLanguageExtension
An enum representing supported source file extensions.
struct SupportedPlatform
Represents a platform supported by a target.
struct SupportedPlatforms
struct SwiftLanguageVersion
Represents a Swift language version.
struct SwiftSDK
Swift SDK model type which has information about everything that’s required to build a SwiftPM package for a certain platform.
struct SwiftSDKBundle
Represents an
.artifactbundle
on the filesystem that contains a Swift SDK.class SwiftSDKBundleStore
class SwiftSDKConfigurationStore
Storage for configuration properties of Swift SDKs.
enum SwiftSDKError
Errors related to Swift SDKs.
class SwiftTarget
class SystemLibraryTarget
enum SystemPackageProviderDescription
Represents system package providers.
class Target
enum TargetBuildSettingDescription
A namespace for target-specific build settings.
struct TargetDescription
The description of an individual target.
struct ToolchainConfiguration
Toolchain configuration required for evaluation of swift code such as the manifests or plugins
struct ToolsVersion
Tools version represents version of the Swift toolchain.
struct Toolset
A set of paths and flags for tools used for building Swift packages. This type unifies pre-existing assorted ways to specify these properties across SwiftPM codebase.
struct UnsupportedToolsVersion
The diagnostic triggered when the package has an unsupported tools version.
class UserToolchain
struct WindowsPlatformInfo
struct WindowsSDKSettings
Typealiases
typealias ManifestCustomProductTypeSourceGenerator
Constructs and returns a SourceCodeFragment that represents the instantiation of a custom product type with the specified identifer and having the given serialized parameters (the contents of whom are a private matter between the serialized form in PackageDescription and the client). The generated source code should, if evaluated as a part of a package manifest, result in the same serialized parameters.
Show obsolete interfaces (1)
Hide obsolete interfaces
Globals
Other modules
Basics
Build
CompilerPluginSupport
DriverSupport
LLBuildManifest
PackageCollections
PackageCollectionsModel
PackageCollectionsSigning
PackageDescription
Create reusable code, organize it in a lightweight way, and share it across your projects and with other developers.
PackageFingerprint
PackageGraph
PackageLoading
PackageMetadata
PackagePlugin
PackageRegistry
PackageSigning
SPMBuildCore
SPMLLBuild
SPMSQLite3system
SourceControl
Workspace
XCBuildSupport