From 1b48241cb049ef33fbb32799d0fd5bc2486d97b8 Mon Sep 17 00:00:00 2001 From: andym Date: Fri, 28 Mar 2008 06:12:00 +0000 Subject: [PATCH] Converted Sparkle's build configuration system to using inherited xcconfigs; added a default .pbxuser file. Thanks to Sean McBride for his excellent work on this. --- Configurations/ConfigCommon.xcconfig | 39 +++ Configurations/ConfigCommonDebug.xcconfig | 8 + Configurations/ConfigCommonRelease.xcconfig | 9 + Configurations/ConfigFramework.xcconfig | 10 + Configurations/ConfigFrameworkDebug.xcconfig | 5 + .../ConfigFrameworkRelease.xcconfig | 3 + Configurations/ConfigRelaunch.xcconfig | 5 + Configurations/ConfigRelaunchDebug.xcconfig | 5 + Configurations/ConfigRelaunchRelease.xcconfig | 3 + Configurations/ConfigTestApp.xcconfig | 5 + Configurations/ConfigTestAppDebug.xcconfig | 5 + Configurations/ConfigTestAppRelease.xcconfig | 3 + Sparkle.xcodeproj/default.pbxuser | 245 +++++++++++++++ Sparkle.xcodeproj/project.pbxproj | 297 ++++-------------- 14 files changed, 403 insertions(+), 239 deletions(-) create mode 100644 Configurations/ConfigCommon.xcconfig create mode 100644 Configurations/ConfigCommonDebug.xcconfig create mode 100644 Configurations/ConfigCommonRelease.xcconfig create mode 100644 Configurations/ConfigFramework.xcconfig create mode 100644 Configurations/ConfigFrameworkDebug.xcconfig create mode 100644 Configurations/ConfigFrameworkRelease.xcconfig create mode 100644 Configurations/ConfigRelaunch.xcconfig create mode 100644 Configurations/ConfigRelaunchDebug.xcconfig create mode 100644 Configurations/ConfigRelaunchRelease.xcconfig create mode 100644 Configurations/ConfigTestApp.xcconfig create mode 100644 Configurations/ConfigTestAppDebug.xcconfig create mode 100644 Configurations/ConfigTestAppRelease.xcconfig create mode 100644 Sparkle.xcodeproj/default.pbxuser diff --git a/Configurations/ConfigCommon.xcconfig b/Configurations/ConfigCommon.xcconfig new file mode 100644 index 00000000..ea6f5cf1 --- /dev/null +++ b/Configurations/ConfigCommon.xcconfig @@ -0,0 +1,39 @@ +// Common + +PREBINDING = NO +ZERO_LINK = NO +CURRENT_PROJECT_VERSION = 1.5 +SDKROOT = $(DEVELOPER_SDK_DIR)/MacOSX10.5.sdk +MACOSX_DEPLOYMENT_TARGET[arch=ppc] = 10.3 +MACOSX_DEPLOYMENT_TARGET[arch=ppc64] = 10.5 +MACOSX_DEPLOYMENT_TARGET[arch=i386] = 10.4 +MACOSX_DEPLOYMENT_TARGET[arch=x86_64] = 10.5 +GCC_C_LANGUAGE_STANDARD = c99 +GCC_ENABLE_OBJC_EXCEPTIONS = YES +GCC_PRECOMPILE_PREFIX_HEADER = YES +GCC_PREFIX_HEADER = $(SDKROOT)/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h +GCC_FAST_OBJC_DISPATCH = YES +GCC_FAST_OBJC_DISPATCH[arch=ppc] = NO // requires 10.4 +GCC_ENABLE_OBJC_GC = supported + +// Enable warnings +GCC_WARN_CHECK_SWITCH_STATEMENTS = YES +GCC_WARN_EFFECTIVE_CPLUSPLUS_VIOLATIONS = YES +GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES +GCC_WARN_SHADOW = YES +GCC_WARN_64_TO_32_BIT_CONVERSION = YES +GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = YES +GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES +GCC_WARN_ABOUT_RETURN_TYPE = YES +GCC_WARN_MISSING_PARENTHESES = YES +GCC_WARN_ABOUT_MISSING_NEWLINE = YES +GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES +GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = YES +GCC_WARN_ABOUT_POINTER_SIGNEDNESS = YES +GCC_WARN_SIGN_COMPARE = YES +GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES +GCC_WARN_UNKNOWN_PRAGMAS = YES +GCC_WARN_UNUSED_VARIABLE = YES +GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = YES +GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO = YES +WARNING_CFLAGS = -Wall diff --git a/Configurations/ConfigCommonDebug.xcconfig b/Configurations/ConfigCommonDebug.xcconfig new file mode 100644 index 00000000..8bfcf525 --- /dev/null +++ b/Configurations/ConfigCommonDebug.xcconfig @@ -0,0 +1,8 @@ +// Debug only + +GCC_OPTIMIZATION_LEVEL = 0 +DEBUG_INFORMATION_FORMAT = dwarf +GCC_GENERATE_DEBUGGING_SYMBOLS = YES +SPARKLE_EXTRA_DEBUG = -DDEBUG -fstack-protector -D_FORTIFY_SOURCE=2 +OTHER_CFLAGS = $(SPARKLE_EXTRA_DEBUG) +ARCHS = $(NATIVE_ARCH_32_BIT) diff --git a/Configurations/ConfigCommonRelease.xcconfig b/Configurations/ConfigCommonRelease.xcconfig new file mode 100644 index 00000000..1accadc9 --- /dev/null +++ b/Configurations/ConfigCommonRelease.xcconfig @@ -0,0 +1,9 @@ +// Release only + +GCC_OPTIMIZATION_LEVEL = s +DEBUG_INFORMATION_FORMAT = dwarf-with-dsym +GCC_GENERATE_DEBUGGING_SYMBOLS = NO +DEAD_CODE_STRIPPING = YES +GCC_TREAT_WARNINGS_AS_ERRORS = YES +GCC_WARN_UNINITIALIZED_AUTOS = YES +ARCHS = ppc ppc64 i386 x86_64 diff --git a/Configurations/ConfigFramework.xcconfig b/Configurations/ConfigFramework.xcconfig new file mode 100644 index 00000000..2e13c600 --- /dev/null +++ b/Configurations/ConfigFramework.xcconfig @@ -0,0 +1,10 @@ +// Framework only + +INSTALL_PATH = @executable_path/../Frameworks +DYLIB_COMPATIBILITY_VERSION = 1.5 +DYLIB_CURRENT_VERSION = 1.5 +PRODUCT_NAME = Sparkle +WRAPPER_EXTENSION = framework +OTHER_LDFLAGS = -lcrypto +FRAMEWORK_VERSION = A +INFOPLIST_FILE = Info.plist diff --git a/Configurations/ConfigFrameworkDebug.xcconfig b/Configurations/ConfigFrameworkDebug.xcconfig new file mode 100644 index 00000000..4f5379ef --- /dev/null +++ b/Configurations/ConfigFrameworkDebug.xcconfig @@ -0,0 +1,5 @@ +#include "ConfigCommon.xcconfig" +#include "ConfigCommonDebug.xcconfig" +#include "ConfigFramework.xcconfig" + +OTHER_CFLAGS = -fsingle-precision-constant -DDEBUG diff --git a/Configurations/ConfigFrameworkRelease.xcconfig b/Configurations/ConfigFrameworkRelease.xcconfig new file mode 100644 index 00000000..02ee7f37 --- /dev/null +++ b/Configurations/ConfigFrameworkRelease.xcconfig @@ -0,0 +1,3 @@ +#include "ConfigCommon.xcconfig" +#include "ConfigCommonRelease.xcconfig" +#include "ConfigFramework.xcconfig" diff --git a/Configurations/ConfigRelaunch.xcconfig b/Configurations/ConfigRelaunch.xcconfig new file mode 100644 index 00000000..215b2753 --- /dev/null +++ b/Configurations/ConfigRelaunch.xcconfig @@ -0,0 +1,5 @@ +// Relaunch Tool only + +INFOPLIST_FILE = Relaunch Tool-Info.plist +PRODUCT_NAME = relaunch +WRAPPER_EXTENSION = app diff --git a/Configurations/ConfigRelaunchDebug.xcconfig b/Configurations/ConfigRelaunchDebug.xcconfig new file mode 100644 index 00000000..6e50fb75 --- /dev/null +++ b/Configurations/ConfigRelaunchDebug.xcconfig @@ -0,0 +1,5 @@ +#include "ConfigCommon.xcconfig" +#include "ConfigCommonDebug.xcconfig" +#include "ConfigRelaunch.xcconfig" + +OTHER_CFLAGS = -fsingle-precision-constant -DDEBUG diff --git a/Configurations/ConfigRelaunchRelease.xcconfig b/Configurations/ConfigRelaunchRelease.xcconfig new file mode 100644 index 00000000..111f2add --- /dev/null +++ b/Configurations/ConfigRelaunchRelease.xcconfig @@ -0,0 +1,3 @@ +#include "ConfigCommon.xcconfig" +#include "ConfigCommonRelease.xcconfig" +#include "ConfigRelaunch.xcconfig" diff --git a/Configurations/ConfigTestApp.xcconfig b/Configurations/ConfigTestApp.xcconfig new file mode 100644 index 00000000..36540ca4 --- /dev/null +++ b/Configurations/ConfigTestApp.xcconfig @@ -0,0 +1,5 @@ +// Test Application only + +INFOPLIST_FILE = Test Application/Test Application-Info.plist +PRODUCT_NAME = Sparkle Test App +WRAPPER_EXTENSION = app diff --git a/Configurations/ConfigTestAppDebug.xcconfig b/Configurations/ConfigTestAppDebug.xcconfig new file mode 100644 index 00000000..f1137b86 --- /dev/null +++ b/Configurations/ConfigTestAppDebug.xcconfig @@ -0,0 +1,5 @@ +#include "ConfigCommon.xcconfig" +#include "ConfigCommonDebug.xcconfig" +#include "ConfigTestApp.xcconfig" + +OTHER_CFLAGS = -fsingle-precision-constant -DDEBUG diff --git a/Configurations/ConfigTestAppRelease.xcconfig b/Configurations/ConfigTestAppRelease.xcconfig new file mode 100644 index 00000000..48143e3f --- /dev/null +++ b/Configurations/ConfigTestAppRelease.xcconfig @@ -0,0 +1,3 @@ +#include "ConfigCommon.xcconfig" +#include "ConfigCommonRelease.xcconfig" +#include "ConfigTestApp.xcconfig" diff --git a/Sparkle.xcodeproj/default.pbxuser b/Sparkle.xcodeproj/default.pbxuser new file mode 100644 index 00000000..1bddcecd --- /dev/null +++ b/Sparkle.xcodeproj/default.pbxuser @@ -0,0 +1,245 @@ +// !$*UTF8*$! +{ + 0867D690FE84028FC02AAC07 /* Project object */ = { + activeArchitecture = i386; + activeBuildConfigurationName = Debug; + activeExecutable = FAEC981A0D94C8750008EDA9 /* Sparkle Test App */; + activeTarget = 61B5F90109C4CEE200B25A18 /* Sparkle Test App */; + codeSenseManager = FAEC98240D94C8760008EDA9 /* Code sense */; + executables = ( + FAEC981A0D94C8750008EDA9 /* Sparkle Test App */, + FAEC981B0D94C8750008EDA9 /* Relaunch Tool */, + ); + perUserDictionary = { + PBXPerProjectTemplateStateSaveDate = 227854453; + PBXWorkspaceStateSaveDate = 227854453; + }; + sourceControlManager = FAEC98230D94C8760008EDA9 /* Source Control */; + userBuildSettings = { + }; + }; + 61B5F90109C4CEE200B25A18 /* Sparkle Test App */ = { + activeExec = 0; + executables = ( + FAEC981A0D94C8750008EDA9 /* Sparkle Test App */, + ); + }; + 8DC2EF4F0486A6940098B216 /* Sparkle */ = { + activeExec = 0; + }; + D1E42C2E0CE754AE00F50EB9 /* Relaunch Tool */ = { + activeExec = 0; + executables = ( + FAEC981B0D94C8750008EDA9 /* Relaunch Tool */, + ); + }; + FAEC981A0D94C8750008EDA9 /* Sparkle Test App */ = { + isa = PBXExecutable; + activeArgIndices = ( + ); + argumentStrings = ( + ); + autoAttachOnCrash = 1; + breakpointsEnabled = 1; + configStateDict = { + }; + customDataFormattersEnabled = 1; + debuggerPlugin = GDBDebugging; + disassemblyDisplayState = 0; + dylibVariantSuffix = ""; + enableDebugStr = 1; + environmentEntries = ( + { + active = YES; + name = MallocPreScribble; + value = 1; + }, + { + active = YES; + name = MallocScribble; + value = 1; + }, + { + active = YES; + name = MallocGuardEdges; + value = 1; + }, + { + active = YES; + name = MallocCheckHeapStart; + value = 1; + }, + { + active = YES; + name = MallocCheckHeapEach; + value = 100000; + }, + { + active = YES; + name = MallocStackLogging; + value = 1; + }, + { + active = NO; + name = MallocStackLoggingNoCompact; + value = 1; + }, + { + active = YES; + name = NSDebugEnabled; + value = YES; + }, + { + active = YES; + name = NSZombieEnabled; + value = YES; + }, + { + active = NO; + name = NSDeallocateZombies; + value = NO; + }, + { + active = YES; + name = NSAutoreleaseFreedObjectCheckEnabled; + value = YES; + }, + { + active = NO; + name = MALLOC_PROTECT_BEFORE; + value = 1; + }, + { + active = YES; + name = MALLOC_ALTIVEC_SIZE; + value = 1; + }, + { + active = YES; + name = MALLOC_FILL_SPACE; + value = 1; + }, + { + active = NO; + name = CFZombieLevel; + value = 65553; + }, + ); + executableSystemSymbolLevel = 0; + executableUserSymbolLevel = 0; + libgmallocEnabled = 0; + name = "Sparkle Test App"; + sourceDirectories = ( + ); + }; + FAEC981B0D94C8750008EDA9 /* Relaunch Tool */ = { + isa = PBXExecutable; + activeArgIndices = ( + ); + argumentStrings = ( + ); + autoAttachOnCrash = 1; + breakpointsEnabled = 1; + configStateDict = { + }; + customDataFormattersEnabled = 1; + debuggerPlugin = GDBDebugging; + disassemblyDisplayState = 0; + dylibVariantSuffix = ""; + enableDebugStr = 1; + environmentEntries = ( + { + active = YES; + name = MallocPreScribble; + value = 1; + }, + { + active = YES; + name = MallocScribble; + value = 1; + }, + { + active = YES; + name = MallocGuardEdges; + value = 1; + }, + { + active = YES; + name = MallocCheckHeapStart; + value = 1; + }, + { + active = YES; + name = MallocCheckHeapEach; + value = 100000; + }, + { + active = YES; + name = MallocStackLogging; + value = 1; + }, + { + active = NO; + name = MallocStackLoggingNoCompact; + value = 1; + }, + { + active = YES; + name = NSDebugEnabled; + value = YES; + }, + { + active = YES; + name = NSZombieEnabled; + value = YES; + }, + { + active = NO; + name = NSDeallocateZombies; + value = NO; + }, + { + active = YES; + name = NSAutoreleaseFreedObjectCheckEnabled; + value = YES; + }, + { + active = NO; + name = MALLOC_PROTECT_BEFORE; + value = 1; + }, + { + active = YES; + name = MALLOC_ALTIVEC_SIZE; + value = 1; + }, + { + active = YES; + name = MALLOC_FILL_SPACE; + value = 1; + }, + { + active = NO; + name = CFZombieLevel; + value = 65553; + }, + ); + executableSystemSymbolLevel = 0; + executableUserSymbolLevel = 0; + libgmallocEnabled = 0; + name = "Relaunch Tool"; + sourceDirectories = ( + ); + }; + FAEC98230D94C8760008EDA9 /* Source Control */ = { + isa = PBXSourceControlManager; + fallbackIsa = XCSourceControlManager; + isSCMEnabled = 0; + scmConfiguration = { + }; + }; + FAEC98240D94C8760008EDA9 /* Code sense */ = { + isa = PBXCodeSenseManager; + indexTemplatePath = ""; + }; +} diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index a63c9db3..a48ca832 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -68,10 +68,15 @@ 61B5FCDE09C52A9F00B25A18 /* SUUpdateAlert.m in Sources */ = {isa = PBXBuildFile; fileRef = 61B5FCA109C5228F00B25A18 /* SUUpdateAlert.m */; }; 61B5FCDF09C52A9F00B25A18 /* SUUpdateAlert.h in Headers */ = {isa = PBXBuildFile; fileRef = 61B5FCA009C5228F00B25A18 /* SUUpdateAlert.h */; settings = {ATTRIBUTES = (Public, ); }; }; 61BBDF820A49220C00378739 /* Sparkle.icns in Resources */ = {isa = PBXBuildFile; fileRef = 61BBDF810A49220C00378739 /* Sparkle.icns */; }; - 8DC2EF570486A6940098B216 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7B1FEA5585E11CA2CBB /* Cocoa.framework */; }; D1BE33120D78B6BD00E7D068 /* SUUpdatePermissionPrompt.nib in Resources */ = {isa = PBXBuildFile; fileRef = D1BE33110D78B6BD00E7D068 /* SUUpdatePermissionPrompt.nib */; }; D1E42C370CE754C700F50EB9 /* relaunch.m in Sources */ = {isa = PBXBuildFile; fileRef = 613242130CD06CEF00106AA4 /* relaunch.m */; }; D1E42C3B0CE755A000F50EB9 /* relaunch.app in CopyFiles */ = {isa = PBXBuildFile; fileRef = D1E42C2F0CE754AE00F50EB9 /* relaunch.app */; }; + FAEFA2F70D94AA7500472538 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0867D69BFE84028FC02AAC07 /* Foundation.framework */; }; + FAEFA2F80D94AA7900472538 /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0867D6A5FE840307C02AAC07 /* AppKit.framework */; }; + FAEFA2FA0D94AA8300472538 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0867D69BFE84028FC02AAC07 /* Foundation.framework */; }; + FAEFA2FC0D94AA8900472538 /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0867D6A5FE840307C02AAC07 /* AppKit.framework */; }; + FAEFA3040D94AB3400472538 /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0867D6A5FE840307C02AAC07 /* AppKit.framework */; }; + FAEFA3050D94AB3400472538 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0867D69BFE84028FC02AAC07 /* Foundation.framework */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -117,7 +122,6 @@ /* Begin PBXFileReference section */ 0867D69BFE84028FC02AAC07 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = ""; }; 0867D6A5FE840307C02AAC07 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = ""; }; - 1058C7B1FEA5585E11CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = ""; }; 345AF9E20A5D707200D7DA6F /* SUStatusChecker.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUStatusChecker.h; sourceTree = ""; }; 345AF9E30A5D707200D7DA6F /* SUStatusChecker.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUStatusChecker.m; sourceTree = ""; }; 610D5A740A1670A4004AAD9C /* SUStatus.nib */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; path = SUStatus.nib; sourceTree = ""; }; @@ -259,7 +263,18 @@ D1BE33110D78B6BD00E7D068 /* SUUpdatePermissionPrompt.nib */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; path = SUUpdatePermissionPrompt.nib; sourceTree = ""; }; D1E42C2F0CE754AE00F50EB9 /* relaunch.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = relaunch.app; sourceTree = BUILT_PRODUCTS_DIR; }; D1E42C330CE754AE00F50EB9 /* Relaunch Tool-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Relaunch Tool-Info.plist"; sourceTree = ""; }; - D2F7E79907B2D74100F64583 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = /System/Library/Frameworks/CoreData.framework; 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 = ""; }; + FA1941CD0D94A70100DD942E /* ConfigTestApp.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigTestApp.xcconfig; sourceTree = ""; }; + FA1941CE0D94A70100DD942E /* ConfigRelaunch.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigRelaunch.xcconfig; sourceTree = ""; }; + FA1941CF0D94A70100DD942E /* ConfigCommonDebug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigCommonDebug.xcconfig; sourceTree = ""; }; + FA1941D00D94A70100DD942E /* ConfigCommon.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigCommon.xcconfig; sourceTree = ""; }; + FA1941D10D94A70100DD942E /* ConfigFramework.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigFramework.xcconfig; sourceTree = ""; }; + FA1941D20D94A70100DD942E /* ConfigTestAppRelease.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigTestAppRelease.xcconfig; sourceTree = ""; }; + FA1941D30D94A70100DD942E /* ConfigRelaunchDebug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigRelaunchDebug.xcconfig; sourceTree = ""; }; + FA1941D40D94A70100DD942E /* ConfigRelaunchRelease.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigRelaunchRelease.xcconfig; sourceTree = ""; }; + FA1941D50D94A70100DD942E /* ConfigFrameworkRelease.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigFrameworkRelease.xcconfig; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -269,6 +284,8 @@ files = ( 61B5F90F09C4CF3A00B25A18 /* Sparkle.framework in Frameworks */, 610D5A1A0A1661B8004AAD9C /* Sparkle.framework in Frameworks */, + FAEFA3040D94AB3400472538 /* AppKit.framework in Frameworks */, + FAEFA3050D94AB3400472538 /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -276,10 +293,11 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 8DC2EF570486A6940098B216 /* Cocoa.framework in Frameworks */, 61B5F8F709C4CEB300B25A18 /* Security.framework in Frameworks */, 61B5FC4C09C4FD5E00B25A18 /* WebKit.framework in Frameworks */, 61177A1F0D1112E900749C97 /* IOKit.framework in Frameworks */, + FAEFA2F70D94AA7500472538 /* Foundation.framework in Frameworks */, + FAEFA2F80D94AA7900472538 /* AppKit.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -287,6 +305,8 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + FAEFA2FA0D94AA8300472538 /* Foundation.framework in Frameworks */, + FAEFA2FC0D94AA8900472538 /* AppKit.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -310,19 +330,23 @@ 61B5F91D09C4CF7F00B25A18 /* Test Application Sources */, 32C88DFF0371C24200C91783 /* Other Sources */, 089C1665FE841158C02AAC07 /* Resources */, - 0867D69AFE84028FC02AAC07 /* External Frameworks and Libraries */, + FA1941C40D94A6EA00DD942E /* Configurations */, + 0867D69AFE84028FC02AAC07 /* Apple Frameworks and Libraries */, 034768DFFF38A50411DB9C8B /* Products */, ); name = Sparkle; sourceTree = ""; }; - 0867D69AFE84028FC02AAC07 /* External Frameworks and Libraries */ = { + 0867D69AFE84028FC02AAC07 /* Apple Frameworks and Libraries */ = { isa = PBXGroup; children = ( - 1058C7B0FEA5585E11CA2CBB /* Linked Frameworks */, - 1058C7B2FEA5585E11CA2CBB /* Other Frameworks */, + 6117796E0D1112E000749C97 /* IOKit.framework */, + 61B5FC3F09C4FD4000B25A18 /* WebKit.framework */, + 61B5F8F609C4CEB300B25A18 /* Security.framework */, + 0867D6A5FE840307C02AAC07 /* AppKit.framework */, + 0867D69BFE84028FC02AAC07 /* Foundation.framework */, ); - name = "External Frameworks and Libraries"; + name = "Apple Frameworks and Libraries"; sourceTree = ""; }; 089C1665FE841158C02AAC07 /* Resources */ = { @@ -353,27 +377,6 @@ name = "Sparkle Classes"; sourceTree = ""; }; - 1058C7B0FEA5585E11CA2CBB /* Linked Frameworks */ = { - isa = PBXGroup; - children = ( - 6117796E0D1112E000749C97 /* IOKit.framework */, - 61B5FC3F09C4FD4000B25A18 /* WebKit.framework */, - 61B5F8F609C4CEB300B25A18 /* Security.framework */, - 1058C7B1FEA5585E11CA2CBB /* Cocoa.framework */, - ); - name = "Linked Frameworks"; - sourceTree = ""; - }; - 1058C7B2FEA5585E11CA2CBB /* Other Frameworks */ = { - isa = PBXGroup; - children = ( - 0867D6A5FE840307C02AAC07 /* AppKit.framework */, - D2F7E79907B2D74100F64583 /* CoreData.framework */, - 0867D69BFE84028FC02AAC07 /* Foundation.framework */, - ); - name = "Other Frameworks"; - sourceTree = ""; - }; 32C88DFF0371C24200C91783 /* Other Sources */ = { isa = PBXGroup; children = ( @@ -467,6 +470,25 @@ name = "Test Application Sources"; sourceTree = ""; }; + FA1941C40D94A6EA00DD942E /* Configurations */ = { + isa = PBXGroup; + children = ( + FA1941D00D94A70100DD942E /* ConfigCommon.xcconfig */, + FA1941CF0D94A70100DD942E /* ConfigCommonDebug.xcconfig */, + FA1941CC0D94A70100DD942E /* ConfigCommonRelease.xcconfig */, + FA1941D10D94A70100DD942E /* ConfigFramework.xcconfig */, + FA1941CA0D94A70100DD942E /* ConfigFrameworkDebug.xcconfig */, + FA1941D50D94A70100DD942E /* ConfigFrameworkRelease.xcconfig */, + FA1941CD0D94A70100DD942E /* ConfigTestApp.xcconfig */, + FA1941CB0D94A70100DD942E /* ConfigTestAppDebug.xcconfig */, + FA1941D20D94A70100DD942E /* ConfigTestAppRelease.xcconfig */, + FA1941CE0D94A70100DD942E /* ConfigRelaunch.xcconfig */, + FA1941D30D94A70100DD942E /* ConfigRelaunchDebug.xcconfig */, + FA1941D40D94A70100DD942E /* ConfigRelaunchRelease.xcconfig */, + ); + path = Configurations; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ @@ -846,258 +868,55 @@ /* Begin XCBuildConfiguration section */ 1DEB91AE08733DA50010E9CD /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = FA1941CA0D94A70100DD942E /* ConfigFrameworkDebug.xcconfig */; buildSettings = { - CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)"; - COPY_PHASE_STRIP = NO; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1.5; - FRAMEWORK_VERSION = A; - GCC_C_LANGUAGE_STANDARD = c99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_ENABLE_FIX_AND_CONTINUE = NO; - GCC_ENABLE_OBJC_EXCEPTIONS = YES; - GCC_ENABLE_OBJC_GC = supported; - GCC_GENERATE_DEBUGGING_SYMBOLS = YES; - GCC_MODEL_TUNING = G5; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PRECOMPILE_PREFIX_HEADER = NO; - GCC_PREFIX_HEADER = ""; - GCC_TREAT_WARNINGS_AS_ERRORS = NO; - INFOPLIST_FILE = Info.plist; - INSTALL_PATH = "@executable_path/../Frameworks"; - MACH_O_TYPE = mh_dylib; - OTHER_CFLAGS = ( - "-fsingle-precision-constant", - "-DDEBUG", - ); - OTHER_LDFLAGS = "-lcrypto"; - PRODUCT_NAME = Sparkle; - "SDKROOT[arch=ppc]" = /Developer/SDKs/MacOSX10.3.9.sdk; - SKIP_INSTALL = YES; - STRIP_INSTALLED_PRODUCT = NO; - WARNING_CFLAGS = "-Wall"; - WRAPPER_EXTENSION = framework; - ZERO_LINK = NO; }; name = Debug; }; 1DEB91AF08733DA50010E9CD /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = FA1941D50D94A70100DD942E /* ConfigFrameworkRelease.xcconfig */; buildSettings = { - ARCHS = ( - i386, - ppc, - ppc64, - x86_64, - ); - CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)"; - COPY_PHASE_STRIP = NO; - DEAD_CODE_STRIPPING = YES; - DYLIB_COMPATIBILITY_VERSION = 1.5; - DYLIB_CURRENT_VERSION = 1.5; - FRAMEWORK_VERSION = A; - GCC_C_LANGUAGE_STANDARD = c99; - GCC_ENABLE_FIX_AND_CONTINUE = NO; - GCC_ENABLE_OBJC_EXCEPTIONS = YES; - GCC_GENERATE_DEBUGGING_SYMBOLS = NO; - GCC_MODEL_TUNING = G5; - GCC_PRECOMPILE_PREFIX_HEADER = NO; - GCC_PREFIX_HEADER = ""; - GCC_REUSE_STRINGS = NO; - GCC_TREAT_WARNINGS_AS_ERRORS = YES; - INFOPLIST_FILE = Info.plist; - INSTALL_PATH = "@executable_path/../Frameworks"; - MACH_O_TYPE = mh_dylib; - MACOSX_DEPLOYMENT_TARGET = 10.3; - "MACOSX_DEPLOYMENT_TARGET[arch=i386]" = 10.4; - "MACOSX_DEPLOYMENT_TARGET[arch=ppc64]" = 10.5; - "MACOSX_DEPLOYMENT_TARGET[arch=x86_64]" = 10.5; - OTHER_LDFLAGS = "-lcrypto"; - PREBINDING = YES; - PRODUCT_NAME = Sparkle; - "SDKROOT[arch=ppc]" = /Developer/SDKs/MacOSX10.3.9.sdk; - SKIP_INSTALL = YES; - STRIP_INSTALLED_PRODUCT = NO; - STRIP_STYLE = all; - WARNING_CFLAGS = "-Wall"; - WRAPPER_EXTENSION = framework; - ZERO_LINK = NO; }; name = Release; }; 1DEB91B208733DA50010E9CD /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - CURRENT_PROJECT_VERSION = 1.5; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_MISSING_NEWLINE = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_CHECK_SWITCH_STATEMENTS = YES; - GCC_WARN_EFFECTIVE_CPLUSPLUS_VIOLATIONS = YES; - GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES; - GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = YES; - GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES; - GCC_WARN_MISSING_PARENTHESES = YES; - GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES; - GCC_WARN_SHADOW = YES; - GCC_WARN_SIGN_COMPARE = YES; - GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES; - GCC_WARN_UNKNOWN_PRAGMAS = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.4; - "MACOSX_DEPLOYMENT_TARGET[arch=i386]" = 10.4; - "MACOSX_DEPLOYMENT_TARGET[arch=ppc]" = 10.3; - OTHER_CFLAGS = "-fsingle-precision-constant"; - PREBINDING = NO; - SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk"; - "SDKROOT[arch=i386]" = /Developer/SDKs/MacOSX10.4u.sdk; - "SDKROOT[arch=ppc]" = /Developer/SDKs/MacOSX10.3.9.sdk; - VERSIONING_SYSTEM = "apple-generic"; - WARNING_CFLAGS = "-Wall"; }; name = Debug; }; 1DEB91B308733DA50010E9CD /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - ARCHS = ( - i386, - ppc, - ppc64, - x86_64, - ); - CURRENT_PROJECT_VERSION = 1.5; - GCC_TREAT_WARNINGS_AS_ERRORS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_MISSING_NEWLINE = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_CHECK_SWITCH_STATEMENTS = YES; - GCC_WARN_EFFECTIVE_CPLUSPLUS_VIOLATIONS = YES; - GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES; - GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = YES; - GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES; - GCC_WARN_MISSING_PARENTHESES = YES; - GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES; - GCC_WARN_SHADOW = YES; - GCC_WARN_SIGN_COMPARE = YES; - GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNKNOWN_PRAGMAS = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.4; - "MACOSX_DEPLOYMENT_TARGET[arch=i386]" = 10.4; - "MACOSX_DEPLOYMENT_TARGET[arch=ppc64]" = 10.5; - "MACOSX_DEPLOYMENT_TARGET[arch=ppc]" = 10.3; - "MACOSX_DEPLOYMENT_TARGET[arch=x86_64]" = 10.5; - OTHER_CFLAGS = "-fsingle-precision-constant"; - PREBINDING = NO; - SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk"; - "SDKROOT[arch=i386]" = /Developer/SDKs/MacOSX10.4u.sdk; - "SDKROOT[arch=ppc64]" = /Developer/SDKs/MacOSX10.5.sdk; - "SDKROOT[arch=ppc]" = /Developer/SDKs/MacOSX10.3.9.sdk; - "SDKROOT[arch=x86_64]" = /Developer/SDKs/MacOSX10.5.sdk; - VERSIONING_SYSTEM = "apple-generic"; - WARNING_CFLAGS = "-Wall"; }; name = Release; }; 61B5F90609C4CEE300B25A18 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = FA1941CB0D94A70100DD942E /* ConfigTestAppDebug.xcconfig */; buildSettings = { - COPY_PHASE_STRIP = NO; - GCC_DYNAMIC_NO_PIC = NO; - GCC_ENABLE_FIX_AND_CONTINUE = YES; - GCC_GENERATE_DEBUGGING_SYMBOLS = YES; - GCC_MODEL_TUNING = G5; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h"; - INFOPLIST_FILE = "Test Application/Test Application-Info.plist"; - INSTALL_PATH = "$(HOME)/Applications"; - OTHER_LDFLAGS = ( - "-framework", - Foundation, - "-framework", - AppKit, - ); - PREBINDING = NO; - PRODUCT_NAME = "Sparkle Test App"; - WRAPPER_EXTENSION = app; - ZERO_LINK = NO; }; name = Debug; }; 61B5F90709C4CEE300B25A18 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = FA1941D20D94A70100DD942E /* ConfigTestAppRelease.xcconfig */; buildSettings = { - COPY_PHASE_STRIP = YES; - GCC_ENABLE_FIX_AND_CONTINUE = NO; - GCC_GENERATE_DEBUGGING_SYMBOLS = NO; - GCC_MODEL_TUNING = G5; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h"; - INFOPLIST_FILE = "Test Application/Test Application-Info.plist"; - INSTALL_PATH = "$(HOME)/Applications"; - OTHER_LDFLAGS = ( - "-framework", - Foundation, - "-framework", - AppKit, - ); - PREBINDING = NO; - PRODUCT_NAME = "Sparkle Test App"; - STRIP_INSTALLED_PRODUCT = NO; - WRAPPER_EXTENSION = app; - ZERO_LINK = NO; }; name = Release; }; D1E42C340CE754AF00F50EB9 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = FA1941D30D94A70100DD942E /* ConfigRelaunchDebug.xcconfig */; buildSettings = { - COPY_PHASE_STRIP = NO; - GCC_DYNAMIC_NO_PIC = NO; - GCC_ENABLE_FIX_AND_CONTINUE = YES; - GCC_MODEL_TUNING = G5; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h"; - INFOPLIST_FILE = "Relaunch Tool-Info.plist"; - INSTALL_PATH = "$(HOME)/Applications"; - OTHER_LDFLAGS = ( - "-framework", - Foundation, - "-framework", - AppKit, - ); - PREBINDING = NO; - PRODUCT_NAME = relaunch; - WRAPPER_EXTENSION = app; - ZERO_LINK = YES; }; name = Debug; }; D1E42C350CE754AF00F50EB9 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = FA1941D40D94A70100DD942E /* ConfigRelaunchRelease.xcconfig */; buildSettings = { - COPY_PHASE_STRIP = YES; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - GCC_ENABLE_FIX_AND_CONTINUE = NO; - GCC_MODEL_TUNING = G5; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h"; - INFOPLIST_FILE = "Relaunch Tool-Info.plist"; - INSTALL_PATH = "$(HOME)/Applications"; - OTHER_LDFLAGS = ( - "-framework", - Foundation, - "-framework", - AppKit, - ); - PREBINDING = NO; - PRODUCT_NAME = relaunch; - WRAPPER_EXTENSION = app; - ZERO_LINK = NO; }; name = Release; };