STRUCT
BuildableFolder
Contents
- Properties
path
exceptions
- Methods
folder(_:exceptions:)
init(stringLiteral:)
swift
public struct BuildableFolder: Sendable, Codable, Equatable, ExpressibleByStringLiteral
A buildable folder (known as synchronized root group in pbxproj's lingo), it's a reference to a folder whose content will be resolved/synced by Xcode. It was introduced by Xcode in the version 16 to reduce frequent git conflicts caused by frequent file reference updates across branches.
Properties
path
swift
public var path: Path
exceptions
swift
public var exceptions: BuildableFolderExceptions
Methods
folder(_:exceptions:)
swift
public static func folder(_ path: Path, exceptions: BuildableFolderExceptions = .exceptions([])) -> Self
Creates an instance of a buildable folder.
- Parameter path: Path to the buildable folder.
- Returns: An instance of buildable folder.
Parameters
Name | Description |
---|---|
path | Path to the buildable folder. |
init(stringLiteral:)
swift
public init(stringLiteral value: String)
Parameters
Name | Description |
---|---|
value | The value of the new instance. |