From ff7966d96a22b6f0cd33a3af52495bad8e2679a2 Mon Sep 17 00:00:00 2001 From: Oz Solomon Date: Tue, 20 Oct 2015 17:44:30 -0400 Subject: [PATCH 1/2] Fix: sparkleBundle not calculated correctly when SUUpdater is subclassed by a class in a different bundle. --- Sparkle/SUUpdater.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sparkle/SUUpdater.m b/Sparkle/SUUpdater.m index 2e0390b3..7ab7271a 100644 --- a/Sparkle/SUUpdater.m +++ b/Sparkle/SUUpdater.m @@ -83,7 +83,7 @@ static NSString *const SUUpdaterDefaultsObservationContext = @"SUUpdaterDefaults self = [super init]; if (bundle == nil) bundle = [NSBundle mainBundle]; - self.sparkleBundle = [NSBundle bundleForClass:[self class]]; + self.sparkleBundle = [NSBundle bundleForClass:[SUUpdater class]]; if (!self.sparkleBundle) { SULog(@"Error: SUUpdater can't find Sparkle.framework it belongs to"); return nil; From 292ba01dbfd2165f68cb8452f1be848820c75225 Mon Sep 17 00:00:00 2001 From: Oz Solomon Date: Tue, 20 Oct 2015 18:34:35 -0400 Subject: [PATCH 2/2] Removed invalid deployment target version --- Sparkle/el.lproj/SUAutomaticUpdateAlert.xib | 2 +- Sparkle/el.lproj/SUUpdatePermissionPrompt.xib | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sparkle/el.lproj/SUAutomaticUpdateAlert.xib b/Sparkle/el.lproj/SUAutomaticUpdateAlert.xib index 634566a2..04d090f1 100644 --- a/Sparkle/el.lproj/SUAutomaticUpdateAlert.xib +++ b/Sparkle/el.lproj/SUAutomaticUpdateAlert.xib @@ -1,7 +1,7 @@ - + diff --git a/Sparkle/el.lproj/SUUpdatePermissionPrompt.xib b/Sparkle/el.lproj/SUUpdatePermissionPrompt.xib index 832b7112..3425cf4f 100644 --- a/Sparkle/el.lproj/SUUpdatePermissionPrompt.xib +++ b/Sparkle/el.lproj/SUUpdatePermissionPrompt.xib @@ -1,7 +1,7 @@ - +