From 3be2aee60c652d0e24bde3f40d0357328678c4bb Mon Sep 17 00:00:00 2001 From: Sam Deane Date: Wed, 2 Mar 2011 17:56:54 +0000 Subject: [PATCH 01/26] changed default SDK to the current one fixed non-literal format string warning --- Configurations/ConfigCommon.xcconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Configurations/ConfigCommon.xcconfig b/Configurations/ConfigCommon.xcconfig index 3be0cb86..1cd95746 100644 --- a/Configurations/ConfigCommon.xcconfig +++ b/Configurations/ConfigCommon.xcconfig @@ -3,7 +3,7 @@ PREBINDING = NO ZERO_LINK = NO CURRENT_PROJECT_VERSION = 1.5 -SDKROOT = $(DEVELOPER_SDK_DIR)/MacOSX10.5.sdk +SDKROOT = macosx MACOSX_DEPLOYMENT_TARGET[arch=ppc] = 10.4 MACOSX_DEPLOYMENT_TARGET[arch=ppc64] = 10.5 MACOSX_DEPLOYMENT_TARGET[arch=i386] = 10.4 @@ -47,4 +47,4 @@ GCC_WARN_UNUSED_VALUE = YES GCC_WARN_UNUSED_PARAMETER = YES GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES GCC_WARN_UNDECLARED_SELECTOR = YES -WARNING_CFLAGS = -Wall -Wno-unused-parameter -Werror -Wundef -Wendif-labels -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-format-attribute -Wpacked -Wredundant-decls -Winline -Wdisabled-optimization -Wformat=2 -Winvalid-pch +WARNING_CFLAGS = -Wall -Wno-unused-parameter -Werror -Wundef -Wendif-labels -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-format-attribute -Wpacked -Wredundant-decls -Winline -Wdisabled-optimization -Wformat -Wformat-security -Wformat-y2k -Winvalid-pch From da4ca6649768523c15aa731af6f4a54fd93312d3 Mon Sep 17 00:00:00 2001 From: Sam Deane Date: Wed, 2 Mar 2011 17:57:51 +0000 Subject: [PATCH 02/26] project update caused by opening in XC4 I think --- Sparkle.xcodeproj/project.pbxproj | 1 + 1 file changed, 1 insertion(+) diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 00cf5bce..37ee3501 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -835,6 +835,7 @@ isa = PBXProject; buildConfigurationList = 1DEB91B108733DA50010E9CD /* Build configuration list for PBXProject "Sparkle" */; compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; hasScannedForEncodings = 1; knownRegions = ( English, From 6efb28485d160d0bea27d289ea5556d6fc0a9b45 Mon Sep 17 00:00:00 2001 From: Sam Deane Date: Wed, 2 Mar 2011 17:58:04 +0000 Subject: [PATCH 03/26] added xc4 workspace --- Sparkle.xcworkspace/contents.xcworkspacedata | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Sparkle.xcworkspace/contents.xcworkspacedata diff --git a/Sparkle.xcworkspace/contents.xcworkspacedata b/Sparkle.xcworkspace/contents.xcworkspacedata new file mode 100644 index 00000000..4cb78749 --- /dev/null +++ b/Sparkle.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + From e162094aece1a0a7e706ea53450e86dc34735ff8 Mon Sep 17 00:00:00 2001 From: Sam Deane Date: Wed, 2 Mar 2011 17:58:26 +0000 Subject: [PATCH 04/26] added xc4 workspace --- .../project.xcworkspace/contents.xcworkspacedata | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Sparkle.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/Sparkle.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Sparkle.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 00000000..192f7326 --- /dev/null +++ b/Sparkle.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + From b4acf16d34b6d6748115e523ef660c0fdc08a92e Mon Sep 17 00:00:00 2001 From: Jonathan Deutsch Date: Sun, 25 Dec 2011 16:46:29 -0800 Subject: [PATCH 05/26] Changes for Hype --- .gitignore | 15 ++++++++ Sparkle.xcodeproj/project.pbxproj | 27 ++++++++++----- .../xcshareddata/xcschemes/Sparkle.xcscheme | 34 +++++++++++++------ 3 files changed, 56 insertions(+), 20 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..d1f45205 --- /dev/null +++ b/.gitignore @@ -0,0 +1,15 @@ +build/* +*.pbxuser +!default.pbxuser +*.mode1v3 +!default.mode1v3 +*.mode2v3 +!default.mode2v3 +*.perspectivev3 +!default.perspectivev3 +*.xcworkspace +!default.xcworkspace +xcuserdata +profile +.DS_Store +External/*/build/* diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 939cfb39..0da88897 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -126,10 +126,6 @@ 61C2680A0E2DB5D000175E6C /* License.txt in Resources */ = {isa = PBXBuildFile; fileRef = 61C268090E2DB5D000175E6C /* License.txt */; }; 61CFB3290E385186007A1735 /* Sparkle.pch in Headers */ = {isa = PBXBuildFile; fileRef = 61CFB3280E385186007A1735 /* Sparkle.pch */; }; 61D85D6D0E10B2ED00F9B4A9 /* SUPipedUnarchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 6129C0B90E0B79810062CE76 /* SUPipedUnarchiver.m */; }; - 61DEC1171477565C00931268 /* SUUpdatePermissionPrompt.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14C05136EF2C700649790 /* SUUpdatePermissionPrompt.xib */; }; - 61DEC1191477566800931268 /* SUUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BF0136EF26100649790 /* SUUpdateAlert.xib */; }; - 61DEC11B1477567800931268 /* SUAutomaticUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BDA136EF20D00649790 /* SUAutomaticUpdateAlert.xib */; }; - 61DEC11D1477568300931268 /* SUStatus.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BD8136EF00C00649790 /* SUStatus.xib */; }; 61EF67560E25B58D00F754E0 /* SUHost.m in Sources */ = {isa = PBXBuildFile; fileRef = 61EF67550E25B58D00F754E0 /* SUHost.m */; }; 61EF67590E25C5B400F754E0 /* SUHost.h in Headers */ = {isa = PBXBuildFile; fileRef = 61EF67580E25C5B400F754E0 /* SUHost.h */; }; 61F83F720DBFE140006FDD30 /* SUBasicUpdateDriver.m in Sources */ = {isa = PBXBuildFile; fileRef = 61F83F700DBFE137006FDD30 /* SUBasicUpdateDriver.m */; }; @@ -876,7 +872,7 @@ 0867D690FE84028FC02AAC07 /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 0410; + LastUpgradeCheck = 0420; }; buildConfigurationList = 1DEB91B108733DA50010E9CD /* Build configuration list for PBXProject "Sparkle" */; compatibilityVersion = "Xcode 3.2"; @@ -975,10 +971,6 @@ 55C14C04136EF26100649790 /* SUUpdateAlert.xib in Resources */, 55C14C19136EF2C700649790 /* SUUpdatePermissionPrompt.xib in Resources */, 55C14F3B136EFCB300649790 /* finish_installation.app in Resources */, - 61DEC1171477565C00931268 /* SUUpdatePermissionPrompt.xib in Resources */, - 61DEC1191477566800931268 /* SUUpdateAlert.xib in Resources */, - 61DEC11B1477567800931268 /* SUAutomaticUpdateAlert.xib in Resources */, - 61DEC11D1477568300931268 /* SUStatus.xib in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1304,6 +1296,11 @@ isa = XCBuildConfiguration; baseConfigurationReference = FA1941CA0D94A70100DD942E /* ConfigFrameworkDebug.xcconfig */; buildSettings = { + ARCHS = ( + i386, + x86_64, + ); + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; }; name = Debug; }; @@ -1311,6 +1308,12 @@ isa = XCBuildConfiguration; baseConfigurationReference = FA1941D50D94A70100DD942E /* ConfigFrameworkRelease.xcconfig */; buildSettings = { + ARCHS = ( + i386, + x86_64, + ); + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; }; name = Release; }; @@ -1423,6 +1426,12 @@ isa = XCBuildConfiguration; baseConfigurationReference = 61072EB20DF2640C008FE88B /* ConfigFrameworkReleaseGCSupport.xcconfig */; buildSettings = { + ARCHS = ( + i386, + x86_64, + ); + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; }; name = "Release (GC dual-mode; 10.5-only)"; }; diff --git a/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme b/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme index dc9bd945..1e1a1d5e 100644 --- a/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme +++ b/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme @@ -52,15 +52,7 @@ - - - + - + + + + + + + @@ -77,7 +88,8 @@ savedToolIdentifier = "" useCustomWorkingDirectory = "NO" buildConfiguration = "Release" - ignoresPersistentStateOnLaunch = "YES"> + ignoresPersistentStateOnLaunch = "YES" + debugDocumentVersioning = "YES"> From dbd2b9b30aad66296fab5cf9b980bf02020fa71a Mon Sep 17 00:00:00 2001 From: Whitney Young Date: Tue, 20 Mar 2012 10:01:21 -0500 Subject: [PATCH 06/26] Added an XPC service to deal with sandboxing. This fixes #163. It requires that you copy the XPC service into your main application bundle in Contents/XPCServices and runs the remove from quarantine step of copying the finish_installation app as well as launching finish_installation app outside of the sandbox. Sparkle will function exactly as it does now for applications that do not copy the XPC service into their application bundle. --- Configurations/ConfigService.xcconfig | 5 + Configurations/ConfigServiceDebug.xcconfig | 5 + Configurations/ConfigServiceRelease.xcconfig | 3 + SUBasicUpdateDriver.m | 18 +- SUPlainInstallerInternals.m | 5 +- SUXPC.h | 16 ++ SUXPC.m | 72 ++++++++ SandboxService.plist | 29 ++++ Sparkle.xcodeproj/project.pbxproj | 165 +++++++++++++++++++ finish_installation.m | 1 + sandbox_service.m | 91 ++++++++++ 11 files changed, 407 insertions(+), 3 deletions(-) create mode 100644 Configurations/ConfigService.xcconfig create mode 100644 Configurations/ConfigServiceDebug.xcconfig create mode 100644 Configurations/ConfigServiceRelease.xcconfig create mode 100644 SUXPC.h create mode 100644 SUXPC.m create mode 100644 SandboxService.plist create mode 100644 sandbox_service.m diff --git a/Configurations/ConfigService.xcconfig b/Configurations/ConfigService.xcconfig new file mode 100644 index 00000000..6ecc2bd1 --- /dev/null +++ b/Configurations/ConfigService.xcconfig @@ -0,0 +1,5 @@ +// Sandbox Service only + +PRODUCT_NAME = com.andymatuschak.Sparkle.SandboxService +WRAPPER_EXTENSION = xpc +MACH_O_TYPE = mh_execute diff --git a/Configurations/ConfigServiceDebug.xcconfig b/Configurations/ConfigServiceDebug.xcconfig new file mode 100644 index 00000000..68bb414d --- /dev/null +++ b/Configurations/ConfigServiceDebug.xcconfig @@ -0,0 +1,5 @@ +#include "ConfigCommon.xcconfig" +#include "ConfigCommonDebug.xcconfig" +#include "ConfigService.xcconfig" + +OTHER_CFLAGS = -fsingle-precision-constant -DDEBUG diff --git a/Configurations/ConfigServiceRelease.xcconfig b/Configurations/ConfigServiceRelease.xcconfig new file mode 100644 index 00000000..a20df8a6 --- /dev/null +++ b/Configurations/ConfigServiceRelease.xcconfig @@ -0,0 +1,3 @@ +#include "ConfigCommon.xcconfig" +#include "ConfigCommonRelease.xcconfig" +#include "ConfigService.xcconfig" diff --git a/SUBasicUpdateDriver.m b/SUBasicUpdateDriver.m index a53a354c..e32b9c77 100644 --- a/SUBasicUpdateDriver.m +++ b/SUBasicUpdateDriver.m @@ -19,6 +19,7 @@ #import "SUPlainInstallerInternals.h" #import "SUBinaryDeltaCommon.h" #import "SUUpdater_Private.h" +#import "SUXPC.h" @interface SUBasicUpdateDriver () ; @end @@ -272,6 +273,10 @@ [self abortUpdate]; return; } + + BOOL running10_7 = floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_6; + BOOL useXPC = running10_7 && [[NSFileManager defaultManager] fileExistsAtPath: + [[host bundlePath] stringByAppendingPathComponent:@"Contents/XPCServices/com.andymatuschak.Sparkle.SandboxService.xpc"]]; // Give the host app an opportunity to postpone the install and relaunch. static BOOL postponedOnce = NO; @@ -302,7 +307,12 @@ #endif // Only the paranoid survive: if there's already a stray copy of relaunch there, we would have problems. - if( [SUPlainInstaller copyPathWithAuthentication: relaunchPathToCopy overPath: targetPath temporaryName: nil error: &error] ) + BOOL copiedRelaunchTool = FALSE; + if( useXPC ) + copiedRelaunchTool = [SUXPC copyPathWithAuthentication: relaunchPathToCopy overPath: targetPath temporaryName: nil error: &error]; + else + copiedRelaunchTool = [SUPlainInstaller copyPathWithAuthentication: relaunchPathToCopy overPath: targetPath temporaryName: nil error: &error]; + if( copiedRelaunchTool ) relaunchPath = [targetPath retain]; else [self abortUpdateWithError:[NSError errorWithDomain:SUSparkleErrorDomain code:SURelaunchError userInfo:[NSDictionary dictionaryWithObjectsAndKeys:SULocalizedString(@"An error occurred while extracting the archive. Please try again later.", nil), NSLocalizedDescriptionKey, [NSString stringWithFormat:@"Couldn't copy relauncher (%@) to temporary path (%@)! %@", relaunchPathToCopy, targetPath, (error ? [error localizedDescription] : @"")], NSLocalizedFailureReasonErrorKey, nil]]]; @@ -323,7 +333,11 @@ if ([[updater delegate] respondsToSelector:@selector(pathToRelaunchForUpdater:)]) pathToRelaunch = [[updater delegate] pathToRelaunchForUpdater:updater]; NSString *relaunchToolPath = [relaunchPath stringByAppendingPathComponent: @"/Contents/MacOS/finish_installation"]; - [NSTask launchedTaskWithLaunchPath: relaunchToolPath arguments:[NSArray arrayWithObjects:[host bundlePath], pathToRelaunch, [NSString stringWithFormat:@"%d", [[NSProcessInfo processInfo] processIdentifier]], tempDir, relaunch ? @"1" : @"0", nil]]; + NSArray *arguments = [NSArray arrayWithObjects:[host bundlePath], pathToRelaunch, [NSString stringWithFormat:@"%d", [[NSProcessInfo processInfo] processIdentifier]], tempDir, relaunch ? @"1" : @"0", nil]; + if( useXPC ) + [SUXPC launchTaskWithLaunchPath: relaunchToolPath arguments:arguments]; + else + [NSTask launchedTaskWithLaunchPath: relaunchToolPath arguments:arguments]; [NSApp terminate:self]; } diff --git a/SUPlainInstallerInternals.m b/SUPlainInstallerInternals.m index 15eb16b4..475862a9 100644 --- a/SUPlainInstallerInternals.m +++ b/SUPlainInstallerInternals.m @@ -524,7 +524,10 @@ static BOOL AuthorizationExecuteWithPrivilegesAndWait(AuthorizationRef authoriza // new home in case it's moved across filesystems: if that // happens, the move is actually a copy, and it may result // in the application being quarantined. - [self performSelectorOnMainThread:@selector(releaseFromQuarantine:) withObject:dst waitUntilDone:YES]; + if ([NSThread isMultiThreaded]) + [self performSelectorOnMainThread:@selector(releaseFromQuarantine:) withObject:dst waitUntilDone:YES]; + else + [self releaseFromQuarantine:dst]; return YES; } diff --git a/SUXPC.h b/SUXPC.h new file mode 100644 index 00000000..ac8fb661 --- /dev/null +++ b/SUXPC.h @@ -0,0 +1,16 @@ +// +// SUXPC.h +// Sparkle +// +// Created by Whitney Young on 3/19/12. +// Copyright (c) 2012 FadingRed. All rights reserved. +// + +#import + +@interface SUXPC : NSObject + ++ (BOOL)copyPathWithAuthentication:(NSString *)src overPath:(NSString *)dst temporaryName:(NSString *)tmp error:(NSError **)error; ++ (void)launchTaskWithLaunchPath:(NSString *)path arguments:(NSArray *)arguments; + +@end diff --git a/SUXPC.m b/SUXPC.m new file mode 100644 index 00000000..ccf94de7 --- /dev/null +++ b/SUXPC.m @@ -0,0 +1,72 @@ +// +// SUXPC.m +// Sparkle +// +// Created by Whitney Young on 3/19/12. +// Copyright (c) 2012 FadingRed. All rights reserved. +// + +#import +#import "SUXPC.h" + + +@implementation SUXPC + ++ (BOOL)copyPathWithAuthentication:(NSString *)src overPath:(NSString *)dst temporaryName:(NSString *)tmp error:(NSError **)error { + xpc_connection_t connection = xpc_connection_create("com.andymatuschak.Sparkle.SandboxService", NULL); + xpc_connection_set_event_handler(connection, ^(xpc_object_t event) { + xpc_dictionary_apply(event, ^bool(const char *key, xpc_object_t value) { + NSLog(@"XPC %s: %s", key, xpc_string_get_string_ptr(value)); + return true; + }); + }); + xpc_connection_resume(connection); + + xpc_object_t message = xpc_dictionary_create(NULL, NULL, 0); + xpc_dictionary_set_string(message, "id", "copy_path"); + + if( src ) + xpc_dictionary_set_string(message, "source", [src fileSystemRepresentation]); + if( dst ) + xpc_dictionary_set_string(message, "destination", [dst fileSystemRepresentation]); + if( tmp ) + xpc_dictionary_set_string(message, "tmp", [tmp UTF8String]); + + xpc_object_t response = xpc_connection_send_message_with_reply_sync(connection, message); + xpc_type_t type = xpc_get_type(response); + return type == XPC_TYPE_DICTIONARY; +} + ++ (void)launchTaskWithLaunchPath:(NSString *)path arguments:(NSArray *)arguments { + xpc_connection_t connection = xpc_connection_create("com.andymatuschak.Sparkle.SandboxService", NULL); + xpc_connection_set_event_handler(connection, ^(xpc_object_t event) { + xpc_dictionary_apply(event, ^bool(const char *key, xpc_object_t value) { + NSLog(@"XPC %s: %s", key, xpc_string_get_string_ptr(value)); + return true; + }); + }); + xpc_connection_resume(connection); + + xpc_object_t message = xpc_dictionary_create(NULL, NULL, 0); + xpc_dictionary_set_string(message, "id", "launch_task"); + + if( path ) + xpc_dictionary_set_string(message, "path", [path fileSystemRepresentation]); + + xpc_object_t array = xpc_array_create(NULL, 0); + for (id argument in arguments) { + xpc_array_append_value(array, xpc_string_create([argument UTF8String])); + } + + xpc_dictionary_set_value(message, "arguments", array); + + xpc_object_t response = xpc_connection_send_message_with_reply_sync(connection, message); + xpc_type_t type = xpc_get_type(response); + BOOL success = (type == XPC_TYPE_DICTIONARY); + + if (!success) { + NSLog(@"XPC launch error"); + } +} + +@end diff --git a/SandboxService.plist b/SandboxService.plist new file mode 100644 index 00000000..a36bd3c4 --- /dev/null +++ b/SandboxService.plist @@ -0,0 +1,29 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${EXECUTABLE_NAME} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + XPC! + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + XPCService + + ServiceType + Application + + + diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 022976a5..1c9f051e 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -131,6 +131,20 @@ 61F83F720DBFE140006FDD30 /* SUBasicUpdateDriver.m in Sources */ = {isa = PBXBuildFile; fileRef = 61F83F700DBFE137006FDD30 /* SUBasicUpdateDriver.m */; }; 61F83F740DBFE141006FDD30 /* SUBasicUpdateDriver.h in Headers */ = {isa = PBXBuildFile; fileRef = 61F83F6F0DBFE137006FDD30 /* SUBasicUpdateDriver.h */; settings = {ATTRIBUTES = (); }; }; 61FA52880E2D9EA400EF58AD /* Sparkle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* Sparkle.framework */; settings = {ATTRIBUTES = (Required, ); }; }; + 8B887B611517F3AC000BB292 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8B887B601517F3AC000BB292 /* Foundation.framework */; }; + 8B887B7E1517F888000BB292 /* SUXPC.h in Headers */ = {isa = PBXBuildFile; fileRef = 8B887B7C1517F888000BB292 /* SUXPC.h */; }; + 8B887B7F1517F888000BB292 /* SUXPC.m in Sources */ = {isa = PBXBuildFile; fileRef = 8B887B7D1517F888000BB292 /* SUXPC.m */; }; + 8B887B811517FAA3000BB292 /* SUPlainInstallerInternals.m in Sources */ = {isa = PBXBuildFile; fileRef = 61B5F8E509C4CE3C00B25A18 /* SUPlainInstallerInternals.m */; }; + 8B887B821517FAA4000BB292 /* SUPlainInstaller.m in Sources */ = {isa = PBXBuildFile; fileRef = 618FA5040DAE8AB80026945C /* SUPlainInstaller.m */; }; + 8B887B831517FAE9000BB292 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 55C14F31136EFC2400649790 /* SystemConfiguration.framework */; }; + 8B887B841517FAEC000BB292 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6117796E0D1112E000749C97 /* IOKit.framework */; }; + 8B887B861517FAFE000BB292 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 61B5F8F609C4CEB300B25A18 /* Security.framework */; }; + 8B887B881517FB1C000BB292 /* SUInstaller.m in Sources */ = {isa = PBXBuildFile; fileRef = 618FA5000DAE88B40026945C /* SUInstaller.m */; }; + 8B887B891517FB3E000BB292 /* SULog.m in Sources */ = {isa = PBXBuildFile; fileRef = 55C14F05136EF6DB00649790 /* SULog.m */; }; + 8B887B8A1517FB43000BB292 /* SUConstants.m in Sources */ = {isa = PBXBuildFile; fileRef = 61299A5F09CA6EB100B7442F /* SUConstants.m */; }; + 8B887B8B1517FB52000BB292 /* SUPackageInstaller.m in Sources */ = {isa = PBXBuildFile; fileRef = 618FA5210DAE8E8A0026945C /* SUPackageInstaller.m */; }; + 8B887B8C1517FB5D000BB292 /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0867D6A5FE840307C02AAC07 /* AppKit.framework */; }; + 8B887B8E15180767000BB292 /* sandbox_service.m in Sources */ = {isa = PBXBuildFile; fileRef = 8B887B8D15180767000BB292 /* sandbox_service.m */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -162,6 +176,13 @@ remoteGlobalIDString = 8DC2EF4F0486A6940098B216; remoteInfo = Sparkle; }; + 8B887B731517F472000BB292 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 0867D690FE84028FC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 8B887B5D1517F3AB000BB292; + remoteInfo = Service; + }; /* End PBXContainerItemProxy section */ /* Begin PBXCopyFilesBuildPhase section */ @@ -379,6 +400,15 @@ 61F614540E24A12D009F47E7 /* it */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/Sparkle.strings; sourceTree = ""; }; 61F83F6F0DBFE137006FDD30 /* SUBasicUpdateDriver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUBasicUpdateDriver.h; sourceTree = ""; }; 61F83F700DBFE137006FDD30 /* SUBasicUpdateDriver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUBasicUpdateDriver.m; sourceTree = ""; }; + 8B887B5E1517F3AB000BB292 /* com.andymatuschak.Sparkle.SandboxService.xpc */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = com.andymatuschak.Sparkle.SandboxService.xpc; sourceTree = BUILT_PRODUCTS_DIR; }; + 8B887B601517F3AC000BB292 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + 8B887B701517F447000BB292 /* ConfigService.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = ConfigService.xcconfig; sourceTree = ""; }; + 8B887B711517F447000BB292 /* ConfigServiceDebug.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = ConfigServiceDebug.xcconfig; sourceTree = ""; }; + 8B887B721517F447000BB292 /* ConfigServiceRelease.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = ConfigServiceRelease.xcconfig; sourceTree = ""; }; + 8B887B7C1517F888000BB292 /* SUXPC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUXPC.h; sourceTree = SOURCE_ROOT; }; + 8B887B7D1517F888000BB292 /* SUXPC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUXPC.m; sourceTree = SOURCE_ROOT; }; + 8B887B8D15180767000BB292 /* sandbox_service.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = sandbox_service.m; sourceTree = SOURCE_ROOT; }; + 8B887B8F15180773000BB292 /* SandboxService.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = SandboxService.plist; sourceTree = SOURCE_ROOT; }; 8DC2EF5A0486A6940098B216 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; 8DC2EF5B0486A6940098B216 /* Sparkle.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Sparkle.framework; sourceTree = BUILT_PRODUCTS_DIR; }; FA1941CA0D94A70100DD942E /* ConfigFrameworkDebug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigFrameworkDebug.xcconfig; sourceTree = ""; }; @@ -439,6 +469,18 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 8B887B5B1517F3AB000BB292 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 8B887B611517F3AC000BB292 /* Foundation.framework in Frameworks */, + 8B887B831517FAE9000BB292 /* SystemConfiguration.framework in Frameworks */, + 8B887B841517FAEC000BB292 /* IOKit.framework in Frameworks */, + 8B887B8C1517FB5D000BB292 /* AppKit.framework in Frameworks */, + 8B887B861517FAFE000BB292 /* Security.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 8DC2EF560486A6940098B216 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -465,6 +507,7 @@ 612279D90DB5470200AB99EA /* Sparkle Unit Tests.octest */, 5D06E8D00FD68C7C005AE3F6 /* BinaryDelta */, 55C14BB7136EEF1500649790 /* finish_installation.app */, + 8B887B5E1517F3AB000BB292 /* com.andymatuschak.Sparkle.SandboxService.xpc */, ); name = Products; sourceTree = ""; @@ -478,12 +521,14 @@ 55C14BD5136EEFD000649790 /* finish_installation tool */, 6101354A0DD25B7F0049ACDF /* Unarchiving */, 61299B3A09CB056100B7442F /* User Interface */, + 8B887B621517F3AC000BB292 /* Sandbox Service */, 61B5F8F309C4CE5900B25A18 /* Other Sources */, 089C1665FE841158C02AAC07 /* Framework Resources */, 61227A100DB5484000AB99EA /* Tests */, 61B5F91D09C4CF7F00B25A18 /* Test Application Sources */, 0867D69AFE84028FC02AAC07 /* Apple Frameworks and Libraries */, FA1941C40D94A6EA00DD942E /* Configurations */, + 8B887B5F1517F3AB000BB292 /* Frameworks */, 034768DFFF38A50411DB9C8B /* Products */, ); name = Sparkle; @@ -698,6 +743,42 @@ name = "Update Control"; sourceTree = ""; }; + 8B887B5F1517F3AB000BB292 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 8B887B601517F3AC000BB292 /* Foundation.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + 8B887B621517F3AC000BB292 /* Sandbox Service */ = { + isa = PBXGroup; + children = ( + 8B887B801517F8B4000BB292 /* Service */, + 8B887B631517F3AC000BB292 /* Interface */, + ); + name = "Sandbox Service"; + path = Update; + sourceTree = ""; + }; + 8B887B631517F3AC000BB292 /* Interface */ = { + isa = PBXGroup; + children = ( + 8B887B7C1517F888000BB292 /* SUXPC.h */, + 8B887B7D1517F888000BB292 /* SUXPC.m */, + ); + name = Interface; + sourceTree = ""; + }; + 8B887B801517F8B4000BB292 /* Service */ = { + isa = PBXGroup; + children = ( + 8B887B8D15180767000BB292 /* sandbox_service.m */, + 8B887B8F15180773000BB292 /* SandboxService.plist */, + ); + name = Service; + sourceTree = ""; + }; FA1941C40D94A6EA00DD942E /* Configurations */ = { isa = PBXGroup; children = ( @@ -718,6 +799,9 @@ FA1941CE0D94A70100DD942E /* ConfigRelaunch.xcconfig */, FA1941D30D94A70100DD942E /* ConfigRelaunchDebug.xcconfig */, FA1941D40D94A70100DD942E /* ConfigRelaunchRelease.xcconfig */, + 8B887B701517F447000BB292 /* ConfigService.xcconfig */, + 8B887B711517F447000BB292 /* ConfigServiceDebug.xcconfig */, + 8B887B721517F447000BB292 /* ConfigServiceRelease.xcconfig */, FA3AAF3B1050B273004B3130 /* ConfigUnitTest.xcconfig */, FA3AAF3A1050B273004B3130 /* ConfigUnitTestDebug.xcconfig */, FA3AAF391050B273004B3130 /* ConfigUnitTestRelease.xcconfig */, @@ -772,6 +856,7 @@ 55C14F06136EF6DB00649790 /* SULog.h in Headers */, 55C14F0F136EF73600649790 /* finish_installation.pch in Headers */, 6158A1C5137904B300487EC1 /* SUUpdater_Private.h in Headers */, + 8B887B7E1517F888000BB292 /* SUXPC.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -851,6 +936,23 @@ productReference = 61B5F90209C4CEE200B25A18 /* Sparkle Test App.app */; productType = "com.apple.product-type.application"; }; + 8B887B5D1517F3AB000BB292 /* sandbox_service */ = { + isa = PBXNativeTarget; + buildConfigurationList = 8B887B6E1517F3AC000BB292 /* Build configuration list for PBXNativeTarget "sandbox_service" */; + buildPhases = ( + 8B887B5A1517F3AB000BB292 /* Sources */, + 8B887B5B1517F3AB000BB292 /* Frameworks */, + 8B887B5C1517F3AB000BB292 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = sandbox_service; + productName = Update; + productReference = 8B887B5E1517F3AB000BB292 /* com.andymatuschak.Sparkle.SandboxService.xpc */; + productType = "com.apple.product-type.bundle"; + }; 8DC2EF4F0486A6940098B216 /* Sparkle */ = { isa = PBXNativeTarget; buildConfigurationList = 1DEB91AD08733DA50010E9CD /* Build configuration list for PBXNativeTarget "Sparkle" */; @@ -867,6 +969,7 @@ ); dependencies = ( 55C14F97136F044100649790 /* PBXTargetDependency */, + 8B887B741517F472000BB292 /* PBXTargetDependency */, ); name = Sparkle; productInstallPath = "$(HOME)/Library/Frameworks"; @@ -936,6 +1039,7 @@ 612279D80DB5470200AB99EA /* Sparkle Unit Tests */, 5D06E8CF0FD68C7C005AE3F6 /* BinaryDelta */, 55C14BB6136EEF1500649790 /* finish_installation */, + 8B887B5D1517F3AB000BB292 /* sandbox_service */, ); }; /* End PBXProject section */ @@ -969,6 +1073,13 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 8B887B5C1517F3AB000BB292 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 8DC2EF520486A6940098B216 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; @@ -1106,6 +1217,20 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 8B887B5A1517F3AB000BB292 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8B887B881517FB1C000BB292 /* SUInstaller.m in Sources */, + 8B887B821517FAA4000BB292 /* SUPlainInstaller.m in Sources */, + 8B887B811517FAA3000BB292 /* SUPlainInstallerInternals.m in Sources */, + 8B887B8B1517FB52000BB292 /* SUPackageInstaller.m in Sources */, + 8B887B8A1517FB43000BB292 /* SUConstants.m in Sources */, + 8B887B891517FB3E000BB292 /* SULog.m in Sources */, + 8B887B8E15180767000BB292 /* sandbox_service.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 8DC2EF540486A6940098B216 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -1144,6 +1269,7 @@ 5D06E8ED0FD68CE4005AE3F6 /* SUBinaryDeltaCommon.m in Sources */, 5D06E93A0FD69271005AE3F6 /* SUBinaryDeltaUnarchiver.m in Sources */, 55C14F07136EF6DB00649790 /* SULog.m in Sources */, + 8B887B7F1517F888000BB292 /* SUXPC.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1170,6 +1296,11 @@ target = 8DC2EF4F0486A6940098B216 /* Sparkle */; targetProxy = 61FA528C0E2D9EB200EF58AD /* PBXContainerItemProxy */; }; + 8B887B741517F472000BB292 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 8B887B5D1517F3AB000BB292 /* sandbox_service */; + targetProxy = 8B887B731517F472000BB292 /* PBXContainerItemProxy */; + }; /* End PBXTargetDependency section */ /* Begin PBXVariantGroup section */ @@ -1478,6 +1609,30 @@ }; name = Release; }; + 8B887B6B1517F3AC000BB292 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 8B887B711517F447000BB292 /* ConfigServiceDebug.xcconfig */; + buildSettings = { + INFOPLIST_FILE = SandboxService.plist; + }; + name = Debug; + }; + 8B887B6C1517F3AC000BB292 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 8B887B721517F447000BB292 /* ConfigServiceRelease.xcconfig */; + buildSettings = { + INFOPLIST_FILE = SandboxService.plist; + }; + name = Release; + }; + 8B887B6D1517F3AC000BB292 /* Release (GC dual-mode; 10.5+) */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 8B887B721517F447000BB292 /* ConfigServiceRelease.xcconfig */; + buildSettings = { + INFOPLIST_FILE = SandboxService.plist; + }; + name = "Release (GC dual-mode; 10.5+)"; + }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ @@ -1541,6 +1696,16 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + 8B887B6E1517F3AC000BB292 /* Build configuration list for PBXNativeTarget "sandbox_service" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 8B887B6B1517F3AC000BB292 /* Debug */, + 8B887B6C1517F3AC000BB292 /* Release */, + 8B887B6D1517F3AC000BB292 /* Release (GC dual-mode; 10.5+) */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; /* End XCConfigurationList section */ }; rootObject = 0867D690FE84028FC02AAC07 /* Project object */; diff --git a/finish_installation.m b/finish_installation.m index c0d2cc69..b3ad7643 100644 --- a/finish_installation.m +++ b/finish_installation.m @@ -116,6 +116,7 @@ appPath = [[NSFileManager defaultManager] stringWithFileSystemRepresentation:executablepath length:strlen(executablepath)]; else appPath = [host installationPath]; + [[NSWorkspace sharedWorkspace] openFile: appPath]; } diff --git a/sandbox_service.m b/sandbox_service.m new file mode 100644 index 00000000..101c66a5 --- /dev/null +++ b/sandbox_service.m @@ -0,0 +1,91 @@ +// +// main.m +// Update +// +// Created by Whitney Young on 3/19/12. +// Copyright (c) 2012 FadingRed. All rights reserved. +// + +#include +#include +#import "SUPlainInstallerInternals.h" + +static void peer_event_handler(xpc_connection_t peer, xpc_object_t event) +{ + xpc_type_t type = xpc_get_type(event); + if (type == XPC_TYPE_ERROR) { + if (event == XPC_ERROR_CONNECTION_INVALID) { + // The client process on the other end of the connection has either + // crashed or cancelled the connection. After receiving this error, + // the connection is in an invalid state, and you do not need to + // call xpc_connection_cancel(). Just tear down any associated state + // here. + } else if (event == XPC_ERROR_TERMINATION_IMMINENT) { + // Handle per-connection termination cleanup. + } + } else { + assert(type == XPC_TYPE_DICTIONARY); + // Handle the message. + const char *identifier = xpc_dictionary_get_string(event, "id"); + BOOL copyPath = strcmp(identifier, "copy_path") == 0; + BOOL launchTask = strcmp(identifier, "launch_task") == 0; + + if( copyPath ) + { + const char *src = xpc_dictionary_get_string(event, "source"); + const char *dst = xpc_dictionary_get_string(event, "destination"); + const char *tmp = xpc_dictionary_get_string(event, "tmp"); + + NSFileManager *manager = [NSFileManager defaultManager]; + NSString *relaunchPathToCopy = src ? [manager stringWithFileSystemRepresentation:src length:strlen(src)] : nil; + NSString *targetPath = dst ? [manager stringWithFileSystemRepresentation:dst length:strlen(dst)] : nil; + NSString *temporaryName = tmp ? [NSString stringWithUTF8String:tmp] : nil; + NSError *error = nil; + [SUPlainInstaller copyPathWithAuthentication: relaunchPathToCopy overPath: targetPath temporaryName: temporaryName error: &error]; + + // send response to indicate ok + xpc_object_t reply = xpc_dictionary_create_reply(event); + xpc_connection_send_message(peer, reply); + } + else if( launchTask ) + { + const char *path = xpc_dictionary_get_string(event, "path"); + xpc_object_t array = xpc_dictionary_get_value(event, "arguments"); + + NSFileManager *manager = [NSFileManager defaultManager]; + NSString *relaunchToolPath = path ? [manager stringWithFileSystemRepresentation:path length:strlen(path)] : nil;; + NSMutableArray *arguments = [NSMutableArray array]; + + for (size_t i = 0; i < xpc_array_get_count(array); i++) { + [arguments addObject: + [NSString stringWithUTF8String:xpc_array_get_string(array, i)]]; + } + + [NSTask launchedTaskWithLaunchPath: relaunchToolPath arguments:arguments]; + + // send response to indicate ok + xpc_object_t reply = xpc_dictionary_create_reply(event); + xpc_connection_send_message(peer, reply); + } + } +} + +static void event_handler(xpc_connection_t peer) +{ + // By defaults, new connections will target the default dispatch + // concurrent queue. + xpc_connection_set_event_handler(peer, ^(xpc_object_t event) { + peer_event_handler(peer, event); + }); + + // This will tell the connection to begin listening for events. If you + // have some other initialization that must be done asynchronously, then + // you can defer this call until after that initialization is done. + xpc_connection_resume(peer); +} + +int main(int argc, const char *argv[]) +{ + xpc_main(event_handler); + return 0; +} From 53ea1ffe73bde5f1dae5542d4ac5fefec4f7a14f Mon Sep 17 00:00:00 2001 From: Sam Deane Date: Sun, 22 Apr 2012 13:36:56 +0100 Subject: [PATCH 07/26] Updated project settings. --- Sparkle.xcodeproj/project.pbxproj | 2 +- Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 022976a5..db2af2b0 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -880,7 +880,7 @@ 0867D690FE84028FC02AAC07 /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 0420; + LastUpgradeCheck = 0430; }; buildConfigurationList = 1DEB91B108733DA50010E9CD /* Build configuration list for PBXProject "Sparkle" */; compatibilityVersion = "Xcode 3.2"; diff --git a/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme b/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme index f81adc7d..a1e5ba37 100644 --- a/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme +++ b/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme @@ -1,5 +1,6 @@ Date: Wed, 31 Oct 2012 15:13:17 -0700 Subject: [PATCH 08/26] Build dSYM for XPC service --- Sparkle.xcodeproj/project.pbxproj | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 17670701..005e1b20 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -1693,6 +1693,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = 8B887B711517F447000BB292 /* ConfigServiceDebug.xcconfig */; buildSettings = { + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; INFOPLIST_FILE = SandboxService.plist; }; name = Debug; @@ -1701,6 +1702,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = 8B887B721517F447000BB292 /* ConfigServiceRelease.xcconfig */; buildSettings = { + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; INFOPLIST_FILE = SandboxService.plist; }; name = Release; @@ -1709,6 +1711,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = 8B887B721517F447000BB292 /* ConfigServiceRelease.xcconfig */; buildSettings = { + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; INFOPLIST_FILE = SandboxService.plist; }; name = "Release (GC dual-mode; 10.5+)"; From 56056ba95c376122613c39d9635dba9bc1580421 Mon Sep 17 00:00:00 2001 From: Ryan Nielsen Date: Wed, 31 Oct 2012 17:24:31 -0700 Subject: [PATCH 09/26] XPC service only needs to build x86_64 --- Sparkle.xcodeproj/project.pbxproj | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 005e1b20..8abfb4d1 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -1693,8 +1693,10 @@ isa = XCBuildConfiguration; baseConfigurationReference = 8B887B711517F447000BB292 /* ConfigServiceDebug.xcconfig */; buildSettings = { + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; GCC_GENERATE_DEBUGGING_SYMBOLS = YES; INFOPLIST_FILE = SandboxService.plist; + VALID_ARCHS = x86_64; }; name = Debug; }; @@ -1702,8 +1704,10 @@ isa = XCBuildConfiguration; baseConfigurationReference = 8B887B721517F447000BB292 /* ConfigServiceRelease.xcconfig */; buildSettings = { + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; GCC_GENERATE_DEBUGGING_SYMBOLS = YES; INFOPLIST_FILE = SandboxService.plist; + VALID_ARCHS = x86_64; }; name = Release; }; @@ -1711,8 +1715,10 @@ isa = XCBuildConfiguration; baseConfigurationReference = 8B887B721517F447000BB292 /* ConfigServiceRelease.xcconfig */; buildSettings = { + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; GCC_GENERATE_DEBUGGING_SYMBOLS = YES; INFOPLIST_FILE = SandboxService.plist; + VALID_ARCHS = x86_64; }; name = "Release (GC dual-mode; 10.5+)"; }; From 05fb66beae9adecbcd69f27b65f0b7680d0aadaa Mon Sep 17 00:00:00 2001 From: Ryan Nielsen Date: Fri, 2 Nov 2012 11:56:40 -0700 Subject: [PATCH 10/26] Remove useless build flag that's not understood by modern clang --- Sparkle.xcodeproj/project.pbxproj | 1 + 1 file changed, 1 insertion(+) diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 8abfb4d1..9daf4d7b 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -1696,6 +1696,7 @@ ARCHS = "$(ARCHS_STANDARD_64_BIT)"; GCC_GENERATE_DEBUGGING_SYMBOLS = YES; INFOPLIST_FILE = SandboxService.plist; + OTHER_CFLAGS = "-DDEBUG"; VALID_ARCHS = x86_64; }; name = Debug; From 56aa598e2ed7e4cb60a6926cdfda9129faa51056 Mon Sep 17 00:00:00 2001 From: Ryan Nielsen Date: Mon, 5 Nov 2012 14:20:20 -0800 Subject: [PATCH 11/26] Removed and re-added strings files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I continually get errors along the lines of "failed to remove : “Sparkle.strings” couldn’t be removed." The internets suggest removing and re-adding the files "fixes" this issue, so I did… and, yes, things seem to always build, now. Have no clue what this really tweaked, but I'm just happy the errors seem to have disappeared. --- Sparkle.xcodeproj/project.pbxproj | 138 +++++++++++++++++++----------- 1 file changed, 86 insertions(+), 52 deletions(-) diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 9daf4d7b..6a7135ad 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -35,7 +35,6 @@ 55C14F3B136EFCB300649790 /* finish_installation.app in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BB7136EEF1500649790 /* finish_installation.app */; }; 55C14F7E136F005000649790 /* SUPlainInstallerInternals.m in Sources */ = {isa = PBXBuildFile; fileRef = 61B5F8E509C4CE3C00B25A18 /* SUPlainInstallerInternals.m */; }; 55C14F9A136F045400649790 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 61B5F8F609C4CEB300B25A18 /* Security.framework */; }; - 55C14FC7136F05E100649790 /* Sparkle.strings in Resources */ = {isa = PBXBuildFile; fileRef = 61AAE8220A321A7F00D8810D /* Sparkle.strings */; }; 5D06E8D80FD68C8E005AE3F6 /* Sparkle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* Sparkle.framework */; }; 5D06E8E90FD68CDB005AE3F6 /* bsdiff.c in Sources */ = {isa = PBXBuildFile; fileRef = 5D06E8DB0FD68CB9005AE3F6 /* bsdiff.c */; settings = {COMPILER_FLAGS = "-Wno-shorten-64-to-32"; }; }; 5D06E8EA0FD68CDB005AE3F6 /* SUBinaryDeltaTool.m in Sources */ = {isa = PBXBuildFile; fileRef = 5D06E8E30FD68CC7005AE3F6 /* SUBinaryDeltaTool.m */; }; @@ -80,7 +79,6 @@ 612DCBAF0D488BC60015DBEA /* SUUpdatePermissionPrompt.h in Headers */ = {isa = PBXBuildFile; fileRef = 612DCBAD0D488BC60015DBEA /* SUUpdatePermissionPrompt.h */; settings = {ATTRIBUTES = (); }; }; 612DCBB00D488BC60015DBEA /* SUUpdatePermissionPrompt.m in Sources */ = {isa = PBXBuildFile; fileRef = 612DCBAE0D488BC60015DBEA /* SUUpdatePermissionPrompt.m */; }; 61407C390A4099050009F71F /* Sparkle.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* Sparkle.framework */; }; - 6149E6F21601ABAC008A351E /* Sparkle.strings in Resources */ = {isa = PBXBuildFile; fileRef = 61AAE8220A321A7F00D8810D /* Sparkle.strings */; }; 6149E6F31601ABAC008A351E /* SUUpdatePermissionPrompt.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14C05136EF2C700649790 /* SUUpdatePermissionPrompt.xib */; }; 6149E6F41601ABAC008A351E /* SUUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BF0136EF26100649790 /* SUUpdateAlert.xib */; }; 6149E6F51601ABAC008A351E /* SUAutomaticUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BDA136EF20D00649790 /* SUAutomaticUpdateAlert.xib */; }; @@ -158,6 +156,12 @@ 93FB277A156BD80D001937C7 /* SUPasswordPrompt.h in Headers */ = {isa = PBXBuildFile; fileRef = 93FB2778156BD80D001937C7 /* SUPasswordPrompt.h */; }; 93FB277B156BD80D001937C7 /* SUPasswordPrompt.m in Sources */ = {isa = PBXBuildFile; fileRef = 93FB2779156BD80D001937C7 /* SUPasswordPrompt.m */; }; 93FB277F156BD826001937C7 /* SUPasswordPrompt.xib in Resources */ = {isa = PBXBuildFile; fileRef = 93FB277D156BD826001937C7 /* SUPasswordPrompt.xib */; }; + 946D99601648708C00145DA7 /* Sparkle.strings in Resources */ = {isa = PBXBuildFile; fileRef = 946D995E1648708C00145DA7 /* Sparkle.strings */; }; + 946D99611648708C00145DA7 /* Sparkle.strings in Resources */ = {isa = PBXBuildFile; fileRef = 946D995E1648708C00145DA7 /* Sparkle.strings */; }; + 946D99641648709900145DA7 /* SUUpdatePermissionPrompt.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14C05136EF2C700649790 /* SUUpdatePermissionPrompt.xib */; }; + 946D9968164870AA00145DA7 /* SUUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BF0136EF26100649790 /* SUUpdateAlert.xib */; }; + 946D9969164870AA00145DA7 /* SUAutomaticUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BDA136EF20D00649790 /* SUAutomaticUpdateAlert.xib */; }; + 946D9972164870C900145DA7 /* SUPasswordPrompt.xib in Resources */ = {isa = PBXBuildFile; fileRef = 93FB277D156BD826001937C7 /* SUPasswordPrompt.xib */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -212,7 +216,6 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ - 0263187214FEBB31005EBF43 /* uk */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = uk; path = uk.lproj/Sparkle.strings; sourceTree = ""; }; 0263187514FEBB42005EBF43 /* uk */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = uk; path = uk.lproj/SUAutomaticUpdateAlert.xib; sourceTree = ""; }; 0263187614FEBB42005EBF43 /* uk */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = uk; path = uk.lproj/SUUpdateAlert.xib; sourceTree = ""; }; 0263187714FEBB42005EBF43 /* uk */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = uk; path = uk.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; @@ -313,15 +316,10 @@ 610EC1BF0CF3914D00AE239E /* NTSynchronousTask.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NTSynchronousTask.m; sourceTree = ""; }; 610EC1C00CF3914D00AE239E /* NTSynchronousTask.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NTSynchronousTask.h; sourceTree = ""; }; 611142E810FB1BE5009810AA /* bspatch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = bspatch.h; sourceTree = ""; }; - 61131A050F846CE600E97AF6 /* da */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = da; path = da.lproj/Sparkle.strings; sourceTree = ""; }; - 61131A090F846D0A00E97AF6 /* zh_CN */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = zh_CN; path = zh_CN.lproj/Sparkle.strings; sourceTree = ""; }; - 61131A0A0F846D1100E97AF6 /* zh_TW */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = zh_TW; path = zh_TW.lproj/Sparkle.strings; sourceTree = ""; }; 6113C9D315BE1D3600C303E7 /* pt_BR */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = pt_BR; path = pt_BR.lproj/SUPasswordPrompt.xib; sourceTree = ""; }; 6117796E0D1112E000749C97 /* IOKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IOKit.framework; path = /System/Library/Frameworks/IOKit.framework; sourceTree = ""; }; 61180BC80D64138900B4E0D1 /* SUWindowController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUWindowController.h; sourceTree = ""; }; 61180BC90D64138900B4E0D1 /* SUWindowController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUWindowController.m; sourceTree = ""; }; - 611A904210240DD300CC659E /* pl */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = pl; path = pl.lproj/Sparkle.strings; sourceTree = ""; }; - 611A904610240DF700CC659E /* ja */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/Sparkle.strings; sourceTree = ""; }; 6120721009CC5C4B007FE0F6 /* SUAutomaticUpdateAlert.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUAutomaticUpdateAlert.h; sourceTree = ""; }; 6120721109CC5C4B007FE0F6 /* SUAutomaticUpdateAlert.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUAutomaticUpdateAlert.m; sourceTree = ""; }; 612279D90DB5470200AB99EA /* Sparkle Unit Tests.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Sparkle Unit Tests.octest"; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -339,14 +337,11 @@ 6129C0B90E0B79810062CE76 /* SUPipedUnarchiver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUPipedUnarchiver.m; sourceTree = ""; }; 612DCBAD0D488BC60015DBEA /* SUUpdatePermissionPrompt.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUUpdatePermissionPrompt.h; sourceTree = ""; }; 612DCBAE0D488BC60015DBEA /* SUUpdatePermissionPrompt.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUUpdatePermissionPrompt.m; sourceTree = ""; }; - 613151B20FB4946A000DCD59 /* is */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = is; path = is.lproj/Sparkle.strings; sourceTree = ""; }; - 6149E6EA1601ABAC008A351E /* ar */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = ar; path = ar.lproj/Sparkle.strings; sourceTree = ""; }; 6149E6ED1601ABAC008A351E /* ar */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ar; path = ar.lproj/SUAutomaticUpdateAlert.xib; sourceTree = ""; }; 6149E6EE1601ABAC008A351E /* ar */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ar; path = ar.lproj/SUPasswordPrompt.xib; sourceTree = ""; }; 6149E6EF1601ABAC008A351E /* ar */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ar; path = ar.lproj/SUUpdateAlert.xib; sourceTree = ""; }; 6149E6F01601ABAC008A351E /* ar */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ar; path = ar.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; 615409A8103BA09100125AF1 /* ConfigTestAppReleaseGCSupport.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigTestAppReleaseGCSupport.xcconfig; sourceTree = ""; }; - 615409C4103BBC4000125AF1 /* cs */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = cs; path = cs.lproj/Sparkle.strings; sourceTree = ""; }; 6158A1B81378F64700487EC1 /* pt_PT */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = pt_PT; path = pt_PT.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; 6158A1BA1378F68100487EC1 /* pt_PT */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = pt_PT; path = pt_PT.lproj/SUAutomaticUpdateAlert.xib; sourceTree = ""; }; 6158A1BB1378F68100487EC1 /* pt_PT */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = pt_PT; path = pt_PT.lproj/SUUpdateAlert.xib; sourceTree = ""; }; @@ -355,9 +350,6 @@ 6158A1C01378F8BB00487EC1 /* tr */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = tr; path = tr.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; 6158A1C4137904B300487EC1 /* SUUpdater_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUUpdater_Private.h; sourceTree = ""; }; 615AE3CF0D64DC40001CA7BD /* SUModelTranslation.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = SUModelTranslation.plist; sourceTree = ""; }; - 6160FD85134ABCD5007FFC5F /* tr */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = tr; path = tr.lproj/Sparkle.strings; sourceTree = ""; }; - 6186554310D7484E00B1E074 /* pt_PT */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = pt_PT; path = pt_PT.lproj/Sparkle.strings; sourceTree = ""; }; - 618915730E35937600B5E981 /* sv */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = sv; path = sv.lproj/Sparkle.strings; sourceTree = ""; }; 618E9CFC0E7328F1004646D8 /* dsa_pub.pem */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = dsa_pub.pem; path = "Test Application/dsa_pub.pem"; sourceTree = ""; }; 618FA4FF0DAE88B40026945C /* SUInstaller.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUInstaller.h; sourceTree = ""; }; 618FA5000DAE88B40026945C /* SUInstaller.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUInstaller.m; sourceTree = ""; }; @@ -365,10 +357,8 @@ 618FA5040DAE8AB80026945C /* SUPlainInstaller.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUPlainInstaller.m; sourceTree = ""; }; 618FA5200DAE8E8A0026945C /* SUPackageInstaller.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUPackageInstaller.h; sourceTree = ""; }; 618FA5210DAE8E8A0026945C /* SUPackageInstaller.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUPackageInstaller.m; sourceTree = ""; }; - 6195D4920E404AD700D41A50 /* ru */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = ru; path = ru.lproj/Sparkle.strings; sourceTree = ""; }; 6196CFE309C71ADE000DC222 /* SUStatusController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUStatusController.h; sourceTree = ""; }; 6196CFE409C71ADE000DC222 /* SUStatusController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUStatusController.m; sourceTree = ""; }; - 619B17200E1E9D0800E72754 /* de */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/Sparkle.strings; sourceTree = ""; }; 61A2259C0D1C495D00430CCD /* SUVersionComparisonProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUVersionComparisonProtocol.h; sourceTree = ""; }; 61A225A20D1C4AC000430CCD /* SUStandardVersionComparator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUStandardVersionComparator.h; sourceTree = ""; }; 61A225A30D1C4AC000430CCD /* SUStandardVersionComparator.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUStandardVersionComparator.m; sourceTree = ""; }; @@ -376,10 +366,6 @@ 61A2279B0D1CEE7600430CCD /* SUSystemProfiler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUSystemProfiler.m; sourceTree = ""; }; 61A354530DF113C70076ECB1 /* SUUserInitiatedUpdateDriver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUUserInitiatedUpdateDriver.h; sourceTree = ""; }; 61A354540DF113C70076ECB1 /* SUUserInitiatedUpdateDriver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUUserInitiatedUpdateDriver.m; sourceTree = ""; }; - 61AAE8230A321A7F00D8810D /* en */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Sparkle.strings; sourceTree = ""; }; - 61AAE84F0A321AF700D8810D /* es */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/Sparkle.strings; sourceTree = ""; }; - 61AAE8590A321B0400D8810D /* fr */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/Sparkle.strings; sourceTree = ""; }; - 61AAE8710A321F7700D8810D /* nl */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = nl; path = nl.lproj/Sparkle.strings; sourceTree = ""; }; 61B5F8E309C4CE3C00B25A18 /* SUUpdater.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SUUpdater.h; sourceTree = ""; }; 61B5F8E409C4CE3C00B25A18 /* SUUpdater.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = SUUpdater.m; sourceTree = ""; }; 61B5F8E509C4CE3C00B25A18 /* SUPlainInstallerInternals.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = SUPlainInstallerInternals.m; sourceTree = ""; }; @@ -402,26 +388,21 @@ 61B93B260DD0FDD300DCD2F8 /* SUAutomaticUpdateDriver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUAutomaticUpdateDriver.m; sourceTree = ""; }; 61B93C070DD112FF00DCD2F8 /* SUScheduledUpdateDriver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUScheduledUpdateDriver.h; sourceTree = ""; }; 61B93C080DD112FF00DCD2F8 /* SUScheduledUpdateDriver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUScheduledUpdateDriver.m; sourceTree = ""; }; - 61BA66CC14BDFA0400D02D86 /* sl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = sl; path = sl.lproj/Sparkle.strings; sourceTree = ""; }; 61BA66DA14BDFC5500D02D86 /* sl */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = sl; path = sl.lproj/SUAutomaticUpdateAlert.xib; sourceTree = ""; }; 61BA66DB14BDFC5500D02D86 /* sl */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = sl; path = sl.lproj/SUUpdateAlert.xib; sourceTree = ""; }; 61BA66DC14BDFC5500D02D86 /* sl */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = sl; path = sl.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; 61BBDF810A49220C00378739 /* Sparkle.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = Sparkle.icns; sourceTree = ""; }; 61C268090E2DB5D000175E6C /* License.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = License.txt; sourceTree = ""; }; 61CFB3280E385186007A1735 /* Sparkle.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Sparkle.pch; sourceTree = ""; }; - 61DEC1161477565C00931268 /* ro */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = ro; path = ro.lproj/Sparkle.strings; sourceTree = ""; }; 61DEC1181477566800931268 /* ro */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ro; path = ro.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; 61DEC11A1477567800931268 /* ro */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ro; path = ro.lproj/SUUpdateAlert.xib; sourceTree = ""; }; 61DEC11C1477568300931268 /* ro */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ro; path = ro.lproj/SUAutomaticUpdateAlert.xib; sourceTree = ""; }; - 61E31A80103299500051D188 /* pt_BR */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = pt_BR; path = pt_BR.lproj/Sparkle.strings; sourceTree = ""; }; 61EF67550E25B58D00F754E0 /* SUHost.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUHost.m; sourceTree = ""; }; 61EF67580E25C5B400F754E0 /* SUHost.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUHost.h; sourceTree = ""; }; - 61F3AC1215C22D4A00260CA2 /* th */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = th; path = th.lproj/Sparkle.strings; sourceTree = ""; }; 61F3AC1415C22D5900260CA2 /* th */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = th; path = th.lproj/SUAutomaticUpdateAlert.xib; sourceTree = ""; }; 61F3AC1515C22D5900260CA2 /* th */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = th; path = th.lproj/SUPasswordPrompt.xib; sourceTree = ""; }; 61F3AC1615C22D5900260CA2 /* th */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = th; path = th.lproj/SUUpdateAlert.xib; sourceTree = ""; }; 61F3AC1715C22D5900260CA2 /* th */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = th; path = th.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; - 61F614540E24A12D009F47E7 /* it */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/Sparkle.strings; sourceTree = ""; }; 61F83F6F0DBFE137006FDD30 /* SUBasicUpdateDriver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUBasicUpdateDriver.h; sourceTree = ""; }; 61F83F700DBFE137006FDD30 /* SUBasicUpdateDriver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUBasicUpdateDriver.m; sourceTree = ""; }; 8B887B5E1517F3AB000BB292 /* com.andymatuschak.Sparkle.SandboxService.xpc */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = com.andymatuschak.Sparkle.SandboxService.xpc; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -438,6 +419,38 @@ 93FB2778156BD80D001937C7 /* SUPasswordPrompt.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUPasswordPrompt.h; sourceTree = ""; }; 93FB2779156BD80D001937C7 /* SUPasswordPrompt.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUPasswordPrompt.m; sourceTree = ""; }; 93FB277E156BD826001937C7 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/SUPasswordPrompt.xib; sourceTree = ""; }; + 945F7D69164870E7001E5600 /* nl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = nl; path = nl.lproj/Sparkle.strings; sourceTree = ""; }; + 945F7D6A164870E7001E5600 /* no */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = no; path = no.lproj/Sparkle.strings; sourceTree = ""; }; + 945F7D6C164870EE001E5600 /* pl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = pl; path = pl.lproj/Sparkle.strings; sourceTree = ""; }; + 945F7D6D164870F3001E5600 /* pt_BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = pt_BR; path = pt_BR.lproj/Sparkle.strings; sourceTree = ""; }; + 945F7D6E16487104001E5600 /* ro */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ro; path = ro.lproj/Sparkle.strings; sourceTree = ""; }; + 945F7D6F1648710A001E5600 /* ru */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ru; path = ru.lproj/Sparkle.strings; sourceTree = ""; }; + 945F7D7016487113001E5600 /* sk */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = sk; path = sk.lproj/Sparkle.strings; sourceTree = ""; }; + 945F7D7116487113001E5600 /* sl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = sl; path = sl.lproj/Sparkle.strings; sourceTree = ""; }; + 945F7D721648711D001E5600 /* sv */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = sv; path = sv.lproj/Sparkle.strings; sourceTree = ""; }; + 945F7D731648711D001E5600 /* th */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = th; path = th.lproj/Sparkle.strings; sourceTree = ""; }; + 945F7D7416487125001E5600 /* tr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = tr; path = tr.lproj/Sparkle.strings; sourceTree = ""; }; + 945F7D7516487125001E5600 /* uk */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = uk; path = uk.lproj/Sparkle.strings; sourceTree = ""; }; + 945F7D7616487125001E5600 /* zh_CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = zh_CN; path = zh_CN.lproj/Sparkle.strings; sourceTree = ""; }; + 945F7D7716487125001E5600 /* zh_TW */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = zh_TW; path = zh_TW.lproj/Sparkle.strings; sourceTree = ""; }; + 946D995F1648708C00145DA7 /* ar */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ar; path = ar.lproj/Sparkle.strings; sourceTree = ""; }; + 946D99631648709900145DA7 /* ca */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ca; path = ca.lproj/Sparkle.strings; sourceTree = ""; }; + 946D9965164870AA00145DA7 /* cs */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = cs; path = cs.lproj/Sparkle.strings; sourceTree = ""; }; + 946D9966164870AA00145DA7 /* cy */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = cy; path = cy.lproj/Sparkle.strings; sourceTree = ""; }; + 946D9967164870AA00145DA7 /* da */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = da; path = da.lproj/Sparkle.strings; sourceTree = ""; }; + 946D996A164870BC00145DA7 /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/Sparkle.strings; sourceTree = ""; }; + 946D996B164870BC00145DA7 /* el */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = el; path = el.lproj/Sparkle.strings; sourceTree = ""; }; + 946D996C164870BC00145DA7 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Sparkle.strings; sourceTree = ""; }; + 946D996D164870C900145DA7 /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/Sparkle.strings; sourceTree = ""; }; + 946D996E164870C900145DA7 /* fi */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fi; path = fi.lproj/Sparkle.strings; sourceTree = ""; }; + 946D996F164870C900145DA7 /* fr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/Sparkle.strings; sourceTree = ""; }; + 946D9970164870C900145DA7 /* he */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = he; path = he.lproj/Sparkle.strings; sourceTree = ""; }; + 946D9971164870C900145DA7 /* hu */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = hu; path = hu.lproj/Sparkle.strings; sourceTree = ""; }; + 946D9973164870D400145DA7 /* id */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = id; path = id.lproj/Sparkle.strings; sourceTree = ""; }; + 946D9974164870D500145DA7 /* is */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = is; path = is.lproj/Sparkle.strings; sourceTree = ""; }; + 946D9975164870D500145DA7 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/Sparkle.strings; sourceTree = ""; }; + 946D9976164870D500145DA7 /* ja */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/Sparkle.strings; sourceTree = ""; }; + 946D9977164870D500145DA7 /* ko */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ko; path = ko.lproj/Sparkle.strings; sourceTree = ""; }; FA1941CA0D94A70100DD942E /* ConfigFrameworkDebug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigFrameworkDebug.xcconfig; sourceTree = ""; }; FA1941CB0D94A70100DD942E /* ConfigTestAppDebug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigTestAppDebug.xcconfig; sourceTree = ""; }; FA1941CC0D94A70100DD942E /* ConfigCommonRelease.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigCommonRelease.xcconfig; sourceTree = ""; }; @@ -585,7 +598,7 @@ 8DC2EF5A0486A6940098B216 /* Info.plist */, 615AE3CF0D64DC40001CA7BD /* SUModelTranslation.plist */, 61C268090E2DB5D000175E6C /* License.txt */, - 61AAE8220A321A7F00D8810D /* Sparkle.strings */, + 946D995E1648708C00145DA7 /* Sparkle.strings */, 55C14C05136EF2C700649790 /* SUUpdatePermissionPrompt.xib */, 55C14BF0136EF26100649790 /* SUUpdateAlert.xib */, 55C14BDA136EF20D00649790 /* SUAutomaticUpdateAlert.xib */, @@ -1060,6 +1073,7 @@ sl, uk, ar, + el, ); mainGroup = 0867D691FE84028FC02AAC07 /* Sparkle */; productRefGroup = 034768DFFF38A50411DB9C8B /* Products */; @@ -1082,8 +1096,12 @@ buildActionMask = 2147483647; files = ( 55C14BD9136EF00C00649790 /* SUStatus.xib in Resources */, - 55C14FC7136F05E100649790 /* Sparkle.strings in Resources */, 550347011370023A00AE7681 /* Sparkle.icns in Resources */, + 946D99611648708C00145DA7 /* Sparkle.strings in Resources */, + 946D99641648709900145DA7 /* SUUpdatePermissionPrompt.xib in Resources */, + 946D9968164870AA00145DA7 /* SUUpdateAlert.xib in Resources */, + 946D9969164870AA00145DA7 /* SUAutomaticUpdateAlert.xib in Resources */, + 946D9972164870C900145DA7 /* SUPasswordPrompt.xib in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1130,11 +1148,11 @@ 61F3AC1915C22D5900260CA2 /* SUUpdatePermissionPrompt.xib in Resources */, 61F3AC1A15C22D5900260CA2 /* SUUpdateAlert.xib in Resources */, 61F3AC1B15C22D5900260CA2 /* SUAutomaticUpdateAlert.xib in Resources */, - 6149E6F21601ABAC008A351E /* Sparkle.strings in Resources */, 6149E6F31601ABAC008A351E /* SUUpdatePermissionPrompt.xib in Resources */, 6149E6F41601ABAC008A351E /* SUUpdateAlert.xib in Resources */, 6149E6F51601ABAC008A351E /* SUAutomaticUpdateAlert.xib in Resources */, 6149E6F61601ABAC008A351E /* SUStatus.xib in Resources */, + 946D99601648708C00145DA7 /* Sparkle.strings in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1447,32 +1465,9 @@ 61AAE8220A321A7F00D8810D /* Sparkle.strings */ = { isa = PBXVariantGroup; children = ( - 61AAE8230A321A7F00D8810D /* en */, - 61AAE84F0A321AF700D8810D /* es */, - 61AAE8590A321B0400D8810D /* fr */, - 61AAE8710A321F7700D8810D /* nl */, - 619B17200E1E9D0800E72754 /* de */, - 61F614540E24A12D009F47E7 /* it */, - 618915730E35937600B5E981 /* sv */, - 6195D4920E404AD700D41A50 /* ru */, - 61131A050F846CE600E97AF6 /* da */, - 61131A090F846D0A00E97AF6 /* zh_CN */, - 61131A0A0F846D1100E97AF6 /* zh_TW */, - 613151B20FB4946A000DCD59 /* is */, - 611A904210240DD300CC659E /* pl */, - 611A904610240DF700CC659E /* ja */, - 61E31A80103299500051D188 /* pt_BR */, - 615409C4103BBC4000125AF1 /* cs */, - 6186554310D7484E00B1E074 /* pt_PT */, - 6160FD85134ABCD5007FFC5F /* tr */, - 61DEC1161477565C00931268 /* ro */, - 61BA66CC14BDFA0400D02D86 /* sl */, - 0263187214FEBB31005EBF43 /* uk */, - 61F3AC1215C22D4A00260CA2 /* th */, - 6149E6EA1601ABAC008A351E /* ar */, ); name = Sparkle.strings; - sourceTree = ""; + sourceTree = ""; }; 61B5F92A09C4CFD800B25A18 /* InfoPlist.strings */ = { isa = PBXVariantGroup; @@ -1501,6 +1496,45 @@ name = SUPasswordPrompt.xib; sourceTree = ""; }; + 946D995E1648708C00145DA7 /* Sparkle.strings */ = { + isa = PBXVariantGroup; + children = ( + 946D995F1648708C00145DA7 /* ar */, + 946D99631648709900145DA7 /* ca */, + 946D9965164870AA00145DA7 /* cs */, + 946D9966164870AA00145DA7 /* cy */, + 946D9967164870AA00145DA7 /* da */, + 946D996A164870BC00145DA7 /* de */, + 946D996B164870BC00145DA7 /* el */, + 946D996C164870BC00145DA7 /* en */, + 946D996D164870C900145DA7 /* es */, + 946D996E164870C900145DA7 /* fi */, + 946D996F164870C900145DA7 /* fr */, + 946D9970164870C900145DA7 /* he */, + 946D9971164870C900145DA7 /* hu */, + 946D9973164870D400145DA7 /* id */, + 946D9974164870D500145DA7 /* is */, + 946D9975164870D500145DA7 /* it */, + 946D9976164870D500145DA7 /* ja */, + 946D9977164870D500145DA7 /* ko */, + 945F7D69164870E7001E5600 /* nl */, + 945F7D6A164870E7001E5600 /* no */, + 945F7D6C164870EE001E5600 /* pl */, + 945F7D6D164870F3001E5600 /* pt_BR */, + 945F7D6E16487104001E5600 /* ro */, + 945F7D6F1648710A001E5600 /* ru */, + 945F7D7016487113001E5600 /* sk */, + 945F7D7116487113001E5600 /* sl */, + 945F7D721648711D001E5600 /* sv */, + 945F7D731648711D001E5600 /* th */, + 945F7D7416487125001E5600 /* tr */, + 945F7D7516487125001E5600 /* uk */, + 945F7D7616487125001E5600 /* zh_CN */, + 945F7D7716487125001E5600 /* zh_TW */, + ); + name = Sparkle.strings; + sourceTree = ""; + }; /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ From 82eaa63db20b0edf35bbcb634cf0c5fce5cb93c6 Mon Sep 17 00:00:00 2001 From: Ryan Nielsen Date: Mon, 5 Nov 2012 19:08:30 -0800 Subject: [PATCH 12/26] Set the blessed key that keeps pboxd from appearing in the Dock along side our app MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If SandboxService.plist doesn't have JoinExistingSession as YES in the XPCService dictionary, the XPC service will instantiate its own security session, separate from the app. While this seems inoccous, it may lead to subtle (or, in our case, not so subtle) problems. In our case, as a sandboxed NSDocument based app, pboxd is instantiated on launch. When our app is in a different security session – as it would be without this key – the Dock actually shows pboxd running alongside our app, looking like our app. Effectively, the user sees two copies of our app but one seems totally broken. Setting JoinExistingSession to YES makes everyone happy. --- SandboxService.plist | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SandboxService.plist b/SandboxService.plist index a36bd3c4..2dc4ccf2 100644 --- a/SandboxService.plist +++ b/SandboxService.plist @@ -24,6 +24,8 @@ ServiceType Application + JoinExistingSession + From 512f9d716563044151e87c5a6a34b1b5dd0b4c20 Mon Sep 17 00:00:00 2001 From: Ryan Nielsen Date: Mon, 5 Nov 2012 20:25:27 -0800 Subject: [PATCH 13/26] Set JoinExistingSession to YES MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Intended to do this on the last commit… --- SandboxService.plist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SandboxService.plist b/SandboxService.plist index 2dc4ccf2..0eaa5ef3 100644 --- a/SandboxService.plist +++ b/SandboxService.plist @@ -25,7 +25,7 @@ ServiceType Application JoinExistingSession - + From 9c912bf8ba0ee33979760ad9316102a66e9d5020 Mon Sep 17 00:00:00 2001 From: Ryan Nielsen Date: Mon, 5 Nov 2012 21:53:00 -0800 Subject: [PATCH 14/26] Address fallout from 56aa598e2ed7e4cb60a6926cdfda9129faa51056 Needed to fix some bundle copy steps and restore explicit UTF-16 parsing to address some Xcode warnings. --- Sparkle.xcodeproj/project.pbxproj | 170 ++++++++++++------------------ 1 file changed, 70 insertions(+), 100 deletions(-) diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 6a7135ad..d90019d7 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -10,13 +10,7 @@ 3772FEA913DE0B6B00F79537 /* SUVersionDisplayProtocol.h in Headers */ = {isa = PBXBuildFile; fileRef = 3772FEA813DE0B6B00F79537 /* SUVersionDisplayProtocol.h */; settings = {ATTRIBUTES = (Public, ); }; }; 525A2790133D6AE900FD8D70 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 525A278F133D6AE900FD8D70 /* Cocoa.framework */; }; 525A27A0133D6B9700FD8D70 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 525A278F133D6AE900FD8D70 /* Cocoa.framework */; }; - 550347011370023A00AE7681 /* Sparkle.icns in Resources */ = {isa = PBXBuildFile; fileRef = 550347001370023A00AE7681 /* Sparkle.icns */; }; 55C14BD4136EEFCE00649790 /* finish_installation.m in Sources */ = {isa = PBXBuildFile; fileRef = 55C14BD3136EEFCE00649790 /* finish_installation.m */; }; - 55C14BD9136EF00C00649790 /* SUStatus.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BD8136EF00C00649790 /* SUStatus.xib */; }; - 55C14BEE136EF20D00649790 /* SUAutomaticUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BDA136EF20D00649790 /* SUAutomaticUpdateAlert.xib */; }; - 55C14BEF136EF21700649790 /* SUStatus.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BD8136EF00C00649790 /* SUStatus.xib */; }; - 55C14C04136EF26100649790 /* SUUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BF0136EF26100649790 /* SUUpdateAlert.xib */; }; - 55C14C19136EF2C700649790 /* SUUpdatePermissionPrompt.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14C05136EF2C700649790 /* SUUpdatePermissionPrompt.xib */; }; 55C14EE8136EF61D00649790 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 525A278F133D6AE900FD8D70 /* Cocoa.framework */; }; 55C14F00136EF6B700649790 /* SUConstants.m in Sources */ = {isa = PBXBuildFile; fileRef = 61299A5F09CA6EB100B7442F /* SUConstants.m */; }; 55C14F06136EF6DB00649790 /* SULog.h in Headers */ = {isa = PBXBuildFile; fileRef = 55C14F04136EF6DB00649790 /* SULog.h */; }; @@ -32,7 +26,6 @@ 55C14F24136EF86F00649790 /* SUPackageInstaller.m in Sources */ = {isa = PBXBuildFile; fileRef = 618FA5210DAE8E8A0026945C /* SUPackageInstaller.m */; }; 55C14F2A136EF9A900649790 /* SUWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = 61180BC90D64138900B4E0D1 /* SUWindowController.m */; }; 55C14F32136EFC2400649790 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 55C14F31136EFC2400649790 /* SystemConfiguration.framework */; }; - 55C14F3B136EFCB300649790 /* finish_installation.app in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BB7136EEF1500649790 /* finish_installation.app */; }; 55C14F7E136F005000649790 /* SUPlainInstallerInternals.m in Sources */ = {isa = PBXBuildFile; fileRef = 61B5F8E509C4CE3C00B25A18 /* SUPlainInstallerInternals.m */; }; 55C14F9A136F045400649790 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 61B5F8F609C4CEB300B25A18 /* Security.framework */; }; 5D06E8D80FD68C8E005AE3F6 /* Sparkle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* Sparkle.framework */; }; @@ -79,12 +72,7 @@ 612DCBAF0D488BC60015DBEA /* SUUpdatePermissionPrompt.h in Headers */ = {isa = PBXBuildFile; fileRef = 612DCBAD0D488BC60015DBEA /* SUUpdatePermissionPrompt.h */; settings = {ATTRIBUTES = (); }; }; 612DCBB00D488BC60015DBEA /* SUUpdatePermissionPrompt.m in Sources */ = {isa = PBXBuildFile; fileRef = 612DCBAE0D488BC60015DBEA /* SUUpdatePermissionPrompt.m */; }; 61407C390A4099050009F71F /* Sparkle.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* Sparkle.framework */; }; - 6149E6F31601ABAC008A351E /* SUUpdatePermissionPrompt.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14C05136EF2C700649790 /* SUUpdatePermissionPrompt.xib */; }; - 6149E6F41601ABAC008A351E /* SUUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BF0136EF26100649790 /* SUUpdateAlert.xib */; }; - 6149E6F51601ABAC008A351E /* SUAutomaticUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BDA136EF20D00649790 /* SUAutomaticUpdateAlert.xib */; }; - 6149E6F61601ABAC008A351E /* SUStatus.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BD8136EF00C00649790 /* SUStatus.xib */; }; 6158A1C5137904B300487EC1 /* SUUpdater_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 6158A1C4137904B300487EC1 /* SUUpdater_Private.h */; }; - 615AE3D00D64DC40001CA7BD /* SUModelTranslation.plist in Resources */ = {isa = PBXBuildFile; fileRef = 615AE3CF0D64DC40001CA7BD /* SUModelTranslation.plist */; }; 6160E7E10D3B4A8800E9CD71 /* NTSynchronousTask.h in Headers */ = {isa = PBXBuildFile; fileRef = 610EC1C00CF3914D00AE239E /* NTSynchronousTask.h */; settings = {ATTRIBUTES = (); }; }; 61699BCC0DDB92BD005878A4 /* SUVersionComparisonTest.h in Headers */ = {isa = PBXBuildFile; fileRef = 61227A140DB548B800AB99EA /* SUVersionComparisonTest.h */; settings = {ATTRIBUTES = (); }; }; 618E9CFD0E7328F1004646D8 /* dsa_pub.pem in Resources */ = {isa = PBXBuildFile; fileRef = 618E9CFC0E7328F1004646D8 /* dsa_pub.pem */; }; @@ -103,7 +91,6 @@ 61A2279D0D1CEE7600430CCD /* SUSystemProfiler.m in Sources */ = {isa = PBXBuildFile; fileRef = 61A2279B0D1CEE7600430CCD /* SUSystemProfiler.m */; }; 61A354550DF113C70076ECB1 /* SUUserInitiatedUpdateDriver.h in Headers */ = {isa = PBXBuildFile; fileRef = 61A354530DF113C70076ECB1 /* SUUserInitiatedUpdateDriver.h */; settings = {ATTRIBUTES = (); }; }; 61A354560DF113C70076ECB1 /* SUUserInitiatedUpdateDriver.m in Sources */ = {isa = PBXBuildFile; fileRef = 61A354540DF113C70076ECB1 /* SUUserInitiatedUpdateDriver.m */; }; - 61AAE8280A321A7F00D8810D /* Sparkle.strings in Resources */ = {isa = PBXBuildFile; fileRef = 61AAE8220A321A7F00D8810D /* Sparkle.strings */; }; 61B5F8ED09C4CE3C00B25A18 /* SUUpdater.h in Headers */ = {isa = PBXBuildFile; fileRef = 61B5F8E309C4CE3C00B25A18 /* SUUpdater.h */; settings = {ATTRIBUTES = (Public, ); }; }; 61B5F8EE09C4CE3C00B25A18 /* SUUpdater.m in Sources */ = {isa = PBXBuildFile; fileRef = 61B5F8E409C4CE3C00B25A18 /* SUUpdater.m */; }; 61B5F8EF09C4CE3C00B25A18 /* SUPlainInstallerInternals.m in Sources */ = {isa = PBXBuildFile; fileRef = 61B5F8E509C4CE3C00B25A18 /* SUPlainInstallerInternals.m */; }; @@ -126,16 +113,10 @@ 61B93C090DD112FF00DCD2F8 /* SUScheduledUpdateDriver.h in Headers */ = {isa = PBXBuildFile; fileRef = 61B93C070DD112FF00DCD2F8 /* SUScheduledUpdateDriver.h */; settings = {ATTRIBUTES = (); }; }; 61B93C0A0DD112FF00DCD2F8 /* SUScheduledUpdateDriver.m in Sources */ = {isa = PBXBuildFile; fileRef = 61B93C080DD112FF00DCD2F8 /* SUScheduledUpdateDriver.m */; }; 61BBDF820A49220C00378739 /* Sparkle.icns in Resources */ = {isa = PBXBuildFile; fileRef = 61BBDF810A49220C00378739 /* Sparkle.icns */; }; - 61C2680A0E2DB5D000175E6C /* License.txt in Resources */ = {isa = PBXBuildFile; fileRef = 61C268090E2DB5D000175E6C /* License.txt */; }; 61CFB3290E385186007A1735 /* Sparkle.pch in Headers */ = {isa = PBXBuildFile; fileRef = 61CFB3280E385186007A1735 /* Sparkle.pch */; }; 61D85D6D0E10B2ED00F9B4A9 /* SUPipedUnarchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 6129C0B90E0B79810062CE76 /* SUPipedUnarchiver.m */; }; 61EF67560E25B58D00F754E0 /* SUHost.m in Sources */ = {isa = PBXBuildFile; fileRef = 61EF67550E25B58D00F754E0 /* SUHost.m */; }; 61EF67590E25C5B400F754E0 /* SUHost.h in Headers */ = {isa = PBXBuildFile; fileRef = 61EF67580E25C5B400F754E0 /* SUHost.h */; }; - 61F3AC1315C22D4A00260CA2 /* Sparkle.strings in Resources */ = {isa = PBXBuildFile; fileRef = 61AAE8220A321A7F00D8810D /* Sparkle.strings */; }; - 61F3AC1815C22D5900260CA2 /* Sparkle.strings in Resources */ = {isa = PBXBuildFile; fileRef = 61AAE8220A321A7F00D8810D /* Sparkle.strings */; }; - 61F3AC1915C22D5900260CA2 /* SUUpdatePermissionPrompt.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14C05136EF2C700649790 /* SUUpdatePermissionPrompt.xib */; }; - 61F3AC1A15C22D5900260CA2 /* SUUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BF0136EF26100649790 /* SUUpdateAlert.xib */; }; - 61F3AC1B15C22D5900260CA2 /* SUAutomaticUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BDA136EF20D00649790 /* SUAutomaticUpdateAlert.xib */; }; 61F83F720DBFE140006FDD30 /* SUBasicUpdateDriver.m in Sources */ = {isa = PBXBuildFile; fileRef = 61F83F700DBFE137006FDD30 /* SUBasicUpdateDriver.m */; }; 61F83F740DBFE141006FDD30 /* SUBasicUpdateDriver.h in Headers */ = {isa = PBXBuildFile; fileRef = 61F83F6F0DBFE137006FDD30 /* SUBasicUpdateDriver.h */; settings = {ATTRIBUTES = (); }; }; 61FA52880E2D9EA400EF58AD /* Sparkle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* Sparkle.framework */; settings = {ATTRIBUTES = (Required, ); }; }; @@ -155,13 +136,18 @@ 8B887B8E15180767000BB292 /* sandbox_service.m in Sources */ = {isa = PBXBuildFile; fileRef = 8B887B8D15180767000BB292 /* sandbox_service.m */; }; 93FB277A156BD80D001937C7 /* SUPasswordPrompt.h in Headers */ = {isa = PBXBuildFile; fileRef = 93FB2778156BD80D001937C7 /* SUPasswordPrompt.h */; }; 93FB277B156BD80D001937C7 /* SUPasswordPrompt.m in Sources */ = {isa = PBXBuildFile; fileRef = 93FB2779156BD80D001937C7 /* SUPasswordPrompt.m */; }; - 93FB277F156BD826001937C7 /* SUPasswordPrompt.xib in Resources */ = {isa = PBXBuildFile; fileRef = 93FB277D156BD826001937C7 /* SUPasswordPrompt.xib */; }; - 946D99601648708C00145DA7 /* Sparkle.strings in Resources */ = {isa = PBXBuildFile; fileRef = 946D995E1648708C00145DA7 /* Sparkle.strings */; }; - 946D99611648708C00145DA7 /* Sparkle.strings in Resources */ = {isa = PBXBuildFile; fileRef = 946D995E1648708C00145DA7 /* Sparkle.strings */; }; - 946D99641648709900145DA7 /* SUUpdatePermissionPrompt.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14C05136EF2C700649790 /* SUUpdatePermissionPrompt.xib */; }; - 946D9968164870AA00145DA7 /* SUUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BF0136EF26100649790 /* SUUpdateAlert.xib */; }; - 946D9969164870AA00145DA7 /* SUAutomaticUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BDA136EF20D00649790 /* SUAutomaticUpdateAlert.xib */; }; - 946D9972164870C900145DA7 /* SUPasswordPrompt.xib in Resources */ = {isa = PBXBuildFile; fileRef = 93FB277D156BD826001937C7 /* SUPasswordPrompt.xib */; }; + 94059A911648D5880094BDCF /* SUModelTranslation.plist in Resources */ = {isa = PBXBuildFile; fileRef = 615AE3CF0D64DC40001CA7BD /* SUModelTranslation.plist */; }; + 94059A921648D5880094BDCF /* License.txt in Resources */ = {isa = PBXBuildFile; fileRef = 61C268090E2DB5D000175E6C /* License.txt */; }; + 94059A931648D5880094BDCF /* Sparkle.strings in Resources */ = {isa = PBXBuildFile; fileRef = 946D995E1648708C00145DA7 /* Sparkle.strings */; }; + 94059A941648D5880094BDCF /* SUUpdatePermissionPrompt.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14C05136EF2C700649790 /* SUUpdatePermissionPrompt.xib */; }; + 94059A951648D5880094BDCF /* SUUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BF0136EF26100649790 /* SUUpdateAlert.xib */; }; + 94059A961648D5880094BDCF /* SUAutomaticUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BDA136EF20D00649790 /* SUAutomaticUpdateAlert.xib */; }; + 94059A971648D5880094BDCF /* SUStatus.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BD8136EF00C00649790 /* SUStatus.xib */; }; + 94059A981648D5880094BDCF /* SUPasswordPrompt.xib in Resources */ = {isa = PBXBuildFile; fileRef = 93FB277D156BD826001937C7 /* SUPasswordPrompt.xib */; }; + 94059A991648D58D0094BDCF /* finish_installation.app in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BB7136EEF1500649790 /* finish_installation.app */; }; + 94059A9B1648D5A70094BDCF /* SUStatus.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BD8136EF00C00649790 /* SUStatus.xib */; }; + 94059A9C1648D5AA0094BDCF /* Sparkle.strings in Resources */ = {isa = PBXBuildFile; fileRef = 946D995E1648708C00145DA7 /* Sparkle.strings */; }; + 94059A9D1648D5AC0094BDCF /* Sparkle.icns in Resources */ = {isa = PBXBuildFile; fileRef = 550347001370023A00AE7681 /* Sparkle.icns */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -419,38 +405,39 @@ 93FB2778156BD80D001937C7 /* SUPasswordPrompt.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUPasswordPrompt.h; sourceTree = ""; }; 93FB2779156BD80D001937C7 /* SUPasswordPrompt.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUPasswordPrompt.m; sourceTree = ""; }; 93FB277E156BD826001937C7 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/SUPasswordPrompt.xib; sourceTree = ""; }; - 945F7D69164870E7001E5600 /* nl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = nl; path = nl.lproj/Sparkle.strings; sourceTree = ""; }; - 945F7D6A164870E7001E5600 /* no */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = no; path = no.lproj/Sparkle.strings; sourceTree = ""; }; - 945F7D6C164870EE001E5600 /* pl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = pl; path = pl.lproj/Sparkle.strings; sourceTree = ""; }; - 945F7D6D164870F3001E5600 /* pt_BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = pt_BR; path = pt_BR.lproj/Sparkle.strings; sourceTree = ""; }; - 945F7D6E16487104001E5600 /* ro */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ro; path = ro.lproj/Sparkle.strings; sourceTree = ""; }; - 945F7D6F1648710A001E5600 /* ru */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ru; path = ru.lproj/Sparkle.strings; sourceTree = ""; }; - 945F7D7016487113001E5600 /* sk */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = sk; path = sk.lproj/Sparkle.strings; sourceTree = ""; }; + 94059A9E1648D6530094BDCF /* pt_PT */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = pt_PT; path = pt_PT.lproj/Sparkle.strings; sourceTree = ""; }; + 94059AA01648D9BC0094BDCF /* ar */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = ar; path = ar.lproj/Sparkle.strings; sourceTree = ""; }; + 945F7D69164870E7001E5600 /* nl */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = nl; path = nl.lproj/Sparkle.strings; sourceTree = ""; }; + 945F7D6A164870E7001E5600 /* no */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = no; path = no.lproj/Sparkle.strings; sourceTree = ""; }; + 945F7D6C164870EE001E5600 /* pl */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = pl; path = pl.lproj/Sparkle.strings; sourceTree = ""; }; + 945F7D6D164870F3001E5600 /* pt_BR */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = pt_BR; path = pt_BR.lproj/Sparkle.strings; sourceTree = ""; }; + 945F7D6E16487104001E5600 /* ro */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = ro; path = ro.lproj/Sparkle.strings; sourceTree = ""; }; + 945F7D6F1648710A001E5600 /* ru */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = ru; path = ru.lproj/Sparkle.strings; sourceTree = ""; }; + 945F7D7016487113001E5600 /* sk */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = sk; path = sk.lproj/Sparkle.strings; sourceTree = ""; }; 945F7D7116487113001E5600 /* sl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = sl; path = sl.lproj/Sparkle.strings; sourceTree = ""; }; - 945F7D721648711D001E5600 /* sv */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = sv; path = sv.lproj/Sparkle.strings; sourceTree = ""; }; - 945F7D731648711D001E5600 /* th */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = th; path = th.lproj/Sparkle.strings; sourceTree = ""; }; - 945F7D7416487125001E5600 /* tr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = tr; path = tr.lproj/Sparkle.strings; sourceTree = ""; }; + 945F7D721648711D001E5600 /* sv */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = sv; path = sv.lproj/Sparkle.strings; sourceTree = ""; }; + 945F7D731648711D001E5600 /* th */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = th; path = th.lproj/Sparkle.strings; sourceTree = ""; }; + 945F7D7416487125001E5600 /* tr */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = tr; path = tr.lproj/Sparkle.strings; sourceTree = ""; }; 945F7D7516487125001E5600 /* uk */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = uk; path = uk.lproj/Sparkle.strings; sourceTree = ""; }; - 945F7D7616487125001E5600 /* zh_CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = zh_CN; path = zh_CN.lproj/Sparkle.strings; sourceTree = ""; }; - 945F7D7716487125001E5600 /* zh_TW */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = zh_TW; path = zh_TW.lproj/Sparkle.strings; sourceTree = ""; }; - 946D995F1648708C00145DA7 /* ar */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ar; path = ar.lproj/Sparkle.strings; sourceTree = ""; }; - 946D99631648709900145DA7 /* ca */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ca; path = ca.lproj/Sparkle.strings; sourceTree = ""; }; - 946D9965164870AA00145DA7 /* cs */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = cs; path = cs.lproj/Sparkle.strings; sourceTree = ""; }; - 946D9966164870AA00145DA7 /* cy */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = cy; path = cy.lproj/Sparkle.strings; sourceTree = ""; }; - 946D9967164870AA00145DA7 /* da */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = da; path = da.lproj/Sparkle.strings; sourceTree = ""; }; - 946D996A164870BC00145DA7 /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/Sparkle.strings; sourceTree = ""; }; - 946D996B164870BC00145DA7 /* el */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = el; path = el.lproj/Sparkle.strings; sourceTree = ""; }; - 946D996C164870BC00145DA7 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Sparkle.strings; sourceTree = ""; }; - 946D996D164870C900145DA7 /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/Sparkle.strings; sourceTree = ""; }; - 946D996E164870C900145DA7 /* fi */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fi; path = fi.lproj/Sparkle.strings; sourceTree = ""; }; - 946D996F164870C900145DA7 /* fr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/Sparkle.strings; sourceTree = ""; }; - 946D9970164870C900145DA7 /* he */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = he; path = he.lproj/Sparkle.strings; sourceTree = ""; }; - 946D9971164870C900145DA7 /* hu */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = hu; path = hu.lproj/Sparkle.strings; sourceTree = ""; }; - 946D9973164870D400145DA7 /* id */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = id; path = id.lproj/Sparkle.strings; sourceTree = ""; }; - 946D9974164870D500145DA7 /* is */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = is; path = is.lproj/Sparkle.strings; sourceTree = ""; }; - 946D9975164870D500145DA7 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/Sparkle.strings; sourceTree = ""; }; - 946D9976164870D500145DA7 /* ja */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/Sparkle.strings; sourceTree = ""; }; - 946D9977164870D500145DA7 /* ko */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ko; path = ko.lproj/Sparkle.strings; sourceTree = ""; }; + 945F7D7616487125001E5600 /* zh_CN */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = zh_CN; path = zh_CN.lproj/Sparkle.strings; sourceTree = ""; }; + 945F7D7716487125001E5600 /* zh_TW */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = zh_TW; path = zh_TW.lproj/Sparkle.strings; sourceTree = ""; }; + 946D99631648709900145DA7 /* ca */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = ca; path = ca.lproj/Sparkle.strings; sourceTree = ""; }; + 946D9965164870AA00145DA7 /* cs */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = cs; path = cs.lproj/Sparkle.strings; sourceTree = ""; }; + 946D9966164870AA00145DA7 /* cy */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = cy; path = cy.lproj/Sparkle.strings; sourceTree = ""; }; + 946D9967164870AA00145DA7 /* da */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = da; path = da.lproj/Sparkle.strings; sourceTree = ""; }; + 946D996A164870BC00145DA7 /* de */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/Sparkle.strings; sourceTree = ""; }; + 946D996B164870BC00145DA7 /* el */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = el; path = el.lproj/Sparkle.strings; sourceTree = ""; }; + 946D996C164870BC00145DA7 /* en */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Sparkle.strings; sourceTree = ""; }; + 946D996D164870C900145DA7 /* es */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/Sparkle.strings; sourceTree = ""; }; + 946D996E164870C900145DA7 /* fi */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = fi; path = fi.lproj/Sparkle.strings; sourceTree = ""; }; + 946D996F164870C900145DA7 /* fr */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/Sparkle.strings; sourceTree = ""; }; + 946D9970164870C900145DA7 /* he */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = he; path = he.lproj/Sparkle.strings; sourceTree = ""; }; + 946D9971164870C900145DA7 /* hu */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = hu; path = hu.lproj/Sparkle.strings; sourceTree = ""; }; + 946D9973164870D400145DA7 /* id */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = id; path = id.lproj/Sparkle.strings; sourceTree = ""; }; + 946D9974164870D500145DA7 /* is */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = is; path = is.lproj/Sparkle.strings; sourceTree = ""; }; + 946D9975164870D500145DA7 /* it */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/Sparkle.strings; sourceTree = ""; }; + 946D9976164870D500145DA7 /* ja */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/Sparkle.strings; sourceTree = ""; }; + 946D9977164870D500145DA7 /* ko */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = ko; path = ko.lproj/Sparkle.strings; sourceTree = ""; }; FA1941CA0D94A70100DD942E /* ConfigFrameworkDebug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigFrameworkDebug.xcconfig; sourceTree = ""; }; FA1941CB0D94A70100DD942E /* ConfigTestAppDebug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigTestAppDebug.xcconfig; sourceTree = ""; }; FA1941CC0D94A70100DD942E /* ConfigCommonRelease.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigCommonRelease.xcconfig; sourceTree = ""; }; @@ -911,7 +898,7 @@ isa = PBXNativeTarget; buildConfigurationList = 55C14BBE136EEF1500649790 /* Build configuration list for PBXNativeTarget "finish_installation" */; buildPhases = ( - 55C14BB3136EEF1500649790 /* Resources */, + 94059A9A1648D5960094BDCF /* Resources */, 55C14BB4136EEF1500649790 /* Sources */, 55C14BB5136EEF1500649790 /* Frameworks */, ); @@ -1002,7 +989,7 @@ buildConfigurationList = 1DEB91AD08733DA50010E9CD /* Build configuration list for PBXNativeTarget "Sparkle" */; buildPhases = ( 8DC2EF500486A6940098B216 /* Headers */, - 8DC2EF520486A6940098B216 /* Resources */, + 94059A901648D5660094BDCF /* Resources */, 8DC2EF540486A6940098B216 /* Sources */, 8DC2EF560486A6940098B216 /* Frameworks */, 6131B1910DDCDE32005215F0 /* Run Script: Set git Version Info */, @@ -1074,6 +1061,9 @@ uk, ar, el, + "pt-PT", + "zh-Hant", + "zh-Hans", ); mainGroup = 0867D691FE84028FC02AAC07 /* Sparkle */; productRefGroup = 034768DFFF38A50411DB9C8B /* Products */; @@ -1091,20 +1081,6 @@ /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ - 55C14BB3136EEF1500649790 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 55C14BD9136EF00C00649790 /* SUStatus.xib in Resources */, - 550347011370023A00AE7681 /* Sparkle.icns in Resources */, - 946D99611648708C00145DA7 /* Sparkle.strings in Resources */, - 946D99641648709900145DA7 /* SUUpdatePermissionPrompt.xib in Resources */, - 946D9968164870AA00145DA7 /* SUUpdateAlert.xib in Resources */, - 946D9969164870AA00145DA7 /* SUAutomaticUpdateAlert.xib in Resources */, - 946D9972164870C900145DA7 /* SUPasswordPrompt.xib in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; 612279D40DB5470200AB99EA /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; @@ -1130,29 +1106,29 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 8DC2EF520486A6940098B216 /* Resources */ = { + 94059A901648D5660094BDCF /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( - 61C2680A0E2DB5D000175E6C /* License.txt in Resources */, - 61AAE8280A321A7F00D8810D /* Sparkle.strings in Resources */, - 615AE3D00D64DC40001CA7BD /* SUModelTranslation.plist in Resources */, - 55C14BEE136EF20D00649790 /* SUAutomaticUpdateAlert.xib in Resources */, - 55C14BEF136EF21700649790 /* SUStatus.xib in Resources */, - 55C14C04136EF26100649790 /* SUUpdateAlert.xib in Resources */, - 55C14C19136EF2C700649790 /* SUUpdatePermissionPrompt.xib in Resources */, - 55C14F3B136EFCB300649790 /* finish_installation.app in Resources */, - 93FB277F156BD826001937C7 /* SUPasswordPrompt.xib in Resources */, - 61F3AC1315C22D4A00260CA2 /* Sparkle.strings in Resources */, - 61F3AC1815C22D5900260CA2 /* Sparkle.strings in Resources */, - 61F3AC1915C22D5900260CA2 /* SUUpdatePermissionPrompt.xib in Resources */, - 61F3AC1A15C22D5900260CA2 /* SUUpdateAlert.xib in Resources */, - 61F3AC1B15C22D5900260CA2 /* SUAutomaticUpdateAlert.xib in Resources */, - 6149E6F31601ABAC008A351E /* SUUpdatePermissionPrompt.xib in Resources */, - 6149E6F41601ABAC008A351E /* SUUpdateAlert.xib in Resources */, - 6149E6F51601ABAC008A351E /* SUAutomaticUpdateAlert.xib in Resources */, - 6149E6F61601ABAC008A351E /* SUStatus.xib in Resources */, - 946D99601648708C00145DA7 /* Sparkle.strings in Resources */, + 94059A991648D58D0094BDCF /* finish_installation.app in Resources */, + 94059A911648D5880094BDCF /* SUModelTranslation.plist in Resources */, + 94059A921648D5880094BDCF /* License.txt in Resources */, + 94059A931648D5880094BDCF /* Sparkle.strings in Resources */, + 94059A941648D5880094BDCF /* SUUpdatePermissionPrompt.xib in Resources */, + 94059A951648D5880094BDCF /* SUUpdateAlert.xib in Resources */, + 94059A961648D5880094BDCF /* SUAutomaticUpdateAlert.xib in Resources */, + 94059A971648D5880094BDCF /* SUStatus.xib in Resources */, + 94059A981648D5880094BDCF /* SUPasswordPrompt.xib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 94059A9A1648D5960094BDCF /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 94059A9D1648D5AC0094BDCF /* Sparkle.icns in Resources */, + 94059A9C1648D5AA0094BDCF /* Sparkle.strings in Resources */, + 94059A9B1648D5A70094BDCF /* SUStatus.xib in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1462,13 +1438,6 @@ name = SUUpdatePermissionPrompt.xib; sourceTree = ""; }; - 61AAE8220A321A7F00D8810D /* Sparkle.strings */ = { - isa = PBXVariantGroup; - children = ( - ); - name = Sparkle.strings; - sourceTree = ""; - }; 61B5F92A09C4CFD800B25A18 /* InfoPlist.strings */ = { isa = PBXVariantGroup; children = ( @@ -1499,7 +1468,6 @@ 946D995E1648708C00145DA7 /* Sparkle.strings */ = { isa = PBXVariantGroup; children = ( - 946D995F1648708C00145DA7 /* ar */, 946D99631648709900145DA7 /* ca */, 946D9965164870AA00145DA7 /* cs */, 946D9966164870AA00145DA7 /* cy */, @@ -1531,6 +1499,8 @@ 945F7D7516487125001E5600 /* uk */, 945F7D7616487125001E5600 /* zh_CN */, 945F7D7716487125001E5600 /* zh_TW */, + 94059A9E1648D6530094BDCF /* pt_PT */, + 94059AA01648D9BC0094BDCF /* ar */, ); name = Sparkle.strings; sourceTree = ""; From 69c9c70d21c91fe4b886b6cfcc870afd2dae6e9c Mon Sep 17 00:00:00 2001 From: Jonathan Mitchell Date: Tue, 27 Nov 2012 10:20:02 +0000 Subject: [PATCH 15/26] Add explicit method return types in header to supress warnings when including framework in projects with more exacting warnings such as -Wextra. --- SUUpdater.h | 4 ++-- SUUpdater.m | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/SUUpdater.h b/SUUpdater.h index ff04620c..cd795667 100644 --- a/SUUpdater.h +++ b/SUUpdater.h @@ -27,12 +27,12 @@ + (SUUpdater *)sharedUpdater; + (SUUpdater *)updaterForBundle:(NSBundle *)bundle; -- initForBundle:(NSBundle *)bundle; +- (id)initForBundle:(NSBundle *)bundle; - (NSBundle *)hostBundle; - (void)setDelegate:(id)delegate; -- delegate; +- (id)delegate; - (void)setAutomaticallyChecksForUpdates:(BOOL)automaticallyChecks; - (BOOL)automaticallyChecksForUpdates; diff --git a/SUUpdater.m b/SUUpdater.m index 87a66833..7b8c81b6 100644 --- a/SUUpdater.m +++ b/SUUpdater.m @@ -551,7 +551,7 @@ static NSString * const SUUpdaterDefaultsObservationContext = @"SUUpdaterDefault return driver && ([driver finished] == NO); } -- delegate { return delegate; } +- (id)delegate { return delegate; } - (NSBundle *)hostBundle { return [host bundle]; } @end From 41b2f054f837d92d112a6a39a9c5246e71e6e31b Mon Sep 17 00:00:00 2001 From: Doug Russell Date: Thu, 6 Dec 2012 13:40:55 -0800 Subject: [PATCH 16/26] Fixed warnings in xibs, switched to lldb and fixed occasional copy phase error from incorrect text encoding --- .../xcshareddata/xcschemes/Sparkle.xcscheme | 4 +- ar.lproj/SUUpdatePermissionPrompt.xib | 18 +-- pt_BR.lproj/SUUpdateAlert.xib | 116 +++++++++--------- th.lproj/Sparkle.strings | Bin 8958 -> 6694 bytes 4 files changed, 68 insertions(+), 70 deletions(-) diff --git a/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme b/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme index f81adc7d..b1f77545 100644 --- a/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme +++ b/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme @@ -50,7 +50,7 @@ @@ -77,7 +77,7 @@ - 1050 - 12B19 - 2549 - 1187 - 624.00 + 1070 + 12C60 + 2843 + 1187.34 + 625.00 com.apple.InterfaceBuilder.CocoaPlugin - 2549 + 2843 YES @@ -1151,7 +1151,11 @@ IHNlbnQ6A IBCocoaFramework com.apple.InterfaceBuilder.CocoaPlugin.macosx - + + + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 diff --git a/pt_BR.lproj/SUUpdateAlert.xib b/pt_BR.lproj/SUUpdateAlert.xib index aadef594..391fef95 100644 --- a/pt_BR.lproj/SUUpdateAlert.xib +++ b/pt_BR.lproj/SUUpdateAlert.xib @@ -1,11 +1,11 @@ - 1050 - 11E53 - 2182 - 1138.47 - 569.00 + 1070 + 12C3006 + 2844 + 1187.34 + 625.00 YES @@ -15,24 +15,24 @@ YES - 2182 - 1117 + 2844 + 1810 YES - NSButton - NSTextFieldCell - NSButtonCell - NSImageView NSBox - NSImageCell - WebView + NSButton + NSButtonCell NSCustomObject + NSImageCell + NSImageView + NSTextField + NSTextFieldCell + NSUserDefaultsController NSView NSWindowTemplate - NSTextField - NSUserDefaultsController + WebView YES @@ -57,7 +57,7 @@ 15 2 - {{248, 463}, {582, 375}} + {{63, 446}, {582, 375}} -260571136 Atualização de Software NSWindow @@ -92,7 +92,7 @@ YES - 130560 + 134217728 33554432 NSImage @@ -103,6 +103,7 @@ 0 NO + NO YES @@ -114,7 +115,7 @@ YES - 67239424 + 67108864 272629760 @@ -142,6 +143,7 @@ + NO @@ -152,7 +154,7 @@ YES - 67239424 + 67108864 272629760 Sobre a atualização: @@ -164,6 +166,7 @@ + NO @@ -174,7 +177,7 @@ YES - 67239424 + 67108864 134217728 Mais Tarde @@ -183,7 +186,7 @@ 1044 - -2038284033 + -2038284288 1 @@ -191,6 +194,7 @@ 200 25 + NO @@ -201,12 +205,12 @@ YES - 67239424 + 67108864 134217728 Pular Esta Versão - -2038284033 + -2038284288 1 @@ -216,6 +220,7 @@ 200 25 + NO @@ -226,12 +231,12 @@ YES - -2080244224 + -2080374784 134217728 Instalar Atualização - -2038284033 + -2038284288 1 @@ -239,6 +244,7 @@ 200 25 + NO @@ -314,7 +320,7 @@ {0, 0} - 67239424 + 67108864 0 @@ -351,7 +357,7 @@ YES - 67239424 + 67108864 4194304 @@ -363,6 +369,7 @@ + NO @@ -373,12 +380,12 @@ YES - 67239424 + 67108864 131072 Sempre baixar e instalar atualizações automaticamente - 1211912703 + 1211912448 2 NSSwitch @@ -388,6 +395,7 @@ 200 25 + NO {582, 375} @@ -395,7 +403,7 @@ - {{0, 0}, {1366, 746}} + {{0, 0}, {1440, 878}} {586, 392} {10000000000000, 10000000000000} @@ -929,37 +937,33 @@ YES YES - delegate description installButton + laterButton releaseNotesView - versionDisplayer + skipButton YES - id NSTextField NSButton + NSButton WebView - id + NSButton YES YES - delegate description installButton + laterButton releaseNotesView - versionDisplayer + skipButton YES - - delegate - id - description NSTextField @@ -968,13 +972,17 @@ installButton NSButton + + laterButton + NSButton + releaseNotesView WebView - versionDisplayer - id + skipButton + NSButton @@ -991,31 +999,17 @@ ./Classes/SUWindowController.h - - WebView - - reloadFromOrigin: - id - - - reloadFromOrigin: - - reloadFromOrigin: - id - - - - IBProjectSource - ./Classes/WebView.h - - 0 IBCocoaFramework com.apple.InterfaceBuilder.CocoaPlugin.macosx - + + + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 diff --git a/th.lproj/Sparkle.strings b/th.lproj/Sparkle.strings index c1efcd6c1388a89a8ed6090f98de2e4aba8a7a3f..50ce3b0212d2ccbecac657b57bd7ee863c902bd1 100644 GIT binary patch literal 6694 zcmd6sZI2UG6vto7r??QvqG6Y)FO6|gi7|*6kQiUyZEv>|rZdgVbZg)7U;-lVM9GRl z7osE@6CW^6zs12; zyTj(AbQE{ZBpsPJy5!__l;nktV-pp+BXhAGC7r&}!;^IU#u4+nXZh^rnjo;)vEldD!1t8%ZJUaQKR`tiE% zWuvZ?V;`ETpiSv1=l=~m*pe9m4{!$DSkgUO)u-3N7eKOH+enuK4jwJ z8@d3A|EQ*)SLOX6w|wMo)^PrxRr#~(DeI5CcIeQ_RXozM$y$Ls%xKuP1)do9@k~^# z;fzs|M9H@4W$D0J_04*k#1pfV#-oArPO+vN<(Et}u-ne08E!G@u!uS~Hr*`RaU14r zy5qcJI1p!M=G1T)v!aO7BsaY@?z-#*#|K~HTfMR9yUd+XKNs1=*limn8#DhlDp%!? zYU;h(;CLFd{92V?x4eKOd2_F}=bafc#0BjAQ(eHa8Ysavf2i50>9qxrBSoV!8hPmQz-Deh1U8_E zqEz0X1($P`8ehb}z7iT?hfU#t&M3>E5^x3rOyb5aFU*e1a^Pa@j*Viw6}uJ^lvGsD zyVaD)BRtU=GuKA(%8NJnsx39<^D5#@A{e4T171p8|0~&{pqYs4>q1?9EAZdkSi)vC z{|TKfBd;Yi^pgsQ!yijws(?A(Vx~Q%kOR$Pj=g$x^F=(ql))Zz9VdbZc&Pye2fCw;(!)H}r{RPVX^1#Hma)6ym zjLS08OWIL-pjb%A7)2Jj9Z69>dGWHBW&=$u8|H)9*_^7O&K)Kuzh#~`RCQwgk)rIX z;szDJso!|=1bsjsI-?>0-w$iH0C4Q(TfS1V6ZUTo!M79|o+al}4t{4F8+@_A{$*4; zy(TnOe&^X=FJ_sL{z^dDXRvWUid_?AVl<&wZ@B;2SXdK=KwtkG10BpLg0$z(YVMOF zvz?+gn$0?WEp46UyXN)#LLs?Yhis`8F92)tL9D}q5%u+|}B!Q0OR+ydX!hI=Mx z!(2Wzm+{YY39q50xS0z`({rx-w5f`s5b}Y`2tcYMSOvc0H<$uAgyi!WdUabM_K_~{ zgxMMub!FHj+i^rwNE6fKT2k>REQ@GUqzI#x(cMqkq@jd9uzMo}v1z*z@Z~YFOb!8` z0F_GVvigISTEZV#trF}sjHCzcMVro6w&T&Jf8h#EFhMw63+-MBZNz+iuIwRPq1)bi!cRkF}qHtD!Hlyf45>I&q@yH{2}$XwJO^?>vC<9DSS z`mS?HKqg9ip2{~i0$#*bgbqRD3r$?r@a(Lml;ytt{?Ib6=-7<*B?X14p#{!*G0lP4 zmJvoV%FQ@RXaM|h2Z2t{GT!6mS)QF1nPeu(9Jscl zZ94$;^ z9_xbig2(f~<+%=l5}5*SXM7A8Hz_pGl%6{O>qSYF_sMZeE$8d8UocU)X?_YPZd~+d z5cO=hy6D?NS}vJDr3r(=iOKtfmfGVS&1MxrBZ zkbB`S^mPoWBSt$aQt2-kZ*jJ+Y7@pA=3|l#BQ>rV+X=G_Ij6nC3~Vye&Gn4S6Enlp zQB5{AfupcAO2D$!a0vg)5TNFBjPlRSR86mHAV9%BGC7$yv>7B0_}^Q0NefQ`Yowvm z({vT8tFM&HxjSS(VfR_#^#n3W){#Mr<|icZV;j}B$!${RlFWSGK-MP7!NUmCyhjsy zE>x23YMOwICmK!rv|>(6hZ$PqebKhGIb5kX*ITrV@zVx1Sex0sYi9XG#u7dh*HpAM zQ-_$&Xf>35^!j)mamm38!#W*->_atfeC+H4YFU`d%^b_@M3{PhM7O{{ zKH~p(6UqNHFv1#1el%P!(sdc1*XU`2W_4v-`ql6{6*IUkWxY3%Sjk-0Nu{gy$H98KxFpdg1jenucI9ZBndCj|v=il?h_nxy5)=`kS9aZ7eDnSRuJ&=%h0I-CTXf5A+SOd$HQjfvg)4QpGCF$Y+U`W2rhFeq9gKU9 zqeJ|*-;LhJ6~3h>(gVoy9^W{GT;fh~z3Zwt`U~f$c$(60v#OR zU-EUFui^VAKkpYHllrRP@Y6V&g50d!+lGANuKS<;SAIrhrZCP5=UDB#bw`-f5O+CSBBFzPJ&f5E1V6=n9>*G1+$q91&KgEI#o(0Vyc3go3MD( z&y6sY;&@(gaSIqAPFs+B0IZ}V#1c{WftZTFf#-?fRlkVe9iVd#pA@phY6=-1O^r}S zj2XJV#0W&*0;Gt{8s4)4`B;OS{x+^O@%*~~7Cu3&rg(zyNpWu;*H&@$I{c%F_d&SyouT2j38sGS>v1$*P9Ei;sITfpF-vk!y z0{vZyMMN+Waxy{=?R+M7W-Qvplf+_~y+br@L2Hk(_7*Imnxy8oaK-dc7mF<-wrCt; zthqd0X!I;wS?bbv(V98Iysahv_aQMopEoS3e^|thqwx|DQXaK6GT#}+<|;5%)HD%( zPqNz&z(6*B7e{RYr?q!pGwGO2ROa=>7#vVloFUi4=URvX3qaQm{H}_JO%^vth@1NE zFuRb4)z^7nnZ%^#vW7XRmlpjq%+P$j=&{vEx2nf-)R=!#eli*P<5prBHZZI#XNuQV z^Z{GVHHpE7px|SR{+?hyWThgrnPg;IgH6d*8JCp>93k_ENUcnhGSma}ZV$g?yJWXy zn}Na5_I=6m1K}2y`R_vR4~g1jxXL~A`I|gNc@UX$zDi(jfZh}x{GYcijc*Mact>aVmtTNS_LR_C1qNSLmZ7e zb!JVg;SBH|<`8@Lr{v3vYbJ>cJKIgzwF1^VBXNH`)474Hth>?to?7cTVb2;?z#5P3 zM{i0TlO1t}|Cv^~cB>L7V`06G6%$*{92S3=#@Ruiwn zW@fd|3V6Ko#)}z|J$Jb)dQ{43K5RW%-Vx)dY%QkgqL;E3&T3tmw?1~Uzv@}6p=Yqj z=c&AJ!{UK!go@&G@!?SEj?sBhrMbL5XS=?vr%fKY+0}g#M!F+HC? zS7zfU85`?aY~%5xGW(4~&eP1OdKQoRyL$rUXl7=ex}WiM-i<9?fe+_*elHL`xHHw5 z!MU8^6DsG-#M%QokZ8oa+1SE}q*lS za)5DFE6W&hAD?WFps!mlVZI2Ocp-DJu9h(%&WGHKojK0Tx))kw4r6HtqL`5$;thY} z=~Mh_mxd!AA}_STEjai0kCDi``xql=EZ@h784r;}={OUXb-EZ!wlm#=@%eHcOuHsr zdj_3^S?tf7(kZiEgjQ9pqZao?0uQv^&$yh-J_#!27?;&`b{3T9-9lZ3yvI5yT9@Sc zEb1_!{-vGIEFM2!e2;vNBMTGxuJba8CUR+J`Ja}4vcsLUE@@Y}#2;@N4vFsrLZ zw5kS>nU6@JhZrI%t8PSnKru00&dw}aS}Y)%$+9f|gxa9?zm?(HyKD!kk&dy_I-cyC z^9k+OY35~AiCKvH`W?tApW_aS>{=r(Yme&DaU`NX$$+;Vy9~zR%$xJG4;>Yo@x`5| zP}wf}X?guR?kfe Date: Sat, 8 Dec 2012 14:28:08 +1300 Subject: [PATCH 17/26] update .gitignore --- .gitignore | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..a4c9527f --- /dev/null +++ b/.gitignore @@ -0,0 +1,18 @@ +# Xcode +build/* +*.pbxuser +!default.pbxuser +*.mode1v3 +!default.mode1v3 +*.mode2v3 +!default.mode2v3 +*.perspectivev3 +!default.perspectivev3 +*.xcworkspace +!default.xcworkspace +xcuserdata/ +profile +*.moved-aside + +## Ignore incredibly annoying .DS_Store files +.DS_Store From 8fa758f8aa600ea8a96c0166e74c3bcb8acd8eaf Mon Sep 17 00:00:00 2001 From: Ryan Maxwell Date: Sat, 12 Jan 2013 14:42:50 +1300 Subject: [PATCH 18/26] Fix "corrupted" turkish strings file --- tr.lproj/Sparkle.strings | Bin 9286 -> 9284 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/tr.lproj/Sparkle.strings b/tr.lproj/Sparkle.strings index cec2d689cff6379370908a2989b30a41ea372f4e..cabc211605a1a86066cf9ca29f25bd5bd6cd3362 100644 GIT binary patch delta 594 zcmX@+am0h^|G&w4+-Zzl8?!euvT`v1;bcXoOh&HF-AwvS$O4o7*~BM1ur5Fr+w9Ng z%g71V1=i^(=g-JB`766CvZBc=IV@55ft(9b_=#LcQTQMEG&k?#Rzq>lg%31*GmGd9n8t--zCdrh7ZXQOR4T5G z!snL=N8w+UC`aM%mdr=t&y>oA@)wHPPWF(N0NRl#Esdh)wR9?!4-86nP{1lNcuu}3 zAUgSgj2~1cUsidtnJh@Rzbs65zN|HnzZ%YmM1-`QBEmGF{6sl_Wd3GT`L{4HLo}2t d1|ln%EUV;+!r!d~iz$futIDZ7@Yn}B7630$bfy3R delta 618 zcmX@&am<71|GxZ}I}60yJw(f#R#s#WpjE!UJW#m@gym zsu3o>mbTnwli$d{B;M3@HT_sjVs p^EVsIzlDVvL_?`!AhLqV(n_8v{GCd$D1)fKtenaNPZ2=J0s!XrbZ7to From d593a04dda9333dc6aaa0e7a78be996463b7fda5 Mon Sep 17 00:00:00 2001 From: Ryan Maxwell Date: Sat, 12 Jan 2013 14:45:10 +1300 Subject: [PATCH 19/26] Update Project file/Scheme to recommended Xcode settings --- Sparkle.xcodeproj/project.pbxproj | 34 +++++++------------ .../xcshareddata/xcschemes/Sparkle.xcscheme | 1 + 2 files changed, 14 insertions(+), 21 deletions(-) diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index c473b4b8..8a5362f4 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -80,11 +80,6 @@ 612DCBAF0D488BC60015DBEA /* SUUpdatePermissionPrompt.h in Headers */ = {isa = PBXBuildFile; fileRef = 612DCBAD0D488BC60015DBEA /* SUUpdatePermissionPrompt.h */; settings = {ATTRIBUTES = (); }; }; 612DCBB00D488BC60015DBEA /* SUUpdatePermissionPrompt.m in Sources */ = {isa = PBXBuildFile; fileRef = 612DCBAE0D488BC60015DBEA /* SUUpdatePermissionPrompt.m */; }; 61407C390A4099050009F71F /* Sparkle.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* Sparkle.framework */; }; - 6149E6F21601ABAC008A351E /* Sparkle.strings in Resources */ = {isa = PBXBuildFile; fileRef = 61AAE8220A321A7F00D8810D /* Sparkle.strings */; }; - 6149E6F31601ABAC008A351E /* SUUpdatePermissionPrompt.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14C05136EF2C700649790 /* SUUpdatePermissionPrompt.xib */; }; - 6149E6F41601ABAC008A351E /* SUUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BF0136EF26100649790 /* SUUpdateAlert.xib */; }; - 6149E6F51601ABAC008A351E /* SUAutomaticUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BDA136EF20D00649790 /* SUAutomaticUpdateAlert.xib */; }; - 6149E6F61601ABAC008A351E /* SUStatus.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BD8136EF00C00649790 /* SUStatus.xib */; }; 6158A1C5137904B300487EC1 /* SUUpdater_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 6158A1C4137904B300487EC1 /* SUUpdater_Private.h */; }; 615AE3D00D64DC40001CA7BD /* SUModelTranslation.plist in Resources */ = {isa = PBXBuildFile; fileRef = 615AE3CF0D64DC40001CA7BD /* SUModelTranslation.plist */; }; 6160E7E10D3B4A8800E9CD71 /* NTSynchronousTask.h in Headers */ = {isa = PBXBuildFile; fileRef = 610EC1C00CF3914D00AE239E /* NTSynchronousTask.h */; settings = {ATTRIBUTES = (); }; }; @@ -135,11 +130,6 @@ 61D85D6D0E10B2ED00F9B4A9 /* SUPipedUnarchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 6129C0B90E0B79810062CE76 /* SUPipedUnarchiver.m */; }; 61EF67560E25B58D00F754E0 /* SUHost.m in Sources */ = {isa = PBXBuildFile; fileRef = 61EF67550E25B58D00F754E0 /* SUHost.m */; }; 61EF67590E25C5B400F754E0 /* SUHost.h in Headers */ = {isa = PBXBuildFile; fileRef = 61EF67580E25C5B400F754E0 /* SUHost.h */; }; - 61F3AC1315C22D4A00260CA2 /* Sparkle.strings in Resources */ = {isa = PBXBuildFile; fileRef = 61AAE8220A321A7F00D8810D /* Sparkle.strings */; }; - 61F3AC1815C22D5900260CA2 /* Sparkle.strings in Resources */ = {isa = PBXBuildFile; fileRef = 61AAE8220A321A7F00D8810D /* Sparkle.strings */; }; - 61F3AC1915C22D5900260CA2 /* SUUpdatePermissionPrompt.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14C05136EF2C700649790 /* SUUpdatePermissionPrompt.xib */; }; - 61F3AC1A15C22D5900260CA2 /* SUUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BF0136EF26100649790 /* SUUpdateAlert.xib */; }; - 61F3AC1B15C22D5900260CA2 /* SUAutomaticUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BDA136EF20D00649790 /* SUAutomaticUpdateAlert.xib */; }; 61F83F720DBFE140006FDD30 /* SUBasicUpdateDriver.m in Sources */ = {isa = PBXBuildFile; fileRef = 61F83F700DBFE137006FDD30 /* SUBasicUpdateDriver.m */; }; 61F83F740DBFE141006FDD30 /* SUBasicUpdateDriver.h in Headers */ = {isa = PBXBuildFile; fileRef = 61F83F6F0DBFE137006FDD30 /* SUBasicUpdateDriver.h */; settings = {ATTRIBUTES = (); }; }; 61FA52880E2D9EA400EF58AD /* Sparkle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* Sparkle.framework */; settings = {ATTRIBUTES = (Required, ); }; }; @@ -918,7 +908,7 @@ 0867D690FE84028FC02AAC07 /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 0420; + LastUpgradeCheck = 0450; }; buildConfigurationList = 1DEB91B108733DA50010E9CD /* Build configuration list for PBXProject "Sparkle" */; compatibilityVersion = "Xcode 3.2"; @@ -1021,16 +1011,6 @@ 55C14C19136EF2C700649790 /* SUUpdatePermissionPrompt.xib in Resources */, 55C14F3B136EFCB300649790 /* finish_installation.app in Resources */, 93FB277F156BD826001937C7 /* SUPasswordPrompt.xib in Resources */, - 61F3AC1315C22D4A00260CA2 /* Sparkle.strings in Resources */, - 61F3AC1815C22D5900260CA2 /* Sparkle.strings in Resources */, - 61F3AC1915C22D5900260CA2 /* SUUpdatePermissionPrompt.xib in Resources */, - 61F3AC1A15C22D5900260CA2 /* SUUpdateAlert.xib in Resources */, - 61F3AC1B15C22D5900260CA2 /* SUAutomaticUpdateAlert.xib in Resources */, - 6149E6F21601ABAC008A351E /* Sparkle.strings in Resources */, - 6149E6F31601ABAC008A351E /* SUUpdatePermissionPrompt.xib in Resources */, - 6149E6F41601ABAC008A351E /* SUUpdateAlert.xib in Resources */, - 6149E6F51601ABAC008A351E /* SUAutomaticUpdateAlert.xib in Resources */, - 6149E6F61601ABAC008A351E /* SUStatus.xib in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1385,6 +1365,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = FA1941CA0D94A70100DD942E /* ConfigFrameworkDebug.xcconfig */; buildSettings = { + COMBINE_HIDPI_IMAGES = YES; }; name = Debug; }; @@ -1392,6 +1373,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = FA1941D50D94A70100DD942E /* ConfigFrameworkRelease.xcconfig */; buildSettings = { + COMBINE_HIDPI_IMAGES = YES; }; name = Release; }; @@ -1412,6 +1394,7 @@ baseConfigurationReference = FA1941D30D94A70100DD942E /* ConfigRelaunchDebug.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = NO; GCC_DYNAMIC_NO_PIC = NO; GCC_MODEL_TUNING = G5; @@ -1435,6 +1418,7 @@ baseConfigurationReference = FA1941D40D94A70100DD942E /* ConfigRelaunchRelease.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; GCC_MODEL_TUNING = G5; @@ -1458,6 +1442,7 @@ baseConfigurationReference = FA1941D40D94A70100DD942E /* ConfigRelaunchRelease.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + COMBINE_HIDPI_IMAGES = YES; GCC_MODEL_TUNING = G5; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = finish_installation.pch; @@ -1504,6 +1489,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = 61072EB20DF2640C008FE88B /* ConfigFrameworkReleaseGCSupport.xcconfig */; buildSettings = { + COMBINE_HIDPI_IMAGES = YES; }; name = "Release (GC dual-mode; 10.5+)"; }; @@ -1511,6 +1497,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = 615409A8103BA09100125AF1 /* ConfigTestAppReleaseGCSupport.xcconfig */; buildSettings = { + COMBINE_HIDPI_IMAGES = YES; }; name = "Release (GC dual-mode; 10.5+)"; }; @@ -1518,6 +1505,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = FA302AFD109D13190060F891 /* ConfigUnitTestReleaseGCSupport.xcconfig */; buildSettings = { + COMBINE_HIDPI_IMAGES = YES; }; name = "Release (GC dual-mode; 10.5+)"; }; @@ -1525,6 +1513,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = FA3AAF3A1050B273004B3130 /* ConfigUnitTestDebug.xcconfig */; buildSettings = { + COMBINE_HIDPI_IMAGES = YES; }; name = Debug; }; @@ -1532,6 +1521,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = FA3AAF391050B273004B3130 /* ConfigUnitTestRelease.xcconfig */; buildSettings = { + COMBINE_HIDPI_IMAGES = YES; }; name = Release; }; @@ -1539,6 +1529,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = FA1941CB0D94A70100DD942E /* ConfigTestAppDebug.xcconfig */; buildSettings = { + COMBINE_HIDPI_IMAGES = YES; }; name = Debug; }; @@ -1546,6 +1537,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = FA1941D20D94A70100DD942E /* ConfigTestAppRelease.xcconfig */; buildSettings = { + COMBINE_HIDPI_IMAGES = YES; }; name = Release; }; diff --git a/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme b/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme index b1f77545..9b8b9ad7 100644 --- a/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme +++ b/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme @@ -1,5 +1,6 @@ Date: Wed, 30 Jan 2013 11:30:58 +1300 Subject: [PATCH 20/26] Fix stuffing unsigned int into int variable, causing build warning --- SUStandardVersionComparator.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SUStandardVersionComparator.m b/SUStandardVersionComparator.m index 2d7d0535..f6f894c3 100644 --- a/SUStandardVersionComparator.m +++ b/SUStandardVersionComparator.m @@ -84,7 +84,7 @@ typedef enum { NSArray *partsB = [self splitVersionString:versionB]; NSString *partA, *partB; - int i, n; + NSUInteger i, n; long long valueA, valueB; SUCharacterType typeA, typeB; From c37fc01bb1eb11ae12bccdfa2e649ec2712243c4 Mon Sep 17 00:00:00 2001 From: Michael Ehrmann Date: Mon, 26 Nov 2012 17:17:29 +0100 Subject: [PATCH 21/26] Release notes referenced by URL in updates item description field can be delivered via https:// --- SUAppcastItem.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SUAppcastItem.m b/SUAppcastItem.m index c989f7e0..525d3fef 100644 --- a/SUAppcastItem.m +++ b/SUAppcastItem.m @@ -232,7 +232,7 @@ // Find the appropriate release notes URL. if ([dict objectForKey:@"sparkle:releaseNotesLink"]) [self setReleaseNotesURL:[NSURL URLWithString:[dict objectForKey:@"sparkle:releaseNotesLink"]]]; - else if ([[self itemDescription] hasPrefix:@"http://"]) // if the description starts with http://, use that. + else if ([[self itemDescription] hasPrefix:@"http://"] || [[self itemDescription] hasPrefix:@"https://"]) // if the description starts with http:// or https:// use that. [self setReleaseNotesURL:[NSURL URLWithString:[self itemDescription]]]; else [self setReleaseNotesURL:nil]; From 0ed83cf9f2eeb425d4fdd141c01a29d843970c20 Mon Sep 17 00:00:00 2001 From: Michael Ehrmann Date: Mon, 26 Nov 2012 17:21:22 +0100 Subject: [PATCH 22/26] Fixing issue with update as non admin user where the quarantine flag did not get correctly removed from new application --- SUPlainInstallerInternals.m | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/SUPlainInstallerInternals.m b/SUPlainInstallerInternals.m index 15eb16b4..1eb6b8a8 100644 --- a/SUPlainInstallerInternals.m +++ b/SUPlainInstallerInternals.m @@ -198,17 +198,12 @@ static BOOL AuthorizationExecuteWithPrivilegesAndWait(AuthorizationRef authoriza // quarantine to avoid a delay at launch, and to avoid // presenting the user with a confusing trust dialog. // - // This needs to be done after the application is moved to its - // new home with "mv" in case it's moved across filesystems: if - // that happens, "mv" actually performs a copy and may result - // in the application being quarantined. It also needs to be - // done before "chown" changes ownership, because the ownership - // change will almost certainly make it impossible to change - // attributes to release the files from the quarantine. + // This needs to be done before "chown" changes ownership, + // because the ownership change will fail if the file is quarantined. if (res) { SULog(@"releaseFromQuarantine"); - [self performSelectorOnMainThread:@selector(releaseFromQuarantine:) withObject:dst waitUntilDone:YES]; + [self performSelectorOnMainThread:@selector(releaseFromQuarantine:) withObject:src waitUntilDone:YES]; } if( res ) // Set permissions while it's still in source, so we have it with working and correct perms when it arrives at destination. @@ -252,6 +247,21 @@ static BOOL AuthorizationExecuteWithPrivilegesAndWait(AuthorizationRef authoriza AuthorizationFree(auth, 0); + // If the currently-running application is trusted, the new + // version should be trusted as well. Remove it from the + // quarantine to avoid a delay at launch, and to avoid + // presenting the user with a confusing trust dialog. + // + // This needs to be done after the application is moved to its + // new home with "mv" in case it's moved across filesystems: if + // that happens, "mv" actually performs a copy and may result + // in the application being quarantined. + if (res) + { + SULog(@"releaseFromQuarantine after installing"); + [self performSelectorOnMainThread:@selector(releaseFromQuarantine:) withObject:dst waitUntilDone:YES]; + } + if (!res) { // Something went wrong somewhere along the way, but we're not sure exactly where. From b221fca03170ae91ee7079bedd508868c34b3855 Mon Sep 17 00:00:00 2001 From: Sam Deane Date: Fri, 8 Feb 2013 14:48:47 +0000 Subject: [PATCH 23/26] Fixed security warning for a non-constant format string. --- SUUIBasedUpdateDriver.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SUUIBasedUpdateDriver.m b/SUUIBasedUpdateDriver.m index dc37e056..fffdfd40 100644 --- a/SUUIBasedUpdateDriver.m +++ b/SUUIBasedUpdateDriver.m @@ -201,7 +201,7 @@ - (void)abortUpdateWithError:(NSError *)error { - NSAlert *alert = [NSAlert alertWithMessageText:SULocalizedString(@"Update Error!", nil) defaultButton:SULocalizedString(@"Cancel Update", nil) alternateButton:nil otherButton:nil informativeTextWithFormat:[error localizedDescription]]; + NSAlert *alert = [NSAlert alertWithMessageText:SULocalizedString(@"Update Error!", nil) defaultButton:SULocalizedString(@"Cancel Update", nil) alternateButton:nil otherButton:nil informativeTextWithFormat:@"%@", [error localizedDescription]]; [self showModalAlert:alert]; [super abortUpdateWithError:error]; } From 4e4012b31f016c198f22cce598fc42100959b331 Mon Sep 17 00:00:00 2001 From: Sam Deane Date: Fri, 8 Feb 2013 14:49:10 +0000 Subject: [PATCH 24/26] Xcode 4.6 project updates. --- Sparkle.xcodeproj/project.pbxproj | 17 ++++++++++++++++- .../xcshareddata/xcschemes/Sparkle.xcscheme | 4 ++-- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index ea22d451..8a9da595 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -1014,7 +1014,7 @@ 0867D690FE84028FC02AAC07 /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 0430; + LastUpgradeCheck = 0460; }; buildConfigurationList = 1DEB91B108733DA50010E9CD /* Build configuration list for PBXProject "Sparkle" */; compatibilityVersion = "Xcode 3.2"; @@ -1516,6 +1516,7 @@ i386, x86_64, ); + COMBINE_HIDPI_IMAGES = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; }; name = Debug; @@ -1528,6 +1529,7 @@ i386, x86_64, ); + COMBINE_HIDPI_IMAGES = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; GCC_GENERATE_DEBUGGING_SYMBOLS = YES; }; @@ -1550,6 +1552,7 @@ baseConfigurationReference = FA1941D30D94A70100DD942E /* ConfigRelaunchDebug.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = NO; GCC_DYNAMIC_NO_PIC = NO; GCC_MODEL_TUNING = G5; @@ -1573,6 +1576,7 @@ baseConfigurationReference = FA1941D40D94A70100DD942E /* ConfigRelaunchRelease.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; GCC_MODEL_TUNING = G5; @@ -1596,6 +1600,7 @@ baseConfigurationReference = FA1941D40D94A70100DD942E /* ConfigRelaunchRelease.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + COMBINE_HIDPI_IMAGES = YES; GCC_MODEL_TUNING = G5; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = finish_installation.pch; @@ -1646,6 +1651,7 @@ i386, x86_64, ); + COMBINE_HIDPI_IMAGES = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; GCC_GENERATE_DEBUGGING_SYMBOLS = YES; }; @@ -1655,6 +1661,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = 615409A8103BA09100125AF1 /* ConfigTestAppReleaseGCSupport.xcconfig */; buildSettings = { + COMBINE_HIDPI_IMAGES = YES; }; name = "Release (GC dual-mode; 10.5+)"; }; @@ -1662,6 +1669,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = FA302AFD109D13190060F891 /* ConfigUnitTestReleaseGCSupport.xcconfig */; buildSettings = { + COMBINE_HIDPI_IMAGES = YES; }; name = "Release (GC dual-mode; 10.5+)"; }; @@ -1669,6 +1677,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = FA3AAF3A1050B273004B3130 /* ConfigUnitTestDebug.xcconfig */; buildSettings = { + COMBINE_HIDPI_IMAGES = YES; }; name = Debug; }; @@ -1676,6 +1685,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = FA3AAF391050B273004B3130 /* ConfigUnitTestRelease.xcconfig */; buildSettings = { + COMBINE_HIDPI_IMAGES = YES; }; name = Release; }; @@ -1683,6 +1693,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = FA1941CB0D94A70100DD942E /* ConfigTestAppDebug.xcconfig */; buildSettings = { + COMBINE_HIDPI_IMAGES = YES; }; name = Debug; }; @@ -1690,6 +1701,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = FA1941D20D94A70100DD942E /* ConfigTestAppRelease.xcconfig */; buildSettings = { + COMBINE_HIDPI_IMAGES = YES; }; name = Release; }; @@ -1698,6 +1710,7 @@ baseConfigurationReference = 8B887B711517F447000BB292 /* ConfigServiceDebug.xcconfig */; buildSettings = { ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + COMBINE_HIDPI_IMAGES = YES; GCC_GENERATE_DEBUGGING_SYMBOLS = YES; INFOPLIST_FILE = SandboxService.plist; OTHER_CFLAGS = "-DDEBUG"; @@ -1710,6 +1723,7 @@ baseConfigurationReference = 8B887B721517F447000BB292 /* ConfigServiceRelease.xcconfig */; buildSettings = { ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + COMBINE_HIDPI_IMAGES = YES; GCC_GENERATE_DEBUGGING_SYMBOLS = YES; INFOPLIST_FILE = SandboxService.plist; VALID_ARCHS = x86_64; @@ -1721,6 +1735,7 @@ baseConfigurationReference = 8B887B721517F447000BB292 /* ConfigServiceRelease.xcconfig */; buildSettings = { ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + COMBINE_HIDPI_IMAGES = YES; GCC_GENERATE_DEBUGGING_SYMBOLS = YES; INFOPLIST_FILE = SandboxService.plist; VALID_ARCHS = x86_64; diff --git a/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme b/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme index 96b230a6..1e5f2905 100644 --- a/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme +++ b/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme @@ -1,6 +1,6 @@ From 678b08c153d8581cd412e2066e74348bdf22071b Mon Sep 17 00:00:00 2001 From: Sam Deane Date: Fri, 8 Mar 2013 13:56:52 +0000 Subject: [PATCH 25/26] Use @rpath as the install path. --- Sparkle.xcodeproj/project.pbxproj | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index c367c4a8..c0bf18d0 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -1600,6 +1600,7 @@ ); COMBINE_HIDPI_IMAGES = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + INSTALL_PATH = "@rpath"; }; name = Debug; }; @@ -1614,6 +1615,7 @@ COMBINE_HIDPI_IMAGES = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + INSTALL_PATH = "@rpath"; }; name = Release; }; @@ -1736,6 +1738,7 @@ COMBINE_HIDPI_IMAGES = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + INSTALL_PATH = "@rpath"; }; name = "Release (GC dual-mode; 10.5+)"; }; From ea50a33b46ceeef19b92534a29cc8d3463f67b23 Mon Sep 17 00:00:00 2001 From: Sam Deane Date: Fri, 8 Mar 2013 14:05:32 +0000 Subject: [PATCH 26/26] =?UTF-8?q?A=20bit=20of=20Xcode=20project=20tidying?= =?UTF-8?q?=20(I=20didn't=20touch=20it,=20so=20presumably=20Xcode=20just?= =?UTF-8?q?=20did=20it=E2=80=A6)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sparkle.xcodeproj/project.pbxproj | 74 ------------------------------- 1 file changed, 74 deletions(-) diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index c0bf18d0..068740b5 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -10,13 +10,7 @@ 3772FEA913DE0B6B00F79537 /* SUVersionDisplayProtocol.h in Headers */ = {isa = PBXBuildFile; fileRef = 3772FEA813DE0B6B00F79537 /* SUVersionDisplayProtocol.h */; settings = {ATTRIBUTES = (Public, ); }; }; 525A2790133D6AE900FD8D70 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 525A278F133D6AE900FD8D70 /* Cocoa.framework */; }; 525A27A0133D6B9700FD8D70 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 525A278F133D6AE900FD8D70 /* Cocoa.framework */; }; - 550347011370023A00AE7681 /* Sparkle.icns in Resources */ = {isa = PBXBuildFile; fileRef = 550347001370023A00AE7681 /* Sparkle.icns */; }; 55C14BD4136EEFCE00649790 /* finish_installation.m in Sources */ = {isa = PBXBuildFile; fileRef = 55C14BD3136EEFCE00649790 /* finish_installation.m */; }; - 55C14BD9136EF00C00649790 /* SUStatus.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BD8136EF00C00649790 /* SUStatus.xib */; }; - 55C14BEE136EF20D00649790 /* SUAutomaticUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BDA136EF20D00649790 /* SUAutomaticUpdateAlert.xib */; }; - 55C14BEF136EF21700649790 /* SUStatus.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BD8136EF00C00649790 /* SUStatus.xib */; }; - 55C14C04136EF26100649790 /* SUUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BF0136EF26100649790 /* SUUpdateAlert.xib */; }; - 55C14C19136EF2C700649790 /* SUUpdatePermissionPrompt.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14C05136EF2C700649790 /* SUUpdatePermissionPrompt.xib */; }; 55C14EE8136EF61D00649790 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 525A278F133D6AE900FD8D70 /* Cocoa.framework */; }; 55C14F00136EF6B700649790 /* SUConstants.m in Sources */ = {isa = PBXBuildFile; fileRef = 61299A5F09CA6EB100B7442F /* SUConstants.m */; }; 55C14F06136EF6DB00649790 /* SULog.h in Headers */ = {isa = PBXBuildFile; fileRef = 55C14F04136EF6DB00649790 /* SULog.h */; }; @@ -32,10 +26,8 @@ 55C14F24136EF86F00649790 /* SUPackageInstaller.m in Sources */ = {isa = PBXBuildFile; fileRef = 618FA5210DAE8E8A0026945C /* SUPackageInstaller.m */; }; 55C14F2A136EF9A900649790 /* SUWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = 61180BC90D64138900B4E0D1 /* SUWindowController.m */; }; 55C14F32136EFC2400649790 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 55C14F31136EFC2400649790 /* SystemConfiguration.framework */; }; - 55C14F3B136EFCB300649790 /* finish_installation.app in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BB7136EEF1500649790 /* finish_installation.app */; }; 55C14F7E136F005000649790 /* SUPlainInstallerInternals.m in Sources */ = {isa = PBXBuildFile; fileRef = 61B5F8E509C4CE3C00B25A18 /* SUPlainInstallerInternals.m */; }; 55C14F9A136F045400649790 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 61B5F8F609C4CEB300B25A18 /* Security.framework */; }; - 55C14FC7136F05E100649790 /* Sparkle.strings in Resources */ = {isa = PBXBuildFile; fileRef = 61AAE8220A321A7F00D8810D /* Sparkle.strings */; }; 5D06E8D80FD68C8E005AE3F6 /* Sparkle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* Sparkle.framework */; }; 5D06E8E90FD68CDB005AE3F6 /* bsdiff.c in Sources */ = {isa = PBXBuildFile; fileRef = 5D06E8DB0FD68CB9005AE3F6 /* bsdiff.c */; settings = {COMPILER_FLAGS = "-Wno-shorten-64-to-32"; }; }; 5D06E8EA0FD68CDB005AE3F6 /* SUBinaryDeltaTool.m in Sources */ = {isa = PBXBuildFile; fileRef = 5D06E8E30FD68CC7005AE3F6 /* SUBinaryDeltaTool.m */; }; @@ -81,7 +73,6 @@ 612DCBB00D488BC60015DBEA /* SUUpdatePermissionPrompt.m in Sources */ = {isa = PBXBuildFile; fileRef = 612DCBAE0D488BC60015DBEA /* SUUpdatePermissionPrompt.m */; }; 61407C390A4099050009F71F /* Sparkle.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* Sparkle.framework */; }; 6158A1C5137904B300487EC1 /* SUUpdater_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 6158A1C4137904B300487EC1 /* SUUpdater_Private.h */; }; - 615AE3D00D64DC40001CA7BD /* SUModelTranslation.plist in Resources */ = {isa = PBXBuildFile; fileRef = 615AE3CF0D64DC40001CA7BD /* SUModelTranslation.plist */; }; 6160E7E10D3B4A8800E9CD71 /* NTSynchronousTask.h in Headers */ = {isa = PBXBuildFile; fileRef = 610EC1C00CF3914D00AE239E /* NTSynchronousTask.h */; settings = {ATTRIBUTES = (); }; }; 61699BCC0DDB92BD005878A4 /* SUVersionComparisonTest.h in Headers */ = {isa = PBXBuildFile; fileRef = 61227A140DB548B800AB99EA /* SUVersionComparisonTest.h */; settings = {ATTRIBUTES = (); }; }; 618E9CFD0E7328F1004646D8 /* dsa_pub.pem in Resources */ = {isa = PBXBuildFile; fileRef = 618E9CFC0E7328F1004646D8 /* dsa_pub.pem */; }; @@ -100,7 +91,6 @@ 61A2279D0D1CEE7600430CCD /* SUSystemProfiler.m in Sources */ = {isa = PBXBuildFile; fileRef = 61A2279B0D1CEE7600430CCD /* SUSystemProfiler.m */; }; 61A354550DF113C70076ECB1 /* SUUserInitiatedUpdateDriver.h in Headers */ = {isa = PBXBuildFile; fileRef = 61A354530DF113C70076ECB1 /* SUUserInitiatedUpdateDriver.h */; settings = {ATTRIBUTES = (); }; }; 61A354560DF113C70076ECB1 /* SUUserInitiatedUpdateDriver.m in Sources */ = {isa = PBXBuildFile; fileRef = 61A354540DF113C70076ECB1 /* SUUserInitiatedUpdateDriver.m */; }; - 61AAE8280A321A7F00D8810D /* Sparkle.strings in Resources */ = {isa = PBXBuildFile; fileRef = 61AAE8220A321A7F00D8810D /* Sparkle.strings */; }; 61B078CE15A5FB6100600039 /* SUCodeSigningVerifier.h in Headers */ = {isa = PBXBuildFile; fileRef = 61B078CC15A5FB6100600039 /* SUCodeSigningVerifier.h */; }; 61B078CF15A5FB6100600039 /* SUCodeSigningVerifier.m in Sources */ = {isa = PBXBuildFile; fileRef = 61B078CD15A5FB6100600039 /* SUCodeSigningVerifier.m */; }; 61B5F8ED09C4CE3C00B25A18 /* SUUpdater.h in Headers */ = {isa = PBXBuildFile; fileRef = 61B5F8E309C4CE3C00B25A18 /* SUUpdater.h */; settings = {ATTRIBUTES = (Public, ); }; }; @@ -125,7 +115,6 @@ 61B93C090DD112FF00DCD2F8 /* SUScheduledUpdateDriver.h in Headers */ = {isa = PBXBuildFile; fileRef = 61B93C070DD112FF00DCD2F8 /* SUScheduledUpdateDriver.h */; settings = {ATTRIBUTES = (); }; }; 61B93C0A0DD112FF00DCD2F8 /* SUScheduledUpdateDriver.m in Sources */ = {isa = PBXBuildFile; fileRef = 61B93C080DD112FF00DCD2F8 /* SUScheduledUpdateDriver.m */; }; 61BBDF820A49220C00378739 /* Sparkle.icns in Resources */ = {isa = PBXBuildFile; fileRef = 61BBDF810A49220C00378739 /* Sparkle.icns */; }; - 61C2680A0E2DB5D000175E6C /* License.txt in Resources */ = {isa = PBXBuildFile; fileRef = 61C268090E2DB5D000175E6C /* License.txt */; }; 61CFB3290E385186007A1735 /* Sparkle.pch in Headers */ = {isa = PBXBuildFile; fileRef = 61CFB3280E385186007A1735 /* Sparkle.pch */; }; 61D85D6D0E10B2ED00F9B4A9 /* SUPipedUnarchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 6129C0B90E0B79810062CE76 /* SUPipedUnarchiver.m */; }; 61EF67560E25B58D00F754E0 /* SUHost.m in Sources */ = {isa = PBXBuildFile; fileRef = 61EF67550E25B58D00F754E0 /* SUHost.m */; }; @@ -215,7 +204,6 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ - 0263187214FEBB31005EBF43 /* uk */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = uk; path = uk.lproj/Sparkle.strings; sourceTree = ""; }; 0263187514FEBB42005EBF43 /* uk */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = uk; path = uk.lproj/SUAutomaticUpdateAlert.xib; sourceTree = ""; }; 0263187614FEBB42005EBF43 /* uk */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = uk; path = uk.lproj/SUUpdateAlert.xib; sourceTree = ""; }; 0263187714FEBB42005EBF43 /* uk */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = uk; path = uk.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; @@ -316,15 +304,10 @@ 610EC1BF0CF3914D00AE239E /* NTSynchronousTask.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NTSynchronousTask.m; sourceTree = ""; }; 610EC1C00CF3914D00AE239E /* NTSynchronousTask.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NTSynchronousTask.h; sourceTree = ""; }; 611142E810FB1BE5009810AA /* bspatch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = bspatch.h; sourceTree = ""; }; - 61131A050F846CE600E97AF6 /* da */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = da; path = da.lproj/Sparkle.strings; sourceTree = ""; }; - 61131A090F846D0A00E97AF6 /* zh_CN */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = zh_CN; path = zh_CN.lproj/Sparkle.strings; sourceTree = ""; }; - 61131A0A0F846D1100E97AF6 /* zh_TW */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = zh_TW; path = zh_TW.lproj/Sparkle.strings; sourceTree = ""; }; 6113C9D315BE1D3600C303E7 /* pt_BR */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = pt_BR; path = pt_BR.lproj/SUPasswordPrompt.xib; sourceTree = ""; }; 6117796E0D1112E000749C97 /* IOKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IOKit.framework; path = /System/Library/Frameworks/IOKit.framework; sourceTree = ""; }; 61180BC80D64138900B4E0D1 /* SUWindowController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUWindowController.h; sourceTree = ""; }; 61180BC90D64138900B4E0D1 /* SUWindowController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUWindowController.m; sourceTree = ""; }; - 611A904210240DD300CC659E /* pl */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = pl; path = pl.lproj/Sparkle.strings; sourceTree = ""; }; - 611A904610240DF700CC659E /* ja */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/Sparkle.strings; sourceTree = ""; }; 6120721009CC5C4B007FE0F6 /* SUAutomaticUpdateAlert.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUAutomaticUpdateAlert.h; sourceTree = ""; }; 6120721109CC5C4B007FE0F6 /* SUAutomaticUpdateAlert.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUAutomaticUpdateAlert.m; sourceTree = ""; }; 612279D90DB5470200AB99EA /* Sparkle Unit Tests.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Sparkle Unit Tests.octest"; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -342,14 +325,11 @@ 6129C0B90E0B79810062CE76 /* SUPipedUnarchiver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUPipedUnarchiver.m; sourceTree = ""; }; 612DCBAD0D488BC60015DBEA /* SUUpdatePermissionPrompt.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUUpdatePermissionPrompt.h; sourceTree = ""; }; 612DCBAE0D488BC60015DBEA /* SUUpdatePermissionPrompt.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUUpdatePermissionPrompt.m; sourceTree = ""; }; - 613151B20FB4946A000DCD59 /* is */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = is; path = is.lproj/Sparkle.strings; sourceTree = ""; }; - 6149E6EA1601ABAC008A351E /* ar */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = ar; path = ar.lproj/Sparkle.strings; sourceTree = ""; }; 6149E6ED1601ABAC008A351E /* ar */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ar; path = ar.lproj/SUAutomaticUpdateAlert.xib; sourceTree = ""; }; 6149E6EE1601ABAC008A351E /* ar */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ar; path = ar.lproj/SUPasswordPrompt.xib; sourceTree = ""; }; 6149E6EF1601ABAC008A351E /* ar */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ar; path = ar.lproj/SUUpdateAlert.xib; sourceTree = ""; }; 6149E6F01601ABAC008A351E /* ar */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ar; path = ar.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; 615409A8103BA09100125AF1 /* ConfigTestAppReleaseGCSupport.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigTestAppReleaseGCSupport.xcconfig; sourceTree = ""; }; - 615409C4103BBC4000125AF1 /* cs */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = cs; path = cs.lproj/Sparkle.strings; sourceTree = ""; }; 6158A1B81378F64700487EC1 /* pt_PT */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = pt_PT; path = pt_PT.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; 6158A1BA1378F68100487EC1 /* pt_PT */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = pt_PT; path = pt_PT.lproj/SUAutomaticUpdateAlert.xib; sourceTree = ""; }; 6158A1BB1378F68100487EC1 /* pt_PT */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = pt_PT; path = pt_PT.lproj/SUUpdateAlert.xib; sourceTree = ""; }; @@ -358,9 +338,6 @@ 6158A1C01378F8BB00487EC1 /* tr */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = tr; path = tr.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; 6158A1C4137904B300487EC1 /* SUUpdater_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUUpdater_Private.h; sourceTree = ""; }; 615AE3CF0D64DC40001CA7BD /* SUModelTranslation.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = SUModelTranslation.plist; sourceTree = ""; }; - 6160FD85134ABCD5007FFC5F /* tr */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = tr; path = tr.lproj/Sparkle.strings; sourceTree = ""; }; - 6186554310D7484E00B1E074 /* pt_PT */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = pt_PT; path = pt_PT.lproj/Sparkle.strings; sourceTree = ""; }; - 618915730E35937600B5E981 /* sv */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = sv; path = sv.lproj/Sparkle.strings; sourceTree = ""; }; 618E9CFC0E7328F1004646D8 /* dsa_pub.pem */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = dsa_pub.pem; path = "Test Application/dsa_pub.pem"; sourceTree = ""; }; 618FA4FF0DAE88B40026945C /* SUInstaller.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUInstaller.h; sourceTree = ""; }; 618FA5000DAE88B40026945C /* SUInstaller.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUInstaller.m; sourceTree = ""; }; @@ -368,10 +345,8 @@ 618FA5040DAE8AB80026945C /* SUPlainInstaller.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUPlainInstaller.m; sourceTree = ""; }; 618FA5200DAE8E8A0026945C /* SUPackageInstaller.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUPackageInstaller.h; sourceTree = ""; }; 618FA5210DAE8E8A0026945C /* SUPackageInstaller.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUPackageInstaller.m; sourceTree = ""; }; - 6195D4920E404AD700D41A50 /* ru */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = ru; path = ru.lproj/Sparkle.strings; sourceTree = ""; }; 6196CFE309C71ADE000DC222 /* SUStatusController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUStatusController.h; sourceTree = ""; }; 6196CFE409C71ADE000DC222 /* SUStatusController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUStatusController.m; sourceTree = ""; }; - 619B17200E1E9D0800E72754 /* de */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/Sparkle.strings; sourceTree = ""; }; 61A2259C0D1C495D00430CCD /* SUVersionComparisonProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUVersionComparisonProtocol.h; sourceTree = ""; }; 61A225A20D1C4AC000430CCD /* SUStandardVersionComparator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUStandardVersionComparator.h; sourceTree = ""; }; 61A225A30D1C4AC000430CCD /* SUStandardVersionComparator.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUStandardVersionComparator.m; sourceTree = ""; }; @@ -379,10 +354,6 @@ 61A2279B0D1CEE7600430CCD /* SUSystemProfiler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUSystemProfiler.m; sourceTree = ""; }; 61A354530DF113C70076ECB1 /* SUUserInitiatedUpdateDriver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUUserInitiatedUpdateDriver.h; sourceTree = ""; }; 61A354540DF113C70076ECB1 /* SUUserInitiatedUpdateDriver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUUserInitiatedUpdateDriver.m; sourceTree = ""; }; - 61AAE8230A321A7F00D8810D /* en */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Sparkle.strings; sourceTree = ""; }; - 61AAE84F0A321AF700D8810D /* es */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/Sparkle.strings; sourceTree = ""; }; - 61AAE8590A321B0400D8810D /* fr */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/Sparkle.strings; sourceTree = ""; }; - 61AAE8710A321F7700D8810D /* nl */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = nl; path = nl.lproj/Sparkle.strings; sourceTree = ""; }; 61B078CC15A5FB6100600039 /* SUCodeSigningVerifier.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUCodeSigningVerifier.h; sourceTree = ""; }; 61B078CD15A5FB6100600039 /* SUCodeSigningVerifier.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUCodeSigningVerifier.m; sourceTree = ""; }; 61B5F8E309C4CE3C00B25A18 /* SUUpdater.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SUUpdater.h; sourceTree = ""; }; @@ -407,26 +378,21 @@ 61B93B260DD0FDD300DCD2F8 /* SUAutomaticUpdateDriver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUAutomaticUpdateDriver.m; sourceTree = ""; }; 61B93C070DD112FF00DCD2F8 /* SUScheduledUpdateDriver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUScheduledUpdateDriver.h; sourceTree = ""; }; 61B93C080DD112FF00DCD2F8 /* SUScheduledUpdateDriver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUScheduledUpdateDriver.m; sourceTree = ""; }; - 61BA66CC14BDFA0400D02D86 /* sl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = sl; path = sl.lproj/Sparkle.strings; sourceTree = ""; }; 61BA66DA14BDFC5500D02D86 /* sl */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = sl; path = sl.lproj/SUAutomaticUpdateAlert.xib; sourceTree = ""; }; 61BA66DB14BDFC5500D02D86 /* sl */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = sl; path = sl.lproj/SUUpdateAlert.xib; sourceTree = ""; }; 61BA66DC14BDFC5500D02D86 /* sl */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = sl; path = sl.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; 61BBDF810A49220C00378739 /* Sparkle.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = Sparkle.icns; sourceTree = ""; }; 61C268090E2DB5D000175E6C /* License.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = License.txt; sourceTree = ""; }; 61CFB3280E385186007A1735 /* Sparkle.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Sparkle.pch; sourceTree = ""; }; - 61DEC1161477565C00931268 /* ro */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = ro; path = ro.lproj/Sparkle.strings; sourceTree = ""; }; 61DEC1181477566800931268 /* ro */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ro; path = ro.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; 61DEC11A1477567800931268 /* ro */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ro; path = ro.lproj/SUUpdateAlert.xib; sourceTree = ""; }; 61DEC11C1477568300931268 /* ro */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ro; path = ro.lproj/SUAutomaticUpdateAlert.xib; sourceTree = ""; }; - 61E31A80103299500051D188 /* pt_BR */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = pt_BR; path = pt_BR.lproj/Sparkle.strings; sourceTree = ""; }; 61EF67550E25B58D00F754E0 /* SUHost.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUHost.m; sourceTree = ""; }; 61EF67580E25C5B400F754E0 /* SUHost.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUHost.h; sourceTree = ""; }; - 61F3AC1215C22D4A00260CA2 /* th */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = th; path = th.lproj/Sparkle.strings; sourceTree = ""; }; 61F3AC1415C22D5900260CA2 /* th */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = th; path = th.lproj/SUAutomaticUpdateAlert.xib; sourceTree = ""; }; 61F3AC1515C22D5900260CA2 /* th */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = th; path = th.lproj/SUPasswordPrompt.xib; sourceTree = ""; }; 61F3AC1615C22D5900260CA2 /* th */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = th; path = th.lproj/SUUpdateAlert.xib; sourceTree = ""; }; 61F3AC1715C22D5900260CA2 /* th */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = th; path = th.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; - 61F614540E24A12D009F47E7 /* it */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/Sparkle.strings; sourceTree = ""; }; 61F83F6F0DBFE137006FDD30 /* SUBasicUpdateDriver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUBasicUpdateDriver.h; sourceTree = ""; }; 61F83F700DBFE137006FDD30 /* SUBasicUpdateDriver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUBasicUpdateDriver.m; sourceTree = ""; }; 8B887B5E1517F3AB000BB292 /* com.andymatuschak.Sparkle.SandboxService.xpc */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = com.andymatuschak.Sparkle.SandboxService.xpc; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -1122,16 +1088,6 @@ /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ - 55C14BB3136EEF1500649790 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 55C14BD9136EF00C00649790 /* SUStatus.xib in Resources */, - 55C14FC7136F05E100649790 /* Sparkle.strings in Resources */, - 550347011370023A00AE7681 /* Sparkle.icns in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; 612279D40DB5470200AB99EA /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; @@ -1490,36 +1446,6 @@ name = SUUpdatePermissionPrompt.xib; sourceTree = ""; }; - 61AAE8220A321A7F00D8810D /* Sparkle.strings */ = { - isa = PBXVariantGroup; - children = ( - 61AAE8230A321A7F00D8810D /* en */, - 61AAE84F0A321AF700D8810D /* es */, - 61AAE8590A321B0400D8810D /* fr */, - 61AAE8710A321F7700D8810D /* nl */, - 619B17200E1E9D0800E72754 /* de */, - 61F614540E24A12D009F47E7 /* it */, - 618915730E35937600B5E981 /* sv */, - 6195D4920E404AD700D41A50 /* ru */, - 61131A050F846CE600E97AF6 /* da */, - 61131A090F846D0A00E97AF6 /* zh_CN */, - 61131A0A0F846D1100E97AF6 /* zh_TW */, - 613151B20FB4946A000DCD59 /* is */, - 611A904210240DD300CC659E /* pl */, - 611A904610240DF700CC659E /* ja */, - 61E31A80103299500051D188 /* pt_BR */, - 615409C4103BBC4000125AF1 /* cs */, - 6186554310D7484E00B1E074 /* pt_PT */, - 6160FD85134ABCD5007FFC5F /* tr */, - 61DEC1161477565C00931268 /* ro */, - 61BA66CC14BDFA0400D02D86 /* sl */, - 0263187214FEBB31005EBF43 /* uk */, - 61F3AC1215C22D4A00260CA2 /* th */, - 6149E6EA1601ABAC008A351E /* ar */, - ); - name = Sparkle.strings; - sourceTree = ""; - }; 61B5F92A09C4CFD800B25A18 /* InfoPlist.strings */ = { isa = PBXVariantGroup; children = (