headerSearchPath(_:_:)

    Provides a header search path relative to the target’s directory.

    BuildSettings.swift:211
    SwiftPM
    5.0+
    static func headerSearchPath(_ path: String, _ condition: BuildSettingCondition? = nil) -> CXXSetting

    Parameters

    path

    The path of the directory that contains the headers. The path is relative to the target’s directory.

    condition

    A condition that restricts the application of the build setting.

    Use this setting to add a search path for headers within your target. You can’t use absolute paths and you can’t use this setting to provide headers that are visible to other targets.

    The path must be a directory inside the package.

    See also