Permalink
Browse files

Add support to Three20 for Xcode 3.2.2 -> Xcode 3.2.5.

  • Loading branch information...
1 parent 25bc0f0 commit 0d9d45f216d0cdf9122cb321f632457b831bfce5 @jverkoey jverkoey committed Oct 13, 2010
@@ -17,5 +17,5 @@
#include "../common/Configurations/Library.xcconfig"
#include "../common/Configurations/Libraries.xcconfig"
-PRODUCT_NAME = Three20
+BASE_PRODUCT_NAME = Three20
BUILD_LIBRARY_VERSION = 1.0
@@ -17,7 +17,7 @@
#include "../common/Configurations/UnitTests.xcconfig"
#include "../common/Configurations/Libraries.xcconfig"
-PRODUCT_NAME = Three20UnitTests
+BASE_PRODUCT_NAME = Three20UnitTests
BUILD_BUNDLE_VERSION = 1.0
-OTHER_LDFLAGS = $(COMMON_LDFLAGS) $(COREGRAPHICS_FX)
+OTHER_LDFLAGS = $(COMMON_LDFLAGS) $(COREGRAPHICS_FX) $(QUARTZCORE_FX)

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -0,0 +1,43 @@
+//
+// Copyright 2009-2010 Facebook
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+// See: http://developer.apple.com/iphone/library/documentation/Xcode/Conceptual/iphone_development/905-A-Unit-Test_Result_Macro_Reference/unit-test_results.html#//apple_ref/doc/uid/TP40007959-CH21-SW2
+// for unit test macros.
+
+#import <SenTestingKit/SenTestingKit.h>
+#import <UIKit/UIKit.h>
+
+#import "Three20Style/TTGlobalStyle.h"
+
+@interface BasicTests : SenTestCase {
+}
+
+@end
+
+
+///////////////////////////////////////////////////////////////////////////////////////////////////
+///////////////////////////////////////////////////////////////////////////////////////////////////
+///////////////////////////////////////////////////////////////////////////////////////////////////
+@implementation BasicTests
+
+
+///////////////////////////////////////////////////////////////////////////////////////////////////
+- (void)testTruth {
+ STAssertTrue(true, @"True!");
+}
+
+
+@end
@@ -145,11 +145,9 @@
/* Begin PBXFileReference section */
663EE60B1262E3DA00CFDEA9 /* Xcode324iOS41TestSuiteWorkaround.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = Xcode324iOS41TestSuiteWorkaround.m; path = ../UnitTests/Xcode324iOS41TestSuiteWorkaround.m; sourceTree = SOURCE_ROOT; };
664961641262EE5000C2C80E /* CoreUnitTests-Xcode3.2.5.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "CoreUnitTests-Xcode3.2.5.octest"; sourceTree = BUILT_PRODUCTS_DIR; };
- 664961651262EE5000C2C80E /* UnitTests-Info copy.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "UnitTests-Info copy.plist"; path = "UnitTests/Resources/PropertyLists/UnitTests-Info copy.plist"; sourceTree = "<group>"; };
6650CAA21262F6E2003FF804 /* libThree20Core-Xcode3.2.5.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libThree20Core-Xcode3.2.5.a"; sourceTree = BUILT_PRODUCTS_DIR; };
66C2E0FC1262F748006DF55A /* libThree20Core-Xcode3.2.2.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libThree20Core-Xcode3.2.2.a"; sourceTree = BUILT_PRODUCTS_DIR; };
66F9A63C1262ED9F0059C2AE /* CoreUnitTests-Xcode3.2.2.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "CoreUnitTests-Xcode3.2.2.octest"; sourceTree = BUILT_PRODUCTS_DIR; };
- 66F9A63D1262ED9F0059C2AE /* UnitTests-Info copy.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "UnitTests-Info copy.plist"; path = "UnitTests/Resources/PropertyLists/UnitTests-Info copy.plist"; sourceTree = "<group>"; };
6E178E751183C8AE003B099E /* Three20Core_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Three20Core_Prefix.pch; path = Headers/Three20Core_Prefix.pch; sourceTree = "<group>"; };
6E178E761183C8B6003B099E /* TTDebugFlags.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TTDebugFlags.h; path = Headers/TTDebugFlags.h; sourceTree = "<group>"; };
6E178E771183C8D3003B099E /* TTCorePreprocessorMacros.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TTCorePreprocessorMacros.h; path = Headers/TTCorePreprocessorMacros.h; sourceTree = "<group>"; };
@@ -340,8 +338,6 @@
isa = PBXGroup;
children = (
6EB460921183D16000685649 /* UnitTests-Info.plist */,
- 66F9A63D1262ED9F0059C2AE /* UnitTests-Info copy.plist */,
- 664961651262EE5000C2C80E /* UnitTests-Info copy.plist */,
);
name = Resources;
sourceTree = "<group>";
@@ -1061,6 +1057,7 @@
PREBINDING = NO;
PRODUCT_NAME = "$(BASE_PRODUCT_NAME)-Xcode3.2.4";
RUN_CLANG_STATIC_ANALYZER = YES;
+ SDKROOT = iphoneos4.1;
};
name = Internal;
};
@@ -1092,6 +1089,7 @@
GCC_PREPROCESSOR_DEFINITIONS = DEBUG;
PREBINDING = NO;
PRODUCT_NAME = "$(BASE_PRODUCT_NAME)-Xcode3.2.4";
+ SDKROOT = iphoneos4.1;
};
name = Debug;
};
@@ -1104,6 +1102,7 @@
GCC_ENABLE_FIX_AND_CONTINUE = NO;
PREBINDING = NO;
PRODUCT_NAME = "$(BASE_PRODUCT_NAME)-Xcode3.2.4";
+ SDKROOT = iphoneos4.1;
ZERO_LINK = NO;
};
name = Release;
@@ -214,9 +214,7 @@
/* Begin PBXFileReference section */
662D819C126304DE005851C2 /* Xcode324iOS41TestSuiteWorkaround.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = Xcode324iOS41TestSuiteWorkaround.m; path = ../UnitTests/Xcode324iOS41TestSuiteWorkaround.m; sourceTree = SOURCE_ROOT; };
662D81B2126304EB005851C2 /* NetworkUnitTests-Xcode3.2.5.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "NetworkUnitTests-Xcode3.2.5.octest"; sourceTree = BUILT_PRODUCTS_DIR; };
- 662D81B3126304EB005851C2 /* UnitTests-Info copy.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "UnitTests-Info copy.plist"; path = "UnitTests/Resources/PropertyLists/UnitTests-Info copy.plist"; sourceTree = "<group>"; };
662D81C7126304F3005851C2 /* NetworkUnitTests-Xcode3.2.2.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "NetworkUnitTests-Xcode3.2.2.octest"; sourceTree = BUILT_PRODUCTS_DIR; };
- 662D81C8126304F3005851C2 /* UnitTests-Info copy 2.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "UnitTests-Info copy 2.plist"; path = "UnitTests/Resources/PropertyLists/UnitTests-Info copy 2.plist"; sourceTree = "<group>"; };
662D81EF12630516005851C2 /* libThree20Network-Xcode3.2.5.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libThree20Network-Xcode3.2.5.a"; sourceTree = BUILT_PRODUCTS_DIR; };
662D821612630527005851C2 /* libThree20Network-Xcode3.2.2.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libThree20Network-Xcode3.2.2.a"; sourceTree = BUILT_PRODUCTS_DIR; };
6E64541F1184BDF900F08CB1 /* Project.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Project.xcconfig; path = Configurations/Project.xcconfig; sourceTree = "<group>"; };
@@ -481,8 +479,6 @@
isa = PBXGroup;
children = (
6EE7363D11849AD500A35176 /* UnitTests-Info.plist */,
- 662D81B3126304EB005851C2 /* UnitTests-Info copy.plist */,
- 662D81C8126304F3005851C2 /* UnitTests-Info copy 2.plist */,
);
name = Resources;
sourceTree = "<group>";
@@ -593,10 +593,8 @@
662D82C412639CDE005851C2 /* Xcode324iOS41TestSuiteWorkaround.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = Xcode324iOS41TestSuiteWorkaround.m; path = ../UnitTests/Xcode324iOS41TestSuiteWorkaround.m; sourceTree = SOURCE_ROOT; };
66846C7812639EE5001D2CF9 /* libThree20Style-Xcode3.2.2.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libThree20Style-Xcode3.2.2.a"; sourceTree = BUILT_PRODUCTS_DIR; };
66846C9612639F29001D2CF9 /* StyleUnitTests-Xcode3.2.2.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "StyleUnitTests-Xcode3.2.2.octest"; sourceTree = BUILT_PRODUCTS_DIR; };
- 66846C9712639F29001D2CF9 /* UnitTests-Info copy 2.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "UnitTests-Info copy 2.plist"; path = "UnitTests/Resources/PropertyLists/UnitTests-Info copy 2.plist"; sourceTree = "<group>"; };
66C16BE912639E2700A7825A /* libThree20Style-Xcode3.2.5.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libThree20Style-Xcode3.2.5.a"; sourceTree = BUILT_PRODUCTS_DIR; };
66C16C0112639E4500A7825A /* StyleUnitTests-Xcode3.2.5.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "StyleUnitTests-Xcode3.2.5.octest"; sourceTree = BUILT_PRODUCTS_DIR; };
- 66C16C0212639E4500A7825A /* UnitTests-Info copy.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "UnitTests-Info copy.plist"; path = "UnitTests/Resources/PropertyLists/UnitTests-Info copy.plist"; sourceTree = "<group>"; };
6E64543D1184BE1B00F08CB1 /* Project.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Project.xcconfig; path = Configurations/Project.xcconfig; sourceTree = "<group>"; };
6E64548F1184D3BC00F08CB1 /* Three20Style+Additions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "Three20Style+Additions.h"; path = "Headers/Three20Style+Additions.h"; sourceTree = "<group>"; };
6E6464021187F5CB00F08CB1 /* TTStyledButtonNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TTStyledButtonNode.h; path = Headers/TTStyledButtonNode.h; sourceTree = "<group>"; };
@@ -847,8 +845,6 @@
isa = PBXGroup;
children = (
6EE7363D11849AD500A35176 /* UnitTests-Info.plist */,
- 66C16C0212639E4500A7825A /* UnitTests-Info copy.plist */,
- 66846C9712639F29001D2CF9 /* UnitTests-Info copy 2.plist */,
);
name = Resources;
sourceTree = "<group>";
@@ -1247,10 +1247,8 @@
66FC2AA71264E2DA00F56B19 /* Xcode324iOS41TestSuiteWorkaround.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = Xcode324iOS41TestSuiteWorkaround.m; path = ../UnitTests/Xcode324iOS41TestSuiteWorkaround.m; sourceTree = SOURCE_ROOT; };
66FC2BC81264E3A400F56B19 /* libThree20UI-Xcode3.2.5.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libThree20UI-Xcode3.2.5.a"; sourceTree = BUILT_PRODUCTS_DIR; };
66FC2BE61264E3A500F56B19 /* UIUnitTests-Xcode3.2.5.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "UIUnitTests-Xcode3.2.5.octest"; sourceTree = BUILT_PRODUCTS_DIR; };
- 66FC2BE71264E3A500F56B19 /* UnitTests-Info copy.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "UnitTests-Info copy.plist"; path = "UnitTests/Resources/PropertyLists/UnitTests-Info copy.plist"; sourceTree = "<group>"; };
66FE8DDE1264E960001E0674 /* libThree20UI-Xcode3.2.2.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libThree20UI-Xcode3.2.2.a"; sourceTree = BUILT_PRODUCTS_DIR; };
66FE8DFB1264E960001E0674 /* UIUnitTests-Xcode3.2.2.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "UIUnitTests-Xcode3.2.2.octest"; sourceTree = BUILT_PRODUCTS_DIR; };
- 66FE8DFC1264E961001E0674 /* UnitTests-Info copy 2.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "UnitTests-Info copy 2.plist"; path = "UnitTests/Resources/PropertyLists/UnitTests-Info copy 2.plist"; sourceTree = "<group>"; };
6E6081FF11B0C31400C93CD4 /* TTNavigationController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = TTNavigationController.m; path = Sources/TTNavigationController.m; sourceTree = "<group>"; };
6E60820211B0C32600C93CD4 /* TTNavigationController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TTNavigationController.h; path = Headers/TTNavigationController.h; sourceTree = "<group>"; };
6E64543D1184BE1B00F08CB1 /* Project.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Project.xcconfig; path = Configurations/Project.xcconfig; sourceTree = "<group>"; };
@@ -1651,7 +1649,7 @@
66FC2A681264E1FA00F56B19 /* libThree20Style-Xcode3.2.5.a */,
66FC2A6A1264E1FA00F56B19 /* libThree20Style-Xcode3.2.2.a */,
6E6454A91184D42800F08CB1 /* StyleUnitTests-Xcode3.2.4.octest */,
- 66FC2A6C1264E1FA00F56B19 /* StyleUnitTests-Xcode3.2.4.octest */,
+ 66FC2A6C1264E1FA00F56B19 /* StyleUnitTests-Xcode3.2.5.octest */,
66FC2A6E1264E1FA00F56B19 /* StyleUnitTests-Xcode3.2.2.octest */,
);
name = Products;
@@ -2514,8 +2512,6 @@
isa = PBXGroup;
children = (
6EE7363D11849AD500A35176 /* UnitTests-Info.plist */,
- 66FC2BE71264E3A500F56B19 /* UnitTests-Info copy.plist */,
- 66FE8DFC1264E961001E0674 /* UnitTests-Info copy 2.plist */,
);
name = Resources;
sourceTree = "<group>";
@@ -3278,10 +3274,10 @@
remoteRef = 66FC2A691264E1FA00F56B19 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
- 66FC2A6C1264E1FA00F56B19 /* StyleUnitTests-Xcode3.2.4.octest */ = {
+ 66FC2A6C1264E1FA00F56B19 /* StyleUnitTests-Xcode3.2.5.octest */ = {
isa = PBXReferenceProxy;
fileType = wrapper.cfbundle;
- path = "StyleUnitTests-Xcode3.2.4.octest";
+ path = "StyleUnitTests-Xcode3.2.5.octest";
remoteRef = 66FC2A6B1264E1FA00F56B19 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
@@ -167,10 +167,8 @@
662D83461264CD94005851C2 /* Xcode324iOS41TestSuiteWorkaround.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = Xcode324iOS41TestSuiteWorkaround.m; path = ../UnitTests/Xcode324iOS41TestSuiteWorkaround.m; sourceTree = SOURCE_ROOT; };
665A53761264D54B0032D0BE /* libThree20UICommon-Xcode3.2.5.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libThree20UICommon-Xcode3.2.5.a"; sourceTree = BUILT_PRODUCTS_DIR; };
665A53891264D54B0032D0BE /* UICommonUnitTests-Xcode3.2.5.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "UICommonUnitTests-Xcode3.2.5.octest"; sourceTree = BUILT_PRODUCTS_DIR; };
- 665A538A1264D54B0032D0BE /* UnitTests-Info copy.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "UnitTests-Info copy.plist"; path = "UnitTests/Resources/PropertyLists/UnitTests-Info copy.plist"; sourceTree = "<group>"; };
665A53E61264D6550032D0BE /* libThree20UICommon-Xcode3.2.2.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libThree20UICommon-Xcode3.2.2.a"; sourceTree = BUILT_PRODUCTS_DIR; };
665A53F81264D6550032D0BE /* UICommonUnitTests-Xcode3.2.2.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "UICommonUnitTests-Xcode3.2.2.octest"; sourceTree = BUILT_PRODUCTS_DIR; };
- 665A53F91264D6550032D0BE /* UnitTests-Info copy 2.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "UnitTests-Info copy 2.plist"; path = "UnitTests/Resources/PropertyLists/UnitTests-Info copy 2.plist"; sourceTree = "<group>"; };
6E3C377E118C94E50079637E /* TTGlobalUICommon.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TTGlobalUICommon.h; path = Headers/TTGlobalUICommon.h; sourceTree = "<group>"; };
6E3C3780118C94FC0079637E /* TTGlobalUICommon.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = TTGlobalUICommon.m; path = Sources/TTGlobalUICommon.m; sourceTree = "<group>"; };
6E3C37A8118C96670079637E /* UIWindowAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = UIWindowAdditions.h; path = Headers/UIWindowAdditions.h; sourceTree = "<group>"; };
@@ -336,8 +334,6 @@
isa = PBXGroup;
children = (
6EE7363D11849AD500A35176 /* UnitTests-Info.plist */,
- 665A538A1264D54B0032D0BE /* UnitTests-Info copy.plist */,
- 665A53F91264D6550032D0BE /* UnitTests-Info copy 2.plist */,
);
name = Resources;
sourceTree = "<group>";
Oops, something went wrong.

0 comments on commit 0d9d45f

Please sign in to comment.