From 47e6a96800f5c73a940ffcec45c6679789a38ef7 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Thu, 24 Jul 2008 20:36:24 -0700 Subject: [PATCH] Stripping framework thoroughly after release builds. This will probably bite me in the ass when I get some crash report and its contents are totally useless. --- Configurations/ConfigCommon.xcconfig | 1 + Configurations/ConfigCommonRelease.xcconfig | 4 ++++ Sparkle.xcodeproj/project.pbxproj | 1 + 3 files changed, 6 insertions(+) diff --git a/Configurations/ConfigCommon.xcconfig b/Configurations/ConfigCommon.xcconfig index 9c0942c2..6d65fb1c 100644 --- a/Configurations/ConfigCommon.xcconfig +++ b/Configurations/ConfigCommon.xcconfig @@ -10,6 +10,7 @@ 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_DEBUGGING_SYMBOLS = full GCC_PRECOMPILE_PREFIX_HEADER = YES GCC_PREFIX_HEADER = $(SDKROOT)/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h GCC_FAST_OBJC_DISPATCH = YES diff --git a/Configurations/ConfigCommonRelease.xcconfig b/Configurations/ConfigCommonRelease.xcconfig index 92c9f2d5..5fce153c 100644 --- a/Configurations/ConfigCommonRelease.xcconfig +++ b/Configurations/ConfigCommonRelease.xcconfig @@ -7,3 +7,7 @@ DEAD_CODE_STRIPPING = YES GCC_TREAT_WARNINGS_AS_ERRORS = YES GCC_WARN_UNINITIALIZED_AUTOS = YES ARCHS = ppc i386 x86_64 +STRIP_INSTALLED_PRODUCT = YES +DEPLOYMENT_POSTPROCESSING = YES +STRIPFLAGS = -u -r +STRIP_STYLE = non-global \ No newline at end of file diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index b7fff51d..8cefa679 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -957,6 +957,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = FA1941D50D94A70100DD942E /* ConfigFrameworkRelease.xcconfig */; buildSettings = { + GCC_DEBUGGING_SYMBOLS = full; GCC_PREFIX_HEADER = Sparkle.pch; }; name = Release;