SVProgressHUD: Missing SVProgressHUD.bundle when installing SVProgressHUD 1.1.3 via Cocoapods
I recently attempted to do pod install, after updating my SVProgressHUD from 1.1.2 to 1.1.3, and SVProgressHUD.bundle seemed to be missing.
In SVProgressHUD.m:266:
NSURL *url = [bundle URLForResource:@"SVProgressHUD" withExtension:@"bundle"];
url will return nil, triggering an exception on the next line:
NSBundle *imageBundle = [NSBundle bundleWithURL:url];
The exception is as follows:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSBundle initWithURL:]: nil URL argument'
Manually dragging the SVProgressHUD.bundle from the Pods/SVProgressHUD/SVProgressHUD/ folder on the filesystem, into my Xcode project (which is in the embedded Xcode workspace) will get rid of this exception.
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 36 (10 by maintainers)
I’ve the same problem with version 2.0, and I solved it by deleting the contents of the folder “derived data” and rebuild all.