Contents

linkedFramework(_:_:)

Declares linkage to a system framework.

Declaration

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.

Discussion

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

See Also

Configuring Linker Settings