Library Moduleswift-package-manager 5.10.1PackageLoading
PackageLoading
import PackageLoading
Module information
- Declarations
- 237
- Symbols
- 254
Uncategorized
Protocols
protocol ManifestLoaderDelegate
protocol ManifestLoaderProtocol
Protocol for the manifest loader interface.
protocol ManifestSourceControlValidator
Types
struct BinaryArtifact
A structure representing the remote artifact information necessary to construct the package.
struct FileRuleDescription
Describes a rule for including a source or resource file in a target.
enum GeneratedModuleMapType
A type of module map to generate.
class ManifestLoader
Utility class for loading manifest files.
enum ManifestParseError
enum ManifestSignatureParser
struct ManifestValidator
enum ModuleError
An error in the structure or layout of a package.
struct ModuleMapGenerator
A module map generator for Clang targets. Module map generation consists of two steps:
class PackageBuilder
Helper for constructing a package following the convention system.
struct PkgConfig
Information on an individual
pkg-config
supported package.struct PkgConfigResult
Wrapper struct containing result of a pkgConfig query.
enum Platform
enum RegistryReleaseMetadataStorage
struct TargetSourcesBuilder
A utility to compute the source/resource files of a target.
struct ToolsVersionParser
Protocol for the manifest loader interface.
Globals
let moduleMapFilename: String
Name of the module map file recognized by the Clang and Swift compilers.
func allowlist(pcFile: String, flags: (cFlags: [String], libs: [String])
) throws -> (cFlags: [String], libs: [String], disallowed: [String]) Filters the flags with allowed arguments so unexpected arguments are not passed to compiler/linker. List of allowed flags: cFlags: -I, -F libs: -L, -l, -F, -framework, -w
func patchSDKPaths(in: [String], to: AbsolutePath
) throws -> [String] Replaces any path containing *.sdk with the current SDK to avoid conflicts.
func pkgConfigArgs(for: SystemLibraryTarget, pkgConfigDirectories: [AbsolutePath], sdkRootPath: AbsolutePath?, brewPrefix: AbsolutePath?, fileSystem: any FileSystem, observabilityScope: ObservabilityScope
) throws -> [PkgConfigResult] Get pkgConfig result for a system library target.
func removeDefaultFlags(cFlags: [String], libs: [String]
) throws -> ([String], [String]) Remove the default flags which are already added by the compiler.
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
PackageMetadata
PackageModel
PackagePlugin
PackageRegistry
PackageSigning
SPMBuildCore
SPMLLBuild
SPMSQLite3system
SourceControl
Workspace
XCBuildSupport