美文网首页
iOS - 运行错误02

iOS - 运行错误02

作者: Mr_Bob_ | 来源:发表于2016-11-18 16:03 被阅读59次
前言:

最近Xcode 升级8.1后,使用SVProgressHUD时候回出现奔溃现象, 会 Crash after launched at "NSBundle *imageBundle = [NSBundle bundleWithURL:url];' -- SVProgressHUD.m -- line 335具体如下图:

Paste_Image.png
具体解决方法:

当我们去打印时候, url 为 nil 是没有找到 SVProgressHUD.bundle 的文件的,解决方法如下图:

Paste_Image.png

在 Copy Bundle Resource 下添加 SVProgressHUD.bundle 即可
如图:

Paste_Image.png Paste_Image.png Paste_Image.png

这样就可以完美的解决问题了

相关文章

网友评论

      本文标题:iOS - 运行错误02

      本文链接:https://www.haomeiwen.com/subject/ogfspttx.html