From 64ec0c317e77dceeb128a1bba23ab0195e41d5b2 Mon Sep 17 00:00:00 2001 From: Uli Kusterer Date: Fri, 11 Dec 2009 13:10:29 +0100 Subject: [PATCH 1/2] Tests for version numbers with build numbers. --- Tests/SUVersionComparisonTest.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Tests/SUVersionComparisonTest.m b/Tests/SUVersionComparisonTest.m index 49039a4a..9534d70f 100644 --- a/Tests/SUVersionComparisonTest.m +++ b/Tests/SUVersionComparisonTest.m @@ -42,6 +42,11 @@ SUAssertAscending(@"1.0 alpha", @"1.0 beta"); SUAssertEqual(@"1.0 - beta", @"1.0beta"); SUAssertEqual(@"1.0 - beta", @"1.0 beta"); + SUAssertAscending(@"1.0 (1234)", @"1.0 (1235)"); + SUAssertAscending(@"1.0b1 (1234)", @"1.0 (1234)"); + SUAssertAscending(@"1.0b5 (1234)", @"1.0b5 (1235)"); + SUAssertAscending(@"1.0b5 (1234)", @"1.0.1b5 (1234)"); + SUAssertAscending(@"1.0.1b5 (1234)", @"1.0.1b6 (1234)"); } @end From bc3fd4542b89672139814ad7e0c2f4570f3d7719 Mon Sep 17 00:00:00 2001 From: Uli Kusterer Date: Fri, 11 Dec 2009 14:46:30 +0100 Subject: [PATCH 2/2] Remove 10.4 SDK setting. Causes more problems than it helps. --- Sparkle.xcodeproj/project.pbxproj | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 1cafc1df..3c21581a 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -145,7 +145,7 @@ isa = PBXContainerItemProxy; containerPortal = 0867D690FE84028FC02AAC07 /* Project object */; proxyType = 1; - remoteGlobalIDString = 55F9B5E310C68F890099848A /* finish_installation */; + remoteGlobalIDString = 55F9B5E310C68F890099848A; remoteInfo = finish_installation; }; /* End PBXContainerItemProxy section */ @@ -1145,7 +1145,6 @@ isa = XCBuildConfiguration; buildSettings = { GCC_VERSION = 4.0; - SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk"; WARNING_CFLAGS = "-Wundeclared-selector"; }; name = Debug; @@ -1154,7 +1153,6 @@ isa = XCBuildConfiguration; buildSettings = { GCC_VERSION = 4.0; - SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk"; WARNING_CFLAGS = "-Wundeclared-selector"; }; name = Release; @@ -1244,7 +1242,6 @@ isa = XCBuildConfiguration; buildSettings = { GCC_VERSION = 4.0; - SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk"; WARNING_CFLAGS = "-Wundeclared-selector"; }; name = "Release (GC dual-mode; 10.5-only)";