Skip to content

Xcode: Use "Link Binary With Libraries" to link any library

Gusts Kaksis requested to merge gusc/cmake:xcode-lib-refs into master

Add external libraries as file references and build files to Xcode project and add those references to Link Binary With Libraries build phase.

This allows linking .a, .o, .dylib, .framework and .tbd libraries through "Link Binary With Libraries" build phase, as opposed to OTHER_LINKER_FLAGS.

This improves on !4882 (merged).

Edited by Brad King

Merge request reports