linkedFramework(_:_:)

    Declares linkage to a system framework.

    BuildSettings.swift:463
    SwiftPM
    5.0+
    static func linkedFramework(_ framework: String, _ condition: BuildSettingCondition? = nil) -> LinkerSetting

    Parameters

    framework

    The framework name.

    condition

    A condition that restricts the application of the build setting.

    This setting is most useful when the framework can’t be linked automatically, such as C++ based frameworks and non-modular frameworks.

    See also