博客> dyld: Library not loaded: /System/Library/Frameworks/UserNotifications.framework/UserNotification...
dyld: Library not loaded: /System/Library/Frameworks/UserNotifications.framework/UserNotification...
2018-09-24 19:35 评论:0 阅读:145 IT喃
ios
真机运行报错,手机版本太低导致有一些框架用不了,提示如下:

dyld: Library not loaded: /System/Library/Frameworks/UserNotifications.framework/UserNotifications

 Referenced from: /var/containers/Bundle/Application/E2822CA4-5B2A-4678-904C-2A453BDEA68D/bluetoothLock.app/bluetoothLock

 Reason: image not found

 1148C5AD-1B14-40A9-AB8C-524503CD5EC8.png

这里只需要在TARGETS—>Build Phases —> Link Binary With Libraries里边,UserNoifications.framework 后面的status改成Optional,其他的框架也是这样解决

 274D2904-E416-4501-8710-25A4DC272FF7.png

收藏
0
sina weixin mail 回到顶部