I have an Objective-C and Swift mixed dynamic framework. And the mixed framework was linked with two pure Objective-C dynamic frameworks.
When I tried to mark any cl
Interesting.
First, WeZZard's answer got me going in the right direction but wasn't exactly my solution.
In my iOS project, something had overridden the Runpath Search Paths field in my target. It looked like this:
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
I tried his solution of adding the $(CONFIGURATION_BUILD_DIR) but it didn't work for me. Since it wasn't working, out of habit I just deleted the configuration entry (going back to project defaults). When I did, it reset to this:
LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
which if I dig into my xcconfig files, appears to come from the Cocoapods.
It seems same as Alex that the @loader_path is key, but it's a slightly different path on iOS than it is Mac OS X.