Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash after launched at "NSBundle *imageBundle = [NSBundle bundleWithURL:url];' -- SVProgressHUD.m -- line 335 #3

Closed
PhoenixCheung opened this issue Dec 2, 2015 · 6 comments

Comments

@PhoenixCheung
Copy link

Crash after launched at "NSBundle *imageBundle = [NSBundle bundleWithURL:url];' -- SVProgressHUD.m -- line 335

@Aufree
Copy link
Owner

Aufree commented Dec 2, 2015

Did you run this project on simulator?

@ShaneFang
Copy link

我也是差不多的原因崩了,不支持模拟器么?

@Aufree
Copy link
Owner

Aufree commented Dec 2, 2015

@Fisher-Fang 因为从 Xcode 7 开始就支持免证书真机调试, 并且应用需要扫码进行登录, 所以此问题一直没去管它.

@ShaneFang
Copy link

@Aufree 折腾了40分钟才跑起来,似乎需要把Pod工程下的DateTools.bundle和SVProgressHUD.bundle复制到主工程下才行,否则你那个获取Bundle路径的方法报异常,然后就崩溃了。

@Panway
Copy link

Panway commented Dec 2, 2015

我直接这样改的

UIImage* infoImage = [UIImage imageNamed:@"SVProgressHUD.bundle/info.png"];
UIImage* successImage = [UIImage imageNamed:@"SVProgressHUD.bundle/success.png"];
UIImage* errorImage = [UIImage imageNamed:@"SVProgressHUD.bundle/error.png"];

@X-my
Copy link

X-my commented Dec 2, 2015

Manually adding the bundle file works for me.

@Aufree Aufree closed this as completed in e709cde Dec 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants