SourceTree
Determines the base path for a reference’s relative path.
enum SourceTree
Determines the base path for a reference’s relative path.
enum SourceTree
import XCBuildSupport
class Reference
Abstract base class for all items in the group hierarchy.
enum PIF
The Project Interchange Format (PIF) is a structured representation of the project model created by clients (Xcode/SwiftPM) to send to XCBuild.
case sourceRoot
Indicates that the path is relative to the source root (i.e. the “project directory”).
case group
Indicates that the path is relative to the path of the parent group.
case builtProductsDir
Indicates that the path is relative to the effective build directory (which varies depending on active scheme, active run destination, or even an overridden build setting.
case absolute
Indicates that the path is an absolute path.
required init(from decoder: Decoder) throws
let guid: GUID
var name: String?
Name of the reference, if different from the last path component (if not set, the last path component will be used as the name).
var path: String
Relative path of the reference. It is usually a literal, but may in fact contain build settings.
var sourceTree: SourceTree
Determines the base path for the reference’s relative path.
override func encode(to encoder: Encoder) throws
protocol Decodable
A type that can decode itself from an external representation.
protocol Encodable
A type that can encode itself to an external 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.
protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
init?(rawValue: String)
init(from decoder: any Decoder) throws
Creates a new instance by decoding from the given decoder, when the type’s RawValue
is String
.
var hashValue: Int { get }
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.
func encode(to encoder: any Encoder) throws
Encodes this value into the given encoder, when the type’s RawValue
is String
.
func hash(into hasher: inout Hasher)