前言:
最近Xcode 升級8.1后,使用SVProgressHUD時候回出現(xiàn)奔潰現(xiàn)象, 會 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
這樣就可以完美的解決問題了