From a57eb736cbbcc98c4d75baa07d9c7d2e506d871a Mon Sep 17 00:00:00 2001 From: Matt Thomas Date: Sun, 15 Sep 2013 17:11:33 -0400 Subject: [PATCH 1/9] remove SDK This will default to the current one (SDKROOT = macosx) --- Configurations/ConfigCommon.xcconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/Configurations/ConfigCommon.xcconfig b/Configurations/ConfigCommon.xcconfig index a1c0b540..d0df810e 100644 --- a/Configurations/ConfigCommon.xcconfig +++ b/Configurations/ConfigCommon.xcconfig @@ -3,7 +3,6 @@ PREBINDING = NO ZERO_LINK = NO CURRENT_PROJECT_VERSION = 1.5 -SDKROOT = macosx10.7 MACOSX_DEPLOYMENT_TARGET[arch=ppc] = 10.4 MACOSX_DEPLOYMENT_TARGET[arch=ppc64] = 10.5 MACOSX_DEPLOYMENT_TARGET[arch=i386] = 10.4 From 31a49c83b5954a7bae013bf90c5481a94dc3e470 Mon Sep 17 00:00:00 2001 From: Matt Thomas Date: Sun, 15 Sep 2013 17:12:01 -0400 Subject: [PATCH 2/9] Removing GC target --- Sparkle.xcodeproj/project.pbxproj | 64 ------------------------------- 1 file changed, 64 deletions(-) diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index d5ebe18d..2fc6aef5 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -1439,27 +1439,6 @@ }; name = Release; }; - 55C14BBD136EEF1500649790 /* Release (GC dual-mode; 10.5+) */ = { - isa = XCBuildConfiguration; - 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; - INFOPLIST_FILE = "finish_installation-Info.plist"; - INSTALL_PATH = "$(HOME)/Applications"; - OTHER_LDFLAGS = ( - "-framework", - Foundation, - "-framework", - AppKit, - ); - PRODUCT_NAME = finish_installation; - }; - name = "Release (GC dual-mode; 10.5+)"; - }; 5D06E8D20FD68C7D005AE3F6 /* Debug */ = { isa = XCBuildConfiguration; baseConfigurationReference = 5D06E8F20FD68D21005AE3F6 /* ConfigBinaryDeltaDebug.xcconfig */; @@ -1474,43 +1453,6 @@ }; name = Release; }; - 5D06E8D40FD68C7D005AE3F6 /* Release (GC dual-mode; 10.5+) */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 5D06E8F30FD68D21005AE3F6 /* ConfigBinaryDeltaRelease.xcconfig */; - buildSettings = { - }; - name = "Release (GC dual-mode; 10.5+)"; - }; - 61072EAD0DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */ = { - isa = XCBuildConfiguration; - buildSettings = { - }; - name = "Release (GC dual-mode; 10.5+)"; - }; - 61072EAE0DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 61072EB20DF2640C008FE88B /* ConfigFrameworkReleaseGCSupport.xcconfig */; - buildSettings = { - COMBINE_HIDPI_IMAGES = YES; - }; - name = "Release (GC dual-mode; 10.5+)"; - }; - 61072EAF0DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 615409A8103BA09100125AF1 /* ConfigTestAppReleaseGCSupport.xcconfig */; - buildSettings = { - COMBINE_HIDPI_IMAGES = YES; - }; - name = "Release (GC dual-mode; 10.5+)"; - }; - 61072EB10DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = FA302AFD109D13190060F891 /* ConfigUnitTestReleaseGCSupport.xcconfig */; - buildSettings = { - COMBINE_HIDPI_IMAGES = YES; - }; - name = "Release (GC dual-mode; 10.5+)"; - }; 612279DB0DB5470300AB99EA /* Debug */ = { isa = XCBuildConfiguration; baseConfigurationReference = FA3AAF3A1050B273004B3130 /* ConfigUnitTestDebug.xcconfig */; @@ -1551,7 +1493,6 @@ buildConfigurations = ( 1DEB91AE08733DA50010E9CD /* Debug */, 1DEB91AF08733DA50010E9CD /* Release */, - 61072EAE0DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -1561,7 +1502,6 @@ buildConfigurations = ( 1DEB91B208733DA50010E9CD /* Debug */, 1DEB91B308733DA50010E9CD /* Release */, - 61072EAD0DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -1571,7 +1511,6 @@ buildConfigurations = ( 55C14BBB136EEF1500649790 /* Debug */, 55C14BBC136EEF1500649790 /* Release */, - 55C14BBD136EEF1500649790 /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -1581,7 +1520,6 @@ buildConfigurations = ( 5D06E8D20FD68C7D005AE3F6 /* Debug */, 5D06E8D30FD68C7D005AE3F6 /* Release */, - 5D06E8D40FD68C7D005AE3F6 /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -1591,7 +1529,6 @@ buildConfigurations = ( 612279DB0DB5470300AB99EA /* Debug */, 612279DC0DB5470300AB99EA /* Release */, - 61072EB10DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -1601,7 +1538,6 @@ buildConfigurations = ( 61B5F90609C4CEE300B25A18 /* Debug */, 61B5F90709C4CEE300B25A18 /* Release */, - 61072EAF0DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; From 50c3df3a6f4cd6af3ef537bf2e8c94af874588d6 Mon Sep 17 00:00:00 2001 From: Matt Thomas Date: Sun, 15 Sep 2013 17:14:47 -0400 Subject: [PATCH 3/9] Removing unneeded GC configurations --- Configurations/ConfigFrameworkReleaseGCSupport.xcconfig | 3 --- Configurations/ConfigTestAppReleaseGCSupport.xcconfig | 3 --- Configurations/ConfigUnitTestReleaseGCSupport.xcconfig | 3 --- Sparkle.xcodeproj/project.pbxproj | 6 ------ 4 files changed, 15 deletions(-) delete mode 100644 Configurations/ConfigFrameworkReleaseGCSupport.xcconfig delete mode 100644 Configurations/ConfigTestAppReleaseGCSupport.xcconfig delete mode 100644 Configurations/ConfigUnitTestReleaseGCSupport.xcconfig diff --git a/Configurations/ConfigFrameworkReleaseGCSupport.xcconfig b/Configurations/ConfigFrameworkReleaseGCSupport.xcconfig deleted file mode 100644 index a332aaf9..00000000 --- a/Configurations/ConfigFrameworkReleaseGCSupport.xcconfig +++ /dev/null @@ -1,3 +0,0 @@ -#include "ConfigFrameworkRelease.xcconfig" - -GCC_ENABLE_OBJC_GC = supported \ No newline at end of file diff --git a/Configurations/ConfigTestAppReleaseGCSupport.xcconfig b/Configurations/ConfigTestAppReleaseGCSupport.xcconfig deleted file mode 100644 index 0ac40c55..00000000 --- a/Configurations/ConfigTestAppReleaseGCSupport.xcconfig +++ /dev/null @@ -1,3 +0,0 @@ -#include "ConfigTestAppRelease.xcconfig" - -GCC_ENABLE_OBJC_GC = required \ No newline at end of file diff --git a/Configurations/ConfigUnitTestReleaseGCSupport.xcconfig b/Configurations/ConfigUnitTestReleaseGCSupport.xcconfig deleted file mode 100644 index 1b648d16..00000000 --- a/Configurations/ConfigUnitTestReleaseGCSupport.xcconfig +++ /dev/null @@ -1,3 +0,0 @@ -#include "ConfigUnitTestRelease.xcconfig" - -GCC_ENABLE_OBJC_GC = required \ No newline at end of file diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 2fc6aef5..60769d19 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -280,7 +280,6 @@ 6102FE490E07803800F85D09 /* SUDiskImageUnarchiver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUDiskImageUnarchiver.m; sourceTree = ""; }; 6102FE590E08C7EC00F85D09 /* SUUnarchiver_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUUnarchiver_Private.h; sourceTree = ""; }; 6102FE5A0E08C7EC00F85D09 /* SUUnarchiver_Private.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUUnarchiver_Private.m; sourceTree = ""; }; - 61072EB20DF2640C008FE88B /* ConfigFrameworkReleaseGCSupport.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigFrameworkReleaseGCSupport.xcconfig; sourceTree = ""; }; 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 = ""; }; @@ -316,7 +315,6 @@ 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 = ""; }; @@ -415,7 +413,6 @@ 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 = ""; }; - FA302AFD109D13190060F891 /* ConfigUnitTestReleaseGCSupport.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigUnitTestReleaseGCSupport.xcconfig; sourceTree = ""; }; FA3AAF391050B273004B3130 /* ConfigUnitTestRelease.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigUnitTestRelease.xcconfig; sourceTree = ""; }; FA3AAF3A1050B273004B3130 /* ConfigUnitTestDebug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigUnitTestDebug.xcconfig; sourceTree = ""; }; FA3AAF3B1050B273004B3130 /* ConfigUnitTest.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigUnitTest.xcconfig; sourceTree = ""; }; @@ -737,18 +734,15 @@ FA1941D10D94A70100DD942E /* ConfigFramework.xcconfig */, FA1941CA0D94A70100DD942E /* ConfigFrameworkDebug.xcconfig */, FA1941D50D94A70100DD942E /* ConfigFrameworkRelease.xcconfig */, - 61072EB20DF2640C008FE88B /* ConfigFrameworkReleaseGCSupport.xcconfig */, FA1941CD0D94A70100DD942E /* ConfigTestApp.xcconfig */, FA1941CB0D94A70100DD942E /* ConfigTestAppDebug.xcconfig */, FA1941D20D94A70100DD942E /* ConfigTestAppRelease.xcconfig */, - 615409A8103BA09100125AF1 /* ConfigTestAppReleaseGCSupport.xcconfig */, FA1941CE0D94A70100DD942E /* ConfigRelaunch.xcconfig */, FA1941D30D94A70100DD942E /* ConfigRelaunchDebug.xcconfig */, FA1941D40D94A70100DD942E /* ConfigRelaunchRelease.xcconfig */, FA3AAF3B1050B273004B3130 /* ConfigUnitTest.xcconfig */, FA3AAF3A1050B273004B3130 /* ConfigUnitTestDebug.xcconfig */, FA3AAF391050B273004B3130 /* ConfigUnitTestRelease.xcconfig */, - FA302AFD109D13190060F891 /* ConfigUnitTestReleaseGCSupport.xcconfig */, ); path = Configurations; sourceTree = ""; From dfa27acde29aeb6a62c4ddd308ac82763bd5b7b4 Mon Sep 17 00:00:00 2001 From: Matt Thomas Date: Sun, 15 Sep 2013 17:17:22 -0400 Subject: [PATCH 4/9] Setting Deployment Target 10.7 globally (we don}t really care about PPC support, etc) --- Configurations/ConfigBinaryDelta.xcconfig | 4 ---- Configurations/ConfigCommon.xcconfig | 4 ---- Configurations/ConfigUnitTest.xcconfig | 1 - Sparkle.xcodeproj/project.pbxproj | 2 ++ 4 files changed, 2 insertions(+), 9 deletions(-) diff --git a/Configurations/ConfigBinaryDelta.xcconfig b/Configurations/ConfigBinaryDelta.xcconfig index 2f84a51e..6d209524 100644 --- a/Configurations/ConfigBinaryDelta.xcconfig +++ b/Configurations/ConfigBinaryDelta.xcconfig @@ -2,7 +2,3 @@ PRODUCT_NAME = BinaryDelta GCC_PREFIX_HEADER = -MACOSX_DEPLOYMENT_TARGET[arch=i386] = 10.5 -MACOSX_DEPLOYMENT_TARGET[arch=ppc64] = 10.5 -MACOSX_DEPLOYMENT_TARGET[arch=ppc] = 10.5 -MACOSX_DEPLOYMENT_TARGET[arch=x86_64] = 10.5 diff --git a/Configurations/ConfigCommon.xcconfig b/Configurations/ConfigCommon.xcconfig index d0df810e..7e12d0e0 100644 --- a/Configurations/ConfigCommon.xcconfig +++ b/Configurations/ConfigCommon.xcconfig @@ -3,10 +3,6 @@ PREBINDING = NO ZERO_LINK = NO CURRENT_PROJECT_VERSION = 1.5 -MACOSX_DEPLOYMENT_TARGET[arch=ppc] = 10.4 -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_DEBUGGING_SYMBOLS = full diff --git a/Configurations/ConfigUnitTest.xcconfig b/Configurations/ConfigUnitTest.xcconfig index ee0fe205..ab0124b0 100644 --- a/Configurations/ConfigUnitTest.xcconfig +++ b/Configurations/ConfigUnitTest.xcconfig @@ -7,4 +7,3 @@ WRAPPER_EXTENSION = octest FRAMEWORK_SEARCH_PATHS = $(DEVELOPER_LIBRARY_DIR)/Frameworks GCC_PREFIX_HEADER = $(SYSTEM_LIBRARY_DIR)/Frameworks/Cocoa.framework/Headers/Cocoa.h GCC_PRECOMPILE_PREFIX_HEADER = YES -MACOSX_DEPLOYMENT_TARGET = 10.6 diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 60769d19..a35fae80 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -1376,12 +1376,14 @@ 1DEB91B208733DA50010E9CD /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { + MACOSX_DEPLOYMENT_TARGET = 10.7; }; name = Debug; }; 1DEB91B308733DA50010E9CD /* Release */ = { isa = XCBuildConfiguration; buildSettings = { + MACOSX_DEPLOYMENT_TARGET = 10.7; }; name = Release; }; From 6ab4163957fdcc2ba22344fffb2295a545e0d29c Mon Sep 17 00:00:00 2001 From: Matt Thomas Date: Mon, 16 Sep 2013 09:25:07 -0400 Subject: [PATCH 5/9] =?UTF-8?q?Clang=20errors=20when=20format=20strings=20?= =?UTF-8?q?expected=20but=20aren=E2=80=99t=20provided?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SUUIBasedUpdateDriver.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SUUIBasedUpdateDriver.m b/SUUIBasedUpdateDriver.m index dc37e056..41e2be31 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:SULocalizedString([error localizedDescription], nil)]; [self showModalAlert:alert]; [super abortUpdateWithError:error]; } From aa25194536c58d31e3bfbca724234cbf333f9db9 Mon Sep 17 00:00:00 2001 From: Matt Thomas Date: Mon, 16 Sep 2013 09:48:46 -0400 Subject: [PATCH 6/9] Build only active ARCH (at Xcode5 suggestion) --- Sparkle.xcodeproj/project.pbxproj | 1 + 1 file changed, 1 insertion(+) diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index a35fae80..b21827e9 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -1377,6 +1377,7 @@ isa = XCBuildConfiguration; buildSettings = { MACOSX_DEPLOYMENT_TARGET = 10.7; + ONLY_ACTIVE_ARCH = YES; }; name = Debug; }; From 1539c0c077f7185fc3dd82db36b79eb9a784e652 Mon Sep 17 00:00:00 2001 From: Matt Thomas Date: Thu, 19 Sep 2013 22:21:22 -0400 Subject: [PATCH 7/9] Need to turn this -Werror off too --- Configurations/ConfigCommon.xcconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Configurations/ConfigCommon.xcconfig b/Configurations/ConfigCommon.xcconfig index 7e12d0e0..e0fd0864 100644 --- a/Configurations/ConfigCommon.xcconfig +++ b/Configurations/ConfigCommon.xcconfig @@ -43,4 +43,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 -Winvalid-pch +WARNING_CFLAGS = -Wno-unused-parameter -Werror -Wundef -Wendif-labels -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-format-attribute -Wpacked -Wredundant-decls -Winline -Wdisabled-optimization -Winvalid-pch From 271970697ef109241bcca2dbb915bb2484827f2d Mon Sep 17 00:00:00 2001 From: Matt Thomas Date: Thu, 19 Sep 2013 22:26:53 -0400 Subject: [PATCH 8/9] Another Werror to remove --- Configurations/ConfigCommon.xcconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Configurations/ConfigCommon.xcconfig b/Configurations/ConfigCommon.xcconfig index e0fd0864..c92de92b 100644 --- a/Configurations/ConfigCommon.xcconfig +++ b/Configurations/ConfigCommon.xcconfig @@ -43,4 +43,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 = -Wno-unused-parameter -Werror -Wundef -Wendif-labels -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-format-attribute -Wpacked -Wredundant-decls -Winline -Wdisabled-optimization -Winvalid-pch +WARNING_CFLAGS = -Wno-unused-parameter -Wundef -Wendif-labels -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-format-attribute -Wpacked -Wredundant-decls -Winline -Wdisabled-optimization -Winvalid-pch From 52bee98867e7ac0ed8c0410c252fc31b490b1302 Mon Sep 17 00:00:00 2001 From: Vaclav Slavik Date: Thu, 14 Nov 2013 17:36:57 +0100 Subject: [PATCH 9/9] Disable -Werror in release builds. --- Configurations/ConfigCommonRelease.xcconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Configurations/ConfigCommonRelease.xcconfig b/Configurations/ConfigCommonRelease.xcconfig index 19e09866..bf366778 100644 --- a/Configurations/ConfigCommonRelease.xcconfig +++ b/Configurations/ConfigCommonRelease.xcconfig @@ -4,5 +4,5 @@ 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_TREAT_WARNINGS_AS_ERRORS = NO GCC_WARN_UNINITIALIZED_AUTOS = YES