unrecognized selector sent to class & static library with category problems

一:这里先讲解网络上基本解决方案,解决不了的,直接跳到第二步

        1.苹果官方的解决网址:https://developer.apple.com/library/mac/qa/qa1490/_index.html

        2.分析出现这个问题原因网址:http://www.cnblogs.com/wendingding/p/3893095.html

二:重新编写自己的framework:

        在framework中有关出现的category文件全部按照规范的格式进行编写:一个category对应一个.h与.m.

        不要在一个.h文件中声明多个category而在多个.m去实现这样的做法是不规范的.

        从而会影响到链接时静态库的加载问题.即使在other linker flag做了改变.

原文地址:https://www.cnblogs.com/Sunnyheart/p/5363061.html