Skip to content

Commit 7b0477b

Browse files
committed
Merge pull request swisspol#219 from macdrevx/pods-use-frameworks
Enable support for Podfiles with use_frameworks!
2 parents b549f11 + a674614 commit 7b0477b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

GCDWebUploader/GCDWebUploader.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ @implementation GCDWebUploader
296296

297297
- (instancetype)initWithUploadDirectory:(NSString*)path {
298298
if ((self = [super init])) {
299-
NSBundle* siteBundle = [NSBundle bundleWithPath:[[NSBundle mainBundle] pathForResource:@"GCDWebUploader" ofType:@"bundle"]];
299+
NSBundle* siteBundle = [NSBundle bundleWithPath:[[NSBundle bundleForClass:[GCDWebUploader class]] pathForResource:@"GCDWebUploader" ofType:@"bundle"]];
300300
if (siteBundle == nil) {
301301
return nil;
302302
}

0 commit comments

Comments
 (0)