Skip to content

翻訳 🌍

このページの翻訳を行ったり、改善したりすることができます。

コントリビュートする

STRUCT

BuildableFolderException

Contents

  • Properties
    • excluded
    • compilerFlags
    • publicHeaders
    • privateHeaders
  • Methods
    • exception(excluded:compilerFlags:publicHeaders:privateHeaders:)
swift
public struct BuildableFolderException: Sendable, Codable, Equatable, Hashable

Represents exceptions for a buildable folder, such as files to exclude or specific compiler flags to apply.

Properties

excluded

swift
public var excluded: [String]

A list of absolute paths to files excluded from the buildable folder.

compilerFlags

swift
public var compilerFlags: [String: String]

A dictionary mapping files (referenced by their absolute path) to the compiler flags to apply.

publicHeaders

swift
public var publicHeaders: [String]

A list of relative paths to headers that should be public (by default they have project access level)

privateHeaders

swift
public var privateHeaders: [String]

A list of relative paths to headers that should be private (by default they have project access level)

Methods

exception(excluded:compilerFlags:publicHeaders:privateHeaders:)

swift
public static func exception(
    excluded: [String] = [],
    compilerFlags: [String: String] = [:],
    publicHeaders: [String] = [],
    privateHeaders: [String] = []
) -> BuildableFolderException

Creates a new BuildableFolderException using the given excluded files and compiler flags.

  • Parameters:
    • excluded: An array of absolute paths to files that should be excluded from the buildable folder.
    • compilerFlags: A dictionary mapping absolute file paths to specific compiler flags to apply to those files.

Parameters

NameDescription
excludedAn array of absolute paths to files that should be excluded from the buildable folder.
compilerFlagsA dictionary mapping absolute file paths to specific compiler flags to apply to those files.

Released under the MIT License.