I have an example project consisting of a main target (LinkerTests
) and a dependent dynamic framework (Dynamic
).
If you run the project, you will see the following dyld binary load:
dyld: loaded: {DerivedDataPath}/Build/Products/Debug-iphonesimulator/Dynamic.framework/Dynamic
This dyld binary load happens due to import Dynamic
in AppDelegate.swift
despite of the following:
Link Binary With Libraries
build phase is emptyCLANG_MODULES_AUTOLINK
is set to false
What I need to achieve is avoiding this automatic implicit linking. Is this possible? Thanks in advance!
Related question: Don't we need to link framework to XCode project anymore?