Static Methodswift-package-manager 6.0.1PackageDescription
linkedFramework(_:_:)
Declares linkage to a system framework.
BuildSettings.swift:463- SwiftPM
- 5.0+
static func linkedFramework(_ framework: String, _ condition: BuildSettingCondition? = nil) -> LinkerSetting
Parameters
This setting is most useful when the framework can’t be linked automatically, such as C++ based frameworks and non-modular frameworks.
See also
static func linkedLibrary(String, BuildSettingCondition?
) -> LinkerSetting Declares linkage to a system library.
static func unsafeFlags([String], BuildSettingCondition?
) -> LinkerSetting Sets unsafe flags to pass arbitrary command-line flags to the corresponding build tool.