Compare commits

...
Author SHA1 Message Date
Jack Small 9ed687654b Initial import of Sparkle for Carbon changes.
Latest known release from
http://sparkle.downtowncode.com/SparkleForCarbon.html is 1.5b6; this
import corresponds to it exactly. The code appears to be unmaintained
and has a crashing bug in it.
2010-03-29 09:37:27 +02:00
10 changed files with 443 additions and 2 deletions

No files matched your search

+68
View File
@@ -0,0 +1,68 @@
/*
* SUCarbonAPI.h
* Sparkle
*
* Created by Jack Small on 2/22/07.
* Copyright 2007 Jack Small. All rights reserved.
*
*/
#ifndef SUCARBONAPI
#define SUCARBONAPI
#include <Carbon/Carbon.h>
#if PRAGMA_ONCE
#pragma once
#endif
#ifdef __cplusplus
extern "C" {
#endif
enum {
/* This HICommand is handeled automatically by Sparkle and calls SUSparkleCheckForUpdates( TRUE ); */
kHICommandSparkleCheckForUpdates = 'sCUP',
/* This HICommand is sent to the application by Sparkle before kHICommandQuit. If your event
handler returns noErr the kHICommandQuit command is not sent. */
kHICommandSparkleQuitApplication = 'sQAP',
/* This HICommand is sent to the application by Sparkle before starting an update. */
kHICommandSparkleDownloadingUpdate = 'sDUP',
/* This HICommand is sent to the application by Sparkle if users chooses Remind Me Later. */
kHICommandSparkleUpdateRemindLater = 'sRML',
/* This HICommand is sent to the application by Sparkle if user chooses Skip This Version. */
kHICommandSparkleUpdateSkipVersion = 'sSTV',
/* This HICommand is sent to the application by Sparkle if an update panel is displayed. */
kHICommandSparkleUpdateShowPanel = 'sUSP',
/* This HICommand is sent to the application by Sparkle if an update is stopped for some reason. */
kHICommandSparkleDownloadAbandoned = 'sDAB',
};
enum {
kEventClassSparkle = 'Sprk'
};
enum {
kEventSparkleFoundVersion = 1,
kEventParamSparkleVersion = 'sVrs', /* typeCFStringRef (optional) */
kEventParamSparkleIsNew = 'sNew' /* typeBoolean */
};
void SUSparkleInitializeForCarbon( void );
void SUSparkleCheckForUpdates( Boolean showUI );
void SUSparkleCheckWithInterval( double interval );
void SUSparkleCheckStatus( EventTargetRef theEventTarget );
Boolean SUSparkleIsUpdateInProgress( void );
#ifdef __cplusplus
}
#endif
#endif /* SUCARBONAPI */
+31
View File
@@ -0,0 +1,31 @@
//
// SUCarbonUpdater.h
// Sparkle
//
// Created by Jack Small on 2/22/07.
// Copyright 2007 Jack Small. All rights reserved.
//
#if SU_SPARKLE_FOR_CARBON
#import <Cocoa/Cocoa.h>
#import "SUUpdater.h"
#import "SUCarbonAPI.h"
@interface SUCarbonUpdater : SUUpdater
{
EventTargetRef carbonEventTarget;
}
// This utility method was added for Carbon applications to check if updates are running.
// It is called by SUSparkleIsUpdateInProgress().
- (BOOL)updateInProgress;
// This method changes the event target for this updater. If set, a kEventSparkleFoundVersion
// event is sent when an appcast result is found, instead of a traditinal install.
- (id)setCarbonEventTarget:(EventTargetRef)statusEventTarget;
@end
#endif // SU_SPARKLE_FOR_CARBON
+279
View File
@@ -0,0 +1,279 @@
//
// SUCarbonUpdater.m
// Sparkle
//
// Created by Jack Small on 2/22/07.
// Copyright 2007 Jack Small. All rights reserved.
//
#if SU_SPARKLE_FOR_CARBON
#import "SUCarbonUpdater.h"
#import "SUAppcast.h"
#import "SUAppcastItem.h"
#import "SUUpdateAlert.h"
#import <Carbon/Carbon.h>
#ifdef __LP64__
//
// Manual inclusion of ProcessHICommand() prototype
//
// This API should be exported but is not..
// <rdar://problem/6462981> Carbon: ProcessHICommand for 64-bit
// Dec 22, 2008
//
// Future versions of Carbon.framework *will* export the prototype which will
// produce an error on the line below. At that point you can remove this workaround.
extern OSStatus ProcessHICommand(const HICommand* inCommand);
#endif // __LP64__
id g_SharedSUUpdater = nil;
static OSStatus _SparkleEventHandler( EventHandlerCallRef inCallRef, EventRef inEvent, void *inUserData );
static OSStatus _SparkleEventHandler( EventHandlerCallRef inCallRef, EventRef inEvent, void *inUserData )
{
#pragma unused ( inCallRef, inUserData )
HICommand command;
OSStatus err = eventNotHandledErr;
UInt32 eventClass = GetEventClass( inEvent );
UInt32 eventKind = GetEventKind( inEvent );
if( ( eventClass == kEventClassCommand ) && ( eventKind == kEventCommandUpdateStatus ) )
{
GetEventParameter( inEvent, kEventParamDirectObject, typeHICommand, NULL, sizeof(HICommand), NULL, &command );
if ( command.commandID == kHICommandSparkleCheckForUpdates )
{
#if !__LP64__
if( command.attributes & kHICommandFromMenu )
{
if( SUSparkleIsUpdateInProgress() ) DisableMenuItem( command.menu.menuRef, command.menu.menuItemIndex );
else EnableMenuItem( command.menu.menuRef, command.menu.menuItemIndex );
}
#endif
err = noErr;
}
}
if( ( eventClass == kEventClassCommand ) && ( eventKind == kEventCommandProcess ) )
{
GetEventParameter( inEvent, kEventParamDirectObject, typeHICommand, NULL, sizeof(HICommand), NULL, &command );
if ( command.commandID == kHICommandSparkleCheckForUpdates )
{
SUSparkleCheckForUpdates( TRUE );
err = noErr;
}
}
return( err );
}
EventTargetRef SUGetSparkleDefaultEventTarget( void )
{
#if __LP64__
return GetEventDispatcherTarget();
#else
return GetApplicationEventTarget();
#endif // __LP64__
}
void SUSparkleInitializeForCarbon( void )
{
NSAutoreleasePool* aPool;
const EventTypeSpec applicationEvents[] = { { kEventClassCommand, kEventCommandProcess },
{ kEventClassCommand, kEventCommandUpdateStatus }
};
if( g_SharedSUUpdater == nil )
{
InstallEventHandler( SUGetSparkleDefaultEventTarget(), NewEventHandlerUPP(_SparkleEventHandler), GetEventTypeCount(applicationEvents), applicationEvents, 0, NULL );
NSApplicationLoad();
aPool = [[NSAutoreleasePool alloc] init];
g_SharedSUUpdater = [[SUCarbonUpdater alloc] init];
[g_SharedSUUpdater applicationDidFinishLaunching:nil];
[aPool release];
}
}
void SUSparkleCheckForUpdates( Boolean showUI )
{
NSAutoreleasePool* aPool;
if( g_SharedSUUpdater != nil ) {
aPool = [[NSAutoreleasePool alloc] init];
if( showUI ) [g_SharedSUUpdater checkForUpdates:nil];
else [g_SharedSUUpdater checkForUpdatesInBackground];
[aPool release];
}
}
void SUSparkleCheckWithInterval( double interval )
{
NSAutoreleasePool* aPool;
if( g_SharedSUUpdater != nil ) {
aPool = [[NSAutoreleasePool alloc] init];
[g_SharedSUUpdater setUpdateCheckInterval:interval];
[aPool release];
}
}
void SUSparkleCheckStatus( EventTargetRef theEventTarget )
{
NSAutoreleasePool* aPool = [[NSAutoreleasePool alloc] init];
EventTargetRef aTarget = theEventTarget;
if( aTarget == NULL )
aTarget = SUGetSparkleDefaultEventTarget();
[g_SharedSUUpdater setCarbonEventTarget:aTarget];
[g_SharedSUUpdater checkForUpdatesInBackground];
[aPool release];
}
Boolean SUSparkleIsUpdateInProgress( void )
{
Boolean outIsUpdating = FALSE;
if( g_SharedSUUpdater != nil )
outIsUpdating = [g_SharedSUUpdater updateInProgress];
return outIsUpdating;
}
@implementation SUCarbonUpdater
- (id)init
{
if( (self = [super init]) )
carbonEventTarget = NULL;
return self;
}
- (id)setCarbonEventTarget:(EventTargetRef)statusEventTarget
{
carbonEventTarget = statusEventTarget;
return self;
}
- (BOOL)updateInProgress
{
return [super updateInProgress];
}
- (void)foundVersion:(NSString *)versionString isNewVersion:(Boolean)isNewVersion
{
EventRef theEvent;
if( carbonEventTarget != NULL )
{
CreateEvent( kCFAllocatorDefault, kEventClassSparkle, kEventSparkleFoundVersion, 0, kEventAttributeUserEvent, &theEvent );
SetEventParameter( theEvent, kEventParamPostTarget, typeEventTargetRef, sizeof(typeEventTargetRef), &carbonEventTarget );
if( versionString != NULL ) SetEventParameter( theEvent, kEventParamSparkleVersion, typeCFStringRef, sizeof(CFStringRef), &versionString );
SetEventParameter( theEvent, kEventParamSparkleIsNew, typeBoolean, sizeof(Boolean), &isNewVersion );
PostEventToQueue( GetCurrentEventQueue(), theEvent, kEventPriorityStandard );
ReleaseEvent( theEvent );
carbonEventTarget = NULL;
}
}
#pragma mark ### Delegate Functions ###
// Sent when a valid update is found by the update driver.
- (void)updater:(SUUpdater *)updater didFindValidUpdate:(SUAppcastItem *)update
{ [self foundVersion:[update displayVersionString] isNewVersion:TRUE]; }
// Sent when a valid update is not found.
- (void)updaterDidNotFindUpdate:(SUUpdater *)update
{ [self foundVersion:nil isNewVersion:FALSE]; }
// Responsible for quitting the app if special processing is necessary.
- (void)doQuitApplication
{
// Slightly different quit mechanism for Carbon applications.
OSStatus quitResult = eventNotHandledErr;
HICommand quitCommand = { kEventAttributeNone, kHICommandSparkleQuitApplication };
// First send custom Sparkle HICommand
quitResult = ProcessHICommand( &quitCommand );
// Second try regular Quit HICommand
if( quitResult != noErr )
{
quitCommand.commandID = kHICommandQuit;
quitResult = ProcessHICommand( &quitCommand );
}
// Third try using Core Foundation
if( quitResult != noErr )
{
CFRunLoopRef thisLoop = CFRunLoopGetCurrent();
CFStringRef thisMode = CFRunLoopCopyCurrentMode(thisLoop);
if( thisMode != NULL )
{
CFRelease( thisMode );
CFRunLoopStop( thisLoop );
quitResult = noErr;
}
}
// Finally just bail
if( quitResult != noErr ) ExitToShell();
}
// Called in response to an update dialog
- (void)updateAlert:(SUUpdateAlert *)updateAlert finishedWithChoice:(SUUpdateAlertChoice)updateChoice
{
HICommand updateCommand = { kEventAttributeNone, kHICommandSparkleDownloadingUpdate };
HICommand remindCommand = { kEventAttributeNone, kHICommandSparkleUpdateRemindLater };
HICommand skipItCommand = { kEventAttributeNone, kHICommandSparkleUpdateSkipVersion };
HICommand commandActual;
switch ( updateChoice ) {
case SUInstallUpdateChoice:
commandActual = updateCommand;
break;
case SURemindMeLaterChoice:
commandActual = remindCommand;
break;
case SUSkipThisVersionChoice:
commandActual = skipItCommand;
break;
default:
commandActual = updateCommand;
break;
}
ProcessHICommand( &commandActual );
}
// Called when -abortUpdate is called.
- (void)updaterDidAbandonUpdate:(SUUpdater *)updater
{
HICommand aCommand = { kEventAttributeNone, kHICommandSparkleDownloadAbandoned };
ProcessHICommand( &aCommand );
}
// Called when the update panel has been shown
- (void)updaterDidShowUpdatePanel:(SUUpdater *)updater
{
HICommand uCommand = { kEventAttributeNone, kHICommandSparkleUpdateShowPanel };
ProcessHICommand( &uCommand );
}
@end // SUCarbonUpdater
#endif // SU_SPARKLE_FOR_CARBON
+9
View File
@@ -4,4 +4,13 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Carbon Support License
Copyright (c) 2007 Jack Small
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+4 -1
View File
@@ -269,7 +269,10 @@
pathToRelaunch = [[updater delegate] pathToRelaunchForUpdater:updater];
[NSTask launchedTaskWithLaunchPath:relaunchPath arguments:[NSArray arrayWithObjects:pathToRelaunch, [NSString stringWithFormat:@"%d", [[NSProcessInfo processInfo] processIdentifier]], nil]];
[NSApp terminate:self];
if ([[updater delegate] respondsToSelector:@selector(doQuitApplication)])
[[updater delegate] doQuitApplication];
else
[NSApp terminate:self];
}
- (void)cleanUp
+3
View File
@@ -69,5 +69,8 @@ extern OSStatus SUDowngradeError;
#define NSINTEGER_DEFINED 1
#endif
// Set this flag to 1 for Carbon API support
// Won't interfere with Cocoa Version either way.
#define SU_SPARKLE_FOR_CARBON 1
#endif
+8
View File
@@ -14,6 +14,14 @@
@implementation SUUIBasedUpdateDriver
- (void)showUpdateWindow
{
[[updateAlert window] makeKeyAndOrderFront:self];
if ([[updater delegate] respondsToSelector:@selector(updaterDidShowUpdatePanel:)])
[[updater delegate] updaterDidShowUpdatePanel:updater];
}
- (void)didFindValidUpdate
{
updateAlert = [[SUUpdateAlert alloc] initWithAppcastItem:updateItem host:host];
+4
View File
@@ -7,6 +7,7 @@
//
#import "SUUpdateDriver.h"
#import "SUUpdater.h"
NSString *SUUpdateDriverFinishedNotification = @"SUUpdateDriverFinished";
@@ -30,6 +31,9 @@ NSString *SUUpdateDriverFinishedNotification = @"SUUpdateDriverFinished";
{
[self setValue:[NSNumber numberWithBool:YES] forKey:@"finished"];
[[NSNotificationCenter defaultCenter] postNotificationName:SUUpdateDriverFinishedNotification object:self];
if ([[updater delegate] respondsToSelector:@selector(updaterDidAbandonUpdate:)])
[[updater delegate] updaterDidAbandonUpdate:updater];
}
- (BOOL)finished { return finished; }
+9
View File
@@ -100,6 +100,15 @@
// Returns the path which is used to relaunch the client after the update is installed. By default, the path of the host bundle.
- (NSString *)pathToRelaunchForUpdater:(SUUpdater *)updater;
// Called when the update panel has been shown
- (void)updaterDidShowUpdatePanel:(SUUpdater *)updater;
// Called when -abortUpdate is called.
- (void)updaterDidAbandonUpdate:(SUUpdater *)updater;
// Responsible for quitting the app if special processing is necessary.
- (void)doQuitApplication;
@end
// Define some minimum intervals to avoid DOS-like checking attacks. These are in seconds.
+28 -1
View File
@@ -7,6 +7,10 @@
objects = {
/* Begin PBXBuildFile section */
5C7919AC0EFBE07100B25B61 /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5C7919A70EFBE05500B25B61 /* Carbon.framework */; };
5C791A750EFBE0B400B25B61 /* SUCarbonAPI.h in Headers */ = {isa = PBXBuildFile; fileRef = 5C791A720EFBE0B400B25B61 /* SUCarbonAPI.h */; settings = {ATTRIBUTES = (Public, ); }; };
5C791A770EFBE0B400B25B61 /* SUCarbonUpdater.m in Sources */ = {isa = PBXBuildFile; fileRef = 5C791A740EFBE0B400B25B61 /* SUCarbonUpdater.m */; };
5C791B220EFC045A00B25B61 /* SUCarbonUpdater.h in Headers */ = {isa = PBXBuildFile; fileRef = 5C791A730EFBE0B400B25B61 /* SUCarbonUpdater.h */; };
610134730DD250470049ACDF /* SUUpdateDriver.h in Headers */ = {isa = PBXBuildFile; fileRef = 610134710DD250470049ACDF /* SUUpdateDriver.h */; settings = {ATTRIBUTES = (); }; };
610134740DD250470049ACDF /* SUUpdateDriver.m in Sources */ = {isa = PBXBuildFile; fileRef = 610134720DD250470049ACDF /* SUUpdateDriver.m */; };
6101347B0DD2541A0049ACDF /* SUProbingUpdateDriver.h in Headers */ = {isa = PBXBuildFile; fileRef = 610134790DD2541A0049ACDF /* SUProbingUpdateDriver.h */; settings = {ATTRIBUTES = (); }; };
@@ -145,6 +149,10 @@
/* Begin PBXFileReference section */
0867D69BFE84028FC02AAC07 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; };
0867D6A5FE840307C02AAC07 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; };
5C7919A70EFBE05500B25B61 /* Carbon.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Carbon.framework; path = /System/Library/Frameworks/Carbon.framework; sourceTree = "<absolute>"; };
5C791A720EFBE0B400B25B61 /* SUCarbonAPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SUCarbonAPI.h; path = "Carbon Support/SUCarbonAPI.h"; sourceTree = SOURCE_ROOT; };
5C791A730EFBE0B400B25B61 /* SUCarbonUpdater.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SUCarbonUpdater.h; path = "Carbon Support/SUCarbonUpdater.h"; sourceTree = SOURCE_ROOT; };
5C791A740EFBE0B400B25B61 /* SUCarbonUpdater.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SUCarbonUpdater.m; path = "Carbon Support/SUCarbonUpdater.m"; sourceTree = SOURCE_ROOT; };
610134710DD250470049ACDF /* SUUpdateDriver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUUpdateDriver.h; sourceTree = "<group>"; };
610134720DD250470049ACDF /* SUUpdateDriver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUUpdateDriver.m; sourceTree = "<group>"; };
610134790DD2541A0049ACDF /* SUProbingUpdateDriver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUProbingUpdateDriver.h; sourceTree = "<group>"; };
@@ -298,6 +306,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
5C7919AC0EFBE07100B25B61 /* Carbon.framework in Frameworks */,
61B5F8F709C4CEB300B25A18 /* Security.framework in Frameworks */,
61B5FC4C09C4FD5E00B25A18 /* WebKit.framework in Frameworks */,
61177A1F0D1112E900749C97 /* IOKit.framework in Frameworks */,
@@ -350,6 +359,7 @@
0867D69AFE84028FC02AAC07 /* Apple Frameworks and Libraries */ = {
isa = PBXGroup;
children = (
5C7919A70EFBE05500B25B61 /* Carbon.framework */,
6117796E0D1112E000749C97 /* IOKit.framework */,
61B5FC3F09C4FD4000B25A18 /* WebKit.framework */,
61B5F8F609C4CEB300B25A18 /* Security.framework */,
@@ -374,6 +384,16 @@
name = "Framework Resources";
sourceTree = "<group>";
};
5C791A710EFBE0B400B25B61 /* Carbon Support */ = {
isa = PBXGroup;
children = (
5C791A720EFBE0B400B25B61 /* SUCarbonAPI.h */,
5C791A730EFBE0B400B25B61 /* SUCarbonUpdater.h */,
5C791A740EFBE0B400B25B61 /* SUCarbonUpdater.m */,
);
path = "Carbon Support";
sourceTree = SOURCE_ROOT;
};
6101354A0DD25B7F0049ACDF /* Unarchiving */ = {
isa = PBXGroup;
children = (
@@ -522,6 +542,7 @@
61B5F8E409C4CE3C00B25A18 /* SUUpdater.m */,
61CFB2C20E38496B007A1735 /* Drivers */,
61CFB2C10E384958007A1735 /* Support */,
5C791A710EFBE0B400B25B61 /* Carbon Support */,
);
name = "Update Control";
sourceTree = "<group>";
@@ -586,6 +607,8 @@
6102FE5B0E08C7EC00F85D09 /* SUUnarchiver_Private.h in Headers */,
61EF67590E25C5B400F754E0 /* SUHost.h in Headers */,
61CFB3290E385186007A1735 /* Sparkle.pch in Headers */,
5C791A750EFBE0B400B25B61 /* SUCarbonAPI.h in Headers */,
5C791B220EFC045A00B25B61 /* SUCarbonUpdater.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -856,6 +879,7 @@
6102FE5C0E08C7EC00F85D09 /* SUUnarchiver_Private.m in Sources */,
61D85D6D0E10B2ED00F9B4A9 /* SUPipedUnarchiver.m in Sources */,
61EF67560E25B58D00F754E0 /* SUHost.m in Sources */,
5C791A770EFBE0B400B25B61 /* SUCarbonUpdater.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -976,14 +1000,16 @@
isa = XCBuildConfiguration;
baseConfigurationReference = FA1941CA0D94A70100DD942E /* ConfigFrameworkDebug.xcconfig */;
buildSettings = {
GCC_WARN_FOUR_CHARACTER_CONSTANTS = NO;
};
name = Debug;
};
1DEB91AF08733DA50010E9CD /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = FA1941D50D94A70100DD942E /* ConfigFrameworkRelease.xcconfig */;
baseConfigurationReference = 61072EB20DF2640C008FE88B /* ConfigFrameworkReleaseGCSupport.xcconfig */;
buildSettings = {
GCC_DEBUGGING_SYMBOLS = full;
GCC_WARN_FOUR_CHARACTER_CONSTANTS = NO;
};
name = Release;
};
@@ -1013,6 +1039,7 @@
isa = XCBuildConfiguration;
baseConfigurationReference = 61072EB20DF2640C008FE88B /* ConfigFrameworkReleaseGCSupport.xcconfig */;
buildSettings = {
GCC_WARN_FOUR_CHARACTER_CONSTANTS = NO;
INSTALL_PATH = "@loader_path/../Frameworks";
};
name = "Release (GC dual-mode; 10.5-only)";