Merge pull request #219 from macdrevx/pods-use-frameworks

Enable support for Podfiles with use_frameworks!
This commit is contained in:
Pierre-Olivier Latour
2015-09-28 11:40:16 -07:00

View File

@@ -296,7 +296,7 @@
- (instancetype)initWithUploadDirectory:(NSString*)path {
if ((self = [super init])) {
NSBundle* siteBundle = [NSBundle bundleWithPath:[[NSBundle mainBundle] pathForResource:@"GCDWebUploader" ofType:@"bundle"]];
NSBundle* siteBundle = [NSBundle bundleWithPath:[[NSBundle bundleForClass:[GCDWebUploader class]] pathForResource:@"GCDWebUploader" ofType:@"bundle"]];
if (siteBundle == nil) {
return nil;
}