From ce437212338a2afcb3a25137f7e33bf4e8f299aa Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Wed, 14 May 2008 09:56:53 -0700 Subject: [PATCH 1/3] Fixing bug #230347: "If automatic checks is off, check for updates is triggered and then remind me later is checked, the dialog keeps coming back" Thanks, Scott Gruby! --- SUUpdater.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SUUpdater.m b/SUUpdater.m index 9e5beb1c..f93fcd2f 100644 --- a/SUUpdater.m +++ b/SUUpdater.m @@ -139,7 +139,8 @@ static SUUpdater *sharedUpdater = nil; if (object != driver) { return; } [driver removeObserver:self forKeyPath:@"finished"]; [driver release]; driver = nil; - [NSTimer scheduledTimerWithTimeInterval:checkInterval target:self selector:@selector(checkForUpdatesInBackground) userInfo:nil repeats:NO]; + if ([self automaticallyUpdates]) + checkTimer = [NSTimer scheduledTimerWithTimeInterval:checkInterval target:self selector:@selector(checkForUpdatesInBackground) userInfo:nil repeats:NO]; } - (BOOL)automaticallyUpdates From d06b2f5dad83ecfdd96497b420ded1feecac4ee8 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Wed, 14 May 2008 14:33:00 -0700 Subject: [PATCH 2/3] Fixes bug #228449: now the appcast doesn't run the RSS feed fetching in another thread; it just uses NSURLConnection's asynchronous capabilities (which don't leak memory like the synchronous methods) and some delegate methods. --- RSS.h | 45 +++++----------------- RSS.m | 105 +++++++++++++++++++++++++++++++--------------------- SUAppcast.m | 38 +++++++++---------- 3 files changed, 90 insertions(+), 98 deletions(-) diff --git a/RSS.h b/RSS.h index 48bf15bd..38978b2b 100644 --- a/RSS.h +++ b/RSS.h @@ -50,6 +50,8 @@ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMA @interface RSS : NSObject { + NSMutableData *incrementalData; + id delegate; NSDictionary *headerItems; NSMutableArray *newsItems; @@ -59,44 +61,17 @@ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMA BOOL normalize; } +- (RSS *)initWithURL:(NSURL *) url userAgent:(NSString*)userAgent delegate:delegate; +- (BOOL)loadData:(NSData *)rssData normalize:(BOOL)fl; -/*Public*/ -- (RSS *)initWithURL:(NSURL *) url normalize:(BOOL) fl userAgent:(NSString*)userAgent error:(NSError **)error; - -- (RSS *) initWithTitle: (NSString *) title andDescription: (NSString *) description; - -- (RSS *) initWithData: (NSData *) rssData normalize: (BOOL) fl; - -- (NSDictionary *) headerItems; - -- (NSMutableArray *) newsItems; - -- (NSString *) version; - -// AMM's extensions for Sparkle +- (NSMutableArray *)newsItems; - (NSDictionary *)newestItem; - -/*Private*/ - -- (void) createheaderdictionary: (CFXMLTreeRef) tree; - -- (void) createitemsarray: (CFXMLTreeRef) tree; - -- (void) setversionstring: (CFXMLTreeRef) tree; - -- (void) flattenimagechildren: (CFXMLTreeRef) tree into: (NSMutableDictionary *) dictionary; - -- (void) flattensourceattributes: (CFXMLNodeRef) node into: (NSMutableDictionary *) dictionary; - -- (CFXMLTreeRef) getchanneltree: (CFXMLTreeRef) tree; - -- (CFXMLTreeRef) getnamedtree: (CFXMLTreeRef) currentTree name: (NSString *) name; - -- (void) normalizeRSSItem: (NSMutableDictionary *) rssItem; - -- (NSString *) getelementvalue: (CFXMLTreeRef) tree; - +@end + +@interface NSObject (RSSDelegateProtocol) +- (void)feedDidFinishLoading:(RSS *)feed; +- (void)feed:(RSS *)feed didFailWithError:(NSError *)error; @end #endif diff --git a/RSS.m b/RSS.m index ac76e8cb..ea4efa0e 100644 --- a/RSS.m +++ b/RSS.m @@ -49,6 +49,18 @@ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMA @end #endif +@interface RSS (Private) +- (void) createheaderdictionary: (CFXMLTreeRef) tree; +- (void) createitemsarray: (CFXMLTreeRef) tree; +- (void) setversionstring: (CFXMLTreeRef) tree; +- (void) flattenimagechildren: (CFXMLTreeRef) tree into: (NSMutableDictionary *) dictionary; +- (void) flattensourceattributes: (CFXMLNodeRef) node into: (NSMutableDictionary *) dictionary; +- (CFXMLTreeRef) getchanneltree: (CFXMLTreeRef) tree; +- (CFXMLTreeRef) getnamedtree: (CFXMLTreeRef) currentTree name: (NSString *) name; +- (void) normalizeRSSItem: (NSMutableDictionary *) rssItem; +- (NSString *) getelementvalue: (CFXMLTreeRef) tree; +@end + // This comparator function is used to sort the RSS items by their published date. NSComparisonResult compareNewsItems(id item1, id item2, void *context) { @@ -98,72 +110,79 @@ NSComparisonResult compareNewsItems(id item1, id item2, void *context) } /*initWithTitle*/ -- (RSS *) initWithData: (NSData *) rssData normalize: (BOOL) fl { - +- (BOOL)loadData:(NSData *)rssData normalize:(BOOL)fl +{ CFXMLTreeRef tree; - flRdf = NO; - normalize = fl; NS_DURING - tree = CFXMLTreeCreateFromData (kCFAllocatorDefault, (CFDataRef) rssData, NULL, kCFXMLParserSkipWhitespace, kCFXMLNodeCurrentVersion); - NS_HANDLER - tree = nil; - NS_ENDHANDLER - if (tree == nil) { - - /*If there was a problem parsing the RSS file, - raise an exception.*/ - - [self release]; - return nil; - } /*if*/ + if (tree == nil) + return NO; [self createheaderdictionary: tree]; - [self createitemsarray: tree]; - [self setversionstring: tree]; - CFRelease (tree); - - return (self); - } /*initWithData*/ + return YES; +} - - -- (RSS *)initWithURL:(NSURL *)url normalize:(BOOL)fl userAgent:(NSString*)userAgent error:(NSError **)error +- (RSS *)initWithURL:(NSURL *)url userAgent:(NSString*)userAgent delegate:del { - NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL: url cachePolicy: NSURLRequestReloadIgnoringCacheData - timeoutInterval: 30.0]; - if (userAgent) - [request setValue: userAgent forHTTPHeaderField: @"User-Agent"]; - - NSURLResponse *response = nil; - NSData *rssData = [NSURLConnection sendSynchronousRequest:request returningResponse:&response error:error]; - if (rssData == nil) { return nil; } - - @try + self = [super init]; + if (self) { - [self initWithData:rssData normalize:fl]; - } - @catch (NSException *parseException) - { - if (error) - *error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUAppcastParseError userInfo:[NSDictionary dictionaryWithObjectsAndKeys:SULocalizedString(@"An error occurred while parsing the update feed.", nil), NSLocalizedDescriptionKey, [parseException reason], NSLocalizedFailureReasonErrorKey, nil]]; - return nil; + delegate = del; + NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL: url cachePolicy: NSURLRequestReloadIgnoringCacheData + timeoutInterval: 30.0]; + if (userAgent) + [request setValue: userAgent forHTTPHeaderField: @"User-Agent"]; + + incrementalData = [[NSMutableData data] retain]; + NSURLConnection *connection = [NSURLConnection connectionWithRequest:request delegate:self]; + CFRetain(connection); } return self; } +- (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data +{ + [incrementalData appendData:data]; +} + +- (void)connectionDidFinishLoading:(NSURLConnection *)connection +{ + CFRelease(connection); + + NSError *error = nil; + @try + { + if (![self loadData:incrementalData normalize:YES]) + error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUAppcastParseError userInfo:[NSDictionary dictionaryWithObject:SULocalizedString(@"An error occurred while parsing the update feed.", nil) forKey:NSLocalizedDescriptionKey]]; + } + @catch (NSException *parseException) + { + error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUAppcastParseError userInfo:[NSDictionary dictionaryWithObject:[NSString stringWithFormat:SULocalizedString(@"An error occurred while parsing the update feed: %@", nil), [parseException reason]] forKey:NSLocalizedFailureReasonErrorKey]]; + } + + if (error) + [delegate feed:self didFailWithError:error]; + else + [delegate feedDidFinishLoading:self]; +} + +- (void)connection:(NSURLConnection*) connection didFailWithError:(NSError *)error +{ + CFRelease(connection); + [delegate feed:self didFailWithError:error]; +} - (NSDictionary *) headerItems { @@ -184,7 +203,7 @@ NSComparisonResult compareNewsItems(id item1, id item2, void *context) - (void) dealloc { - + [incrementalData release]; [headerItems release]; [newsItems release]; diff --git a/SUAppcast.m b/SUAppcast.m index 9a400931..fdd14df4 100644 --- a/SUAppcast.m +++ b/SUAppcast.m @@ -9,12 +9,11 @@ #import "Sparkle.h" #import "SUAppcast.h" -@implementation SUAppcast +@interface SUAppcast (Private) +- (void)reportError:(NSError *)error; +@end -- (void)fetchAppcastFromURL:(NSURL *)url -{ - [NSThread detachNewThreadSelector:@selector(_fetchAppcastFromURL:) toTarget:self withObject:url]; -} +@implementation SUAppcast - (void)dealloc { @@ -27,18 +26,14 @@ return items; } -- (void)_fetchAppcastFromURL:(NSURL *)url +- (void)fetchAppcastFromURL:(NSURL *)url +{ + RSS *feed = [[RSS alloc] initWithURL:url userAgent:userAgentString delegate:self]; + CFRetain(feed); // Manage the RSS feed's memory manually. +} + +- (void)feedDidFinishLoading:(RSS *)feed { - NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init]; - - NSError *error = nil; - RSS *feed = [[RSS alloc] initWithURL:url normalize:YES userAgent:userAgentString error:&error]; - if (!feed) - { - [self performSelectorOnMainThread:@selector(reportError:) withObject:error waitUntilDone:NO]; - return; - } - // Set up all the appcast items: items = [NSMutableArray array]; id enumerator = [[feed newsItems] objectEnumerator], current; @@ -51,8 +46,7 @@ } @catch (NSException *parseException) { - error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUAppcastParseError userInfo:[NSDictionary dictionaryWithObjectsAndKeys:SULocalizedString(@"An error occurred while parsing the update feed.", nil), NSLocalizedDescriptionKey, [parseException reason], SUTechnicalErrorInformationKey, nil]]; - [self performSelectorOnMainThread:@selector(reportError:) withObject:error waitUntilDone:NO]; + [self reportError:[NSError errorWithDomain:SUSparkleErrorDomain code:SUAppcastParseError userInfo:[NSDictionary dictionaryWithObjectsAndKeys:SULocalizedString(@"An error occurred while parsing the update feed.", nil), NSLocalizedDescriptionKey, [parseException reason], SUTechnicalErrorInformationKey, nil]]]; return; } items = [[NSArray arrayWithArray:items] retain]; // Make the items list immutable. @@ -60,8 +54,12 @@ if ([delegate respondsToSelector:@selector(appcastDidFinishLoading:)]) [delegate performSelectorOnMainThread:@selector(appcastDidFinishLoading:) withObject:self waitUntilDone:NO]; - [feed release]; - [pool release]; + CFRelease(feed); +} + +- (void)feed:(RSS *)feed didFailWithError:(NSError *)error +{ + [self reportError:error]; } - (void)reportError:(NSError *)error From e208b1ac420f5cb334dde0796fec877d8d2e0e3a Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Wed, 14 May 2008 14:38:14 -0700 Subject: [PATCH 3/3] Fixes bug #230451: all the new headers are now public in the Sparkle target. Sorry about that! --- Sparkle.xcodeproj/project.pbxproj | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index fbb87ad2..73ce54c2 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -7,11 +7,11 @@ objects = { /* Begin PBXBuildFile section */ - 610134730DD250470049ACDF /* SUUpdateDriver.h in Headers */ = {isa = PBXBuildFile; fileRef = 610134710DD250470049ACDF /* SUUpdateDriver.h */; }; + 610134730DD250470049ACDF /* SUUpdateDriver.h in Headers */ = {isa = PBXBuildFile; fileRef = 610134710DD250470049ACDF /* SUUpdateDriver.h */; settings = {ATTRIBUTES = (Public, ); }; }; 610134740DD250470049ACDF /* SUUpdateDriver.m in Sources */ = {isa = PBXBuildFile; fileRef = 610134720DD250470049ACDF /* SUUpdateDriver.m */; }; - 610134770DD252E60049ACDF /* NSWorkspace+SystemVersion.h in Headers */ = {isa = PBXBuildFile; fileRef = 610134750DD252E60049ACDF /* NSWorkspace+SystemVersion.h */; }; + 610134770DD252E60049ACDF /* NSWorkspace+SystemVersion.h in Headers */ = {isa = PBXBuildFile; fileRef = 610134750DD252E60049ACDF /* NSWorkspace+SystemVersion.h */; settings = {ATTRIBUTES = (Public, ); }; }; 610134780DD252E60049ACDF /* NSWorkspace+SystemVersion.m in Sources */ = {isa = PBXBuildFile; fileRef = 610134760DD252E60049ACDF /* NSWorkspace+SystemVersion.m */; }; - 6101347B0DD2541A0049ACDF /* SUProbingUpdateDriver.h in Headers */ = {isa = PBXBuildFile; fileRef = 610134790DD2541A0049ACDF /* SUProbingUpdateDriver.h */; }; + 6101347B0DD2541A0049ACDF /* SUProbingUpdateDriver.h in Headers */ = {isa = PBXBuildFile; fileRef = 610134790DD2541A0049ACDF /* SUProbingUpdateDriver.h */; settings = {ATTRIBUTES = (Public, ); }; }; 6101347C0DD2541A0049ACDF /* SUProbingUpdateDriver.m in Sources */ = {isa = PBXBuildFile; fileRef = 6101347A0DD2541A0049ACDF /* SUProbingUpdateDriver.m */; }; 610D5A1A0A1661B8004AAD9C /* Sparkle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* Sparkle.framework */; }; 610D5A750A1670A4004AAD9C /* SUStatus.nib in Resources */ = {isa = PBXBuildFile; fileRef = 610D5A740A1670A4004AAD9C /* SUStatus.nib */; }; @@ -38,13 +38,14 @@ 61407C390A4099050009F71F /* Sparkle.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* Sparkle.framework */; }; 615AE3D00D64DC40001CA7BD /* SUModelTranslation.plist in Resources */ = {isa = PBXBuildFile; fileRef = 615AE3CF0D64DC40001CA7BD /* SUModelTranslation.plist */; }; 6160E7E10D3B4A8800E9CD71 /* NTSynchronousTask.h in Headers */ = {isa = PBXBuildFile; fileRef = 610EC1C00CF3914D00AE239E /* NTSynchronousTask.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 61699BCC0DDB92BD005878A4 /* SUVersionComparisonTest.h in Headers */ = {isa = PBXBuildFile; fileRef = 61227A140DB548B800AB99EA /* SUVersionComparisonTest.h */; settings = {ATTRIBUTES = (Public, ); }; }; 6171D9070D57B81800BFE886 /* NSFileManager+Aliases.h in Headers */ = {isa = PBXBuildFile; fileRef = 6171D9050D57B81800BFE886 /* NSFileManager+Aliases.h */; settings = {ATTRIBUTES = (Public, ); }; }; 6171D9080D57B81800BFE886 /* NSFileManager+Aliases.m in Sources */ = {isa = PBXBuildFile; fileRef = 6171D9060D57B81800BFE886 /* NSFileManager+Aliases.m */; }; 618FA5010DAE88B40026945C /* SUInstaller.h in Headers */ = {isa = PBXBuildFile; fileRef = 618FA4FF0DAE88B40026945C /* SUInstaller.h */; settings = {ATTRIBUTES = (Public, ); }; }; 618FA5020DAE88B40026945C /* SUInstaller.m in Sources */ = {isa = PBXBuildFile; fileRef = 618FA5000DAE88B40026945C /* SUInstaller.m */; }; - 618FA5050DAE8AB80026945C /* SUPlainInstaller.h in Headers */ = {isa = PBXBuildFile; fileRef = 618FA5030DAE8AB80026945C /* SUPlainInstaller.h */; }; + 618FA5050DAE8AB80026945C /* SUPlainInstaller.h in Headers */ = {isa = PBXBuildFile; fileRef = 618FA5030DAE8AB80026945C /* SUPlainInstaller.h */; settings = {ATTRIBUTES = (Public, ); }; }; 618FA5060DAE8AB80026945C /* SUPlainInstaller.m in Sources */ = {isa = PBXBuildFile; fileRef = 618FA5040DAE8AB80026945C /* SUPlainInstaller.m */; }; - 618FA5220DAE8E8A0026945C /* SUPackageInstaller.h in Headers */ = {isa = PBXBuildFile; fileRef = 618FA5200DAE8E8A0026945C /* SUPackageInstaller.h */; }; + 618FA5220DAE8E8A0026945C /* SUPackageInstaller.h in Headers */ = {isa = PBXBuildFile; fileRef = 618FA5200DAE8E8A0026945C /* SUPackageInstaller.h */; settings = {ATTRIBUTES = (Public, ); }; }; 618FA5230DAE8E8A0026945C /* SUPackageInstaller.m in Sources */ = {isa = PBXBuildFile; fileRef = 618FA5210DAE8E8A0026945C /* SUPackageInstaller.m */; }; 6196CFF909C72148000DC222 /* SUStatusController.h in Headers */ = {isa = PBXBuildFile; fileRef = 6196CFE309C71ADE000DC222 /* SUStatusController.h */; settings = {ATTRIBUTES = (Public, ); }; }; 6196CFFA09C72149000DC222 /* SUStatusController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6196CFE409C71ADE000DC222 /* SUStatusController.m */; }; @@ -79,20 +80,20 @@ 61B5FC7009C51F4A00B25A18 /* SUAppcastItem.h in Headers */ = {isa = PBXBuildFile; fileRef = 61B5FC5309C5182000B25A18 /* SUAppcastItem.h */; settings = {ATTRIBUTES = (Public, ); }; }; 61B5FCDE09C52A9F00B25A18 /* SUUpdateAlert.m in Sources */ = {isa = PBXBuildFile; fileRef = 61B5FCA109C5228F00B25A18 /* SUUpdateAlert.m */; }; 61B5FCDF09C52A9F00B25A18 /* SUUpdateAlert.h in Headers */ = {isa = PBXBuildFile; fileRef = 61B5FCA009C5228F00B25A18 /* SUUpdateAlert.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 61B93A3C0DD02D7000DCD2F8 /* SUUserInitiatedUpdateDriver.h in Headers */ = {isa = PBXBuildFile; fileRef = 61B93A390DD02D6400DCD2F8 /* SUUserInitiatedUpdateDriver.h */; }; + 61B93A3C0DD02D7000DCD2F8 /* SUUserInitiatedUpdateDriver.h in Headers */ = {isa = PBXBuildFile; fileRef = 61B93A390DD02D6400DCD2F8 /* SUUserInitiatedUpdateDriver.h */; settings = {ATTRIBUTES = (Public, ); }; }; 61B93A3D0DD02D7000DCD2F8 /* SUUserInitiatedUpdateDriver.m in Sources */ = {isa = PBXBuildFile; fileRef = 61B93A3A0DD02D6400DCD2F8 /* SUUserInitiatedUpdateDriver.m */; }; - 61B93AA20DD0E2D300DCD2F8 /* NSURL+Parameters.h in Headers */ = {isa = PBXBuildFile; fileRef = 61B93AA00DD0E2D300DCD2F8 /* NSURL+Parameters.h */; }; + 61B93AA20DD0E2D300DCD2F8 /* NSURL+Parameters.h in Headers */ = {isa = PBXBuildFile; fileRef = 61B93AA00DD0E2D300DCD2F8 /* NSURL+Parameters.h */; settings = {ATTRIBUTES = (Public, ); }; }; 61B93AA30DD0E2D300DCD2F8 /* NSURL+Parameters.m in Sources */ = {isa = PBXBuildFile; fileRef = 61B93AA10DD0E2D300DCD2F8 /* NSURL+Parameters.m */; }; - 61B93B270DD0FDD300DCD2F8 /* SUAutomaticUpdateDriver.h in Headers */ = {isa = PBXBuildFile; fileRef = 61B93B250DD0FDD300DCD2F8 /* SUAutomaticUpdateDriver.h */; }; + 61B93B270DD0FDD300DCD2F8 /* SUAutomaticUpdateDriver.h in Headers */ = {isa = PBXBuildFile; fileRef = 61B93B250DD0FDD300DCD2F8 /* SUAutomaticUpdateDriver.h */; settings = {ATTRIBUTES = (Public, ); }; }; 61B93B280DD0FDD300DCD2F8 /* SUAutomaticUpdateDriver.m in Sources */ = {isa = PBXBuildFile; fileRef = 61B93B260DD0FDD300DCD2F8 /* SUAutomaticUpdateDriver.m */; }; - 61B93C090DD112FF00DCD2F8 /* SUScheduledUpdateDriver.h in Headers */ = {isa = PBXBuildFile; fileRef = 61B93C070DD112FF00DCD2F8 /* SUScheduledUpdateDriver.h */; }; + 61B93C090DD112FF00DCD2F8 /* SUScheduledUpdateDriver.h in Headers */ = {isa = PBXBuildFile; fileRef = 61B93C070DD112FF00DCD2F8 /* SUScheduledUpdateDriver.h */; settings = {ATTRIBUTES = (Public, ); }; }; 61B93C0A0DD112FF00DCD2F8 /* SUScheduledUpdateDriver.m in Sources */ = {isa = PBXBuildFile; fileRef = 61B93C080DD112FF00DCD2F8 /* SUScheduledUpdateDriver.m */; }; 61BBDF820A49220C00378739 /* Sparkle.icns in Resources */ = {isa = PBXBuildFile; fileRef = 61BBDF810A49220C00378739 /* Sparkle.icns */; }; 61C1F2780DA066C2007ACE13 /* NSFileManager+ExtendedAttributes.h in Headers */ = {isa = PBXBuildFile; fileRef = 61C1F2760DA066C2007ACE13 /* NSFileManager+ExtendedAttributes.h */; settings = {ATTRIBUTES = (Public, ); }; }; 61C1F2790DA066C2007ACE13 /* NSFileManager+ExtendedAttributes.m in Sources */ = {isa = PBXBuildFile; fileRef = 61C1F2770DA066C2007ACE13 /* NSFileManager+ExtendedAttributes.m */; }; 61C46F340D9C54F300B06326 /* SUUpdatePermissionPrompt.nib in Resources */ = {isa = PBXBuildFile; fileRef = 61C46F330D9C54F300B06326 /* SUUpdatePermissionPrompt.nib */; }; 61F83F720DBFE140006FDD30 /* SUBasicUpdateDriver.m in Sources */ = {isa = PBXBuildFile; fileRef = 61F83F700DBFE137006FDD30 /* SUBasicUpdateDriver.m */; }; - 61F83F740DBFE141006FDD30 /* SUBasicUpdateDriver.h in Headers */ = {isa = PBXBuildFile; fileRef = 61F83F6F0DBFE137006FDD30 /* SUBasicUpdateDriver.h */; }; + 61F83F740DBFE141006FDD30 /* SUBasicUpdateDriver.h in Headers */ = {isa = PBXBuildFile; fileRef = 61F83F6F0DBFE137006FDD30 /* SUBasicUpdateDriver.h */; settings = {ATTRIBUTES = (Public, ); }; }; DAAEFC9B0DA5722F0051E0D0 /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0867D6A5FE840307C02AAC07 /* AppKit.framework */; }; DAAEFD4E0DA572330051E0D0 /* relaunch.m in Sources */ = {isa = PBXBuildFile; fileRef = 613242130CD06CEF00106AA4 /* relaunch.m */; }; DAAEFD510DA572550051E0D0 /* relaunch in Resources */ = {isa = PBXBuildFile; fileRef = DAAEFC960DA571DF0051E0D0 /* relaunch */; }; @@ -581,6 +582,7 @@ 610134730DD250470049ACDF /* SUUpdateDriver.h in Headers */, 610134770DD252E60049ACDF /* NSWorkspace+SystemVersion.h in Headers */, 6101347B0DD2541A0049ACDF /* SUProbingUpdateDriver.h in Headers */, + 61699BCC0DDB92BD005878A4 /* SUVersionComparisonTest.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; };