Dynamic library CAN NOT call a category method in other static library

This thread has been locked. Questions are automatically locked after two months of inactivity, or sooner if deemed necessary by a moderator.
Hi!

I have two framework libraries, framework A is Dynamic library, and framework B is Static library, framework A depends on framework B.

If A links B in Xcode, then A will include B's code after compiled, when a project links both A and B, NSClassFromString may load wrong class.

If A DO NOT link B, then A CAN NOT call category method in B.

So guys, is there any way to solve these two problems at the same time?
Up vote post of UPChina
145 views