BinaryModule
BinaryModule.swift:18final class BinaryModule
final class BinaryModule
import PackageModel
class Module
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
init(name: String, kind: Kind, path: AbsolutePath, origin: Origin)
override class var typeDescription: String { get }
Description of the module type used in swift package describe
output. Preserved for backwards compatibility.
var artifactPath: AbsolutePath { get }
The binary artifact path.
var containsExecutable: Bool { get }
let kind: Kind
The kind of binary artifact.
let origin: Origin
The original source of the binary artifact.
enum Kind
enum Origin
import SPMBuildCore
func parseArtifactArchives(for triple: Triple, fileSystem: FileSystem) throws -> [ExecutableInfo]
func parseXCFrameworks(for triple: Triple, fileSystem: FileSystem) throws -> [LibraryInfo]