Skip to content

Translation 🌍

You can translate or improve the translation of this page.

Contribute

STRUCT

BuildableFolder

Contents

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

Methods

folder(_:)

swift
public static func folder(_ path: Path) -> Self

Creates an instance of a buildable folder.

  • Parameter path: Path to the buildable folder.
  • Returns: An instance of buildable folder.

Parameters

NameDescription
pathPath to the buildable folder.

init(stringLiteral:)

swift
public init(stringLiteral value: String)

Parameters

NameDescription
valueThe value of the new instance.

Released under the MIT License.