IOS 出现错误reason: image not found的解决方案

时间:2024-04-10 16:25:53

环信导入framework时遇到的reason: image not found允许崩溃的问题;开始导入运行没有问题,删了再导入运行出错了

原因就是framework找不到镜像了,也就是在真机运行是没有找到对应的framework包,将框架引用从Required 变为Optional ,解决不了根本问题,等到运行到这个framework的代码是也会崩溃,按照下面问题亲测解决了这个问题:
IOS 出现错误reason: image not found的解决方案