dyld: Library not loaded: /System/Library/Frameworks/UserNotifications.framework/UserNotifications
Referenced from: /var/containers/Bundle/Application/E3F96A52-EE43-49EB-8137-64B7F79EA72A/Risk.app/Risk
Referenced from: /var/containers/Bundle/Application/E3F96A52-EE43-49EB-8137-64B7F79EA72A/Risk.app/Risk
Reason: image not found
升级了Xcode8,但是我的真机是iOS7系统,在我解决了Xcode8不支持iOS7系统以后(http://blog.csdn.net/iOSTianNan/article/details/52619319),真机调试出现如下报错
日日日日 ====== 百度出问题解决的方案,就是在我的低版本手机里,Xocde的高版本Framework不支持.
解决方法就是
target下的Build Phases标签里,
找到Link Binary With Libraries,
在里面找到UserNotifications.framework,
把status由Required 修改成Optional,然后再运行就
OK