The different types of a library product.


enum Product.Library.LibraryType : String, Encodable


Enumeration Cases

case dynamic

A dynamically linked library.

case `static`

A statically linked library.

Encoding and Decoding

func encode(to: Encoder)

Encodes this value into the given encoder, when the type’s RawValue is String.


func hash(into: inout Hasher)

Hashes the essential components of this value by feeding them into the given hasher.

var hashValue: Int

The library type’s hash value.

Operator Functions

static func != (Product.Library.LibraryType, Product.Library.LibraryType) -> Bool

Returns a Boolean value indicating whether two values are not equal.


Instance Properties


Conforms To

See Also

Describing a Library Product

let targets: [String]

The names of the targets in this product.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software