use NSStringFromClass([self class]) instead of NSStringFromClass(isa)
remove -methodIsObsolete
use copy file build phase instead of copy headers for static library. And use @rpath.