Commits

p2  committed 9c6902c

Add Mac unit tests. Silence compiler warnings.

  • Participants
  • Parent commits ebc080e

Comments (0)

Files changed (11)

 .DS_Store
-build
-*.xcodeproj/*.pbxuser
-*.xcodeproj/*.perspectivev3
-project.xcworkspace
+# Xcode
+.DS_Store
+*/build/*
+*.pbxuser
+!default.pbxuser
+*.mode1v3
+!default.mode1v3
+*.mode2v3
+!default.mode2v3
+*.perspectivev3
+!default.perspectivev3
 xcuserdata
+profile
+*.moved-aside
+DerivedData
+.idea/
+*.hmap
+

File Classes/SQLKStructure.m

 				}
 			}
 			else {
-				DLog(@"There are %d superfluuous tables, but we're not allowed to drop them", [existingTables count]);
+				DLog(@"There are %d superfluuous tables, but we're not allowed to drop them", (unsigned int)[existingTables count]);
 			}
 		}
 		
 		
 		// report mismatch errors
 		if ([errors count] > 0) {
-			NSString *errorString = [NSString stringWithFormat:@"%d errors occurred while comparing structure. See \"SQLKErrors\" in this errors' userInfo.", [errors count]];
+			NSString *errorString = [NSString stringWithFormat:@"%d errors occurred while comparing structure. See \"SQLKErrors\" in this errors' userInfo.", (unsigned int)[errors count]];
 			DLog(@"Error: %@", errorString);
 			if (NULL != error) {
 				NSDictionary *userDict = [NSDictionary dictionaryWithObjectsAndKeys:errorString, NSLocalizedDescriptionKey, errors, @"SQLKErrors", nil];
 
 - (NSString *) description
 {
-	return [NSString stringWithFormat:@"%@ <%p> %i tables", NSStringFromClass([self class]), self, [self.tables count]];
+	return [NSString stringWithFormat:@"%@ <%p> %i tables", NSStringFromClass([self class]), self, (unsigned int)[self.tables count]];
 }
 
 

File Classes/SQLKTableStructure.m

 				
 				// report specific errors
 				if ([errors count] > 0) {
-					errorString = [NSString stringWithFormat:@"%d errors occurred while comparing columns to table \"%@\". See \"SQLKErrors\" in this errors' userInfo.", [errors count], refTable.name];
+					errorString = [NSString stringWithFormat:@"%d errors occurred while comparing columns to table \"%@\". See \"SQLKErrors\" in this errors' userInfo.", (unsigned int)[errors count], refTable.name];
 					errorCode = 673;
 				}
 				else {
 
 - (NSString *) description
 {
-	return [NSString stringWithFormat:@"%@ <%p> \"%@\", %i columns, %i constraints", NSStringFromClass([self class]), self, name, [columns count], [constraints count]];
+	return [NSString stringWithFormat:@"%@ <%p> \"%@\", %i columns, %i constraints", NSStringFromClass([self class]), self, name, (unsigned int)[columns count], (unsigned int)[constraints count]];
 }
 
 

File Classes/SQLiteObject.m

 				
 				// handle the primary key
 				if ([aKey isEqualToString:tableKey]) {
-					if ([value isKindOfClass:[NSString class]] && [[NSString stringWithFormat:@"%d", [value integerValue]] isEqualToString:value]) {
+					if ([value isKindOfClass:[NSString class]] && [[NSString stringWithFormat:@"%d", [value intValue]] isEqualToString:value]) {
 						value = [NSNumber numberWithInteger:[value integerValue]];
 					}
 					
 			}
 			
 			if (value) {
-				if ([value isKindOfClass:[NSString class]] && [[NSString stringWithFormat:@"%d", [value integerValue]] isEqualToString:value]) {
+				if ([value isKindOfClass:[NSString class]] && [[NSString stringWithFormat:@"%d", [value intValue]] isEqualToString:value]) {
 					value = [NSNumber numberWithInteger:[value integerValue]];
 				}
 				self.object_id = value;

File SQLiteKit/en.lproj/InfoPlist.strings

-/* Localized versions of Info.plist keys */
-

File Unit Testing (Mac)/Unit Testing (Mac)-Info.plist

+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>CFBundleDevelopmentRegion</key>
+	<string>en</string>
+	<key>CFBundleExecutable</key>
+	<string>${EXECUTABLE_NAME}</string>
+	<key>CFBundleIdentifier</key>
+	<string>com.github.p2.${PRODUCT_NAME:rfc1034identifier}</string>
+	<key>CFBundleInfoDictionaryVersion</key>
+	<string>6.0</string>
+	<key>CFBundlePackageType</key>
+	<string>BNDL</string>
+	<key>CFBundleShortVersionString</key>
+	<string>1.0</string>
+	<key>CFBundleSignature</key>
+	<string>????</string>
+	<key>CFBundleVersion</key>
+	<string>1</string>
+</dict>
+</plist>

File Unit Testing (Mac)/Unit Testing (Mac)-Prefix.pch

+//
+// Prefix header for all source files of the 'Unit Testing (Mac)' target in the 'Unit Testing (Mac)' project
+//
+
+#ifdef __OBJC__
+	#import <Cocoa/Cocoa.h>
+#endif

File Unit Testing (iOS)/Unit Testing (iOS)-Prefix.pch

 //
 
 #ifdef __OBJC__
-	#import <UIKit/UIKit.h>
 	#import <Foundation/Foundation.h>
 #endif

File sqlk.xcodeproj/project.pbxproj

 		EE2D917C12872C8700C69142 /* SQLKTableStructure.m in Sources */ = {isa = PBXBuildFile; fileRef = EE2D917412872C8700C69142 /* SQLKTableStructure.m */; };
 		EE51873E146EFB97000BB0FC /* sqlk.h in Headers */ = {isa = PBXBuildFile; fileRef = EE51873D146EFB97000BB0FC /* sqlk.h */; };
 		EE51873F146EFB97000BB0FC /* sqlk.h in Headers */ = {isa = PBXBuildFile; fileRef = EE51873D146EFB97000BB0FC /* sqlk.h */; };
+		EE6A348816C8B44D00EF9F0D /* SenTestingKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EE08DE6115A9E07E00CF6086 /* SenTestingKit.framework */; };
+		EE6A348916C8B44D00EF9F0D /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EEE4986C133AB93800FEDD45 /* Cocoa.framework */; };
+		EE6A349816C8B45B00EF9F0D /* UnitTesting_iOS.m in Sources */ = {isa = PBXBuildFile; fileRef = EE08DE6D15A9E07E00CF6086 /* UnitTesting_iOS.m */; };
+		EE6A349916C8B45E00EF9F0D /* SQLKTestObject.m in Sources */ = {isa = PBXBuildFile; fileRef = EEF9474815B1DE270046D04A /* SQLKTestObject.m */; };
+		EE6A349A16C8B46100EF9F0D /* database1.xml in Resources */ = {isa = PBXBuildFile; fileRef = EE08DE8715A9E44D00CF6086 /* database1.xml */; };
+		EE6A349B16C8B46300EF9F0D /* database2.xml in Resources */ = {isa = PBXBuildFile; fileRef = EE08DE9115A9EE2100CF6086 /* database2.xml */; };
+		EE6A349C16C8B4D600EF9F0D /* SQLiteKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EEE4986B133AB93800FEDD45 /* SQLiteKit.framework */; };
+		EE6A349D16C8B4EF00EF9F0D /* SQLiteObject.m in Sources */ = {isa = PBXBuildFile; fileRef = EE2D916E12872C8700C69142 /* SQLiteObject.m */; };
 		EE8AAD4D161F78C700CCED98 /* SQLiteKit-Prefix.pch in Headers */ = {isa = PBXBuildFile; fileRef = EE8AAD4C161F78C700CCED98 /* SQLiteKit-Prefix.pch */; };
 		EE8AAD4E161F78C700CCED98 /* SQLiteKit-Prefix.pch in Headers */ = {isa = PBXBuildFile; fileRef = EE8AAD4C161F78C700CCED98 /* SQLiteKit-Prefix.pch */; };
 		EE8AAD52161F795900CCED98 /* libsqlite3.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = EE8AAD51161F795900CCED98 /* libsqlite3.dylib */; };
 		EEB659F1142F8122005B423C /* FMResultSet.m in Sources */ = {isa = PBXBuildFile; fileRef = EEB659E6142F8122005B423C /* FMResultSet.m */; };
 		EEB659F2142F8122005B423C /* FMResultSet.m in Sources */ = {isa = PBXBuildFile; fileRef = EEB659E6142F8122005B423C /* FMResultSet.m */; };
 		EEE4986D133AB93800FEDD45 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EEE4986C133AB93800FEDD45 /* Cocoa.framework */; };
-		EEE49877133AB93800FEDD45 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = EEE49875133AB93800FEDD45 /* InfoPlist.strings */; };
 		EEE498A7133ABA4600FEDD45 /* SQLKStructure.h in Headers */ = {isa = PBXBuildFile; fileRef = EE2D917112872C8700C69142 /* SQLKStructure.h */; settings = {ATTRIBUTES = (Public, ); }; };
 		EEE498A8133ABA4B00FEDD45 /* SQLKStructure.m in Sources */ = {isa = PBXBuildFile; fileRef = EE2D917212872C8700C69142 /* SQLKStructure.m */; };
 		EEE498A9133ABA4E00FEDD45 /* SQLKTableStructure.h in Headers */ = {isa = PBXBuildFile; fileRef = EE2D917312872C8700C69142 /* SQLKTableStructure.h */; settings = {ATTRIBUTES = (Public, ); }; };
 		EE2D917312872C8700C69142 /* SQLKTableStructure.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SQLKTableStructure.h; sourceTree = "<group>"; };
 		EE2D917412872C8700C69142 /* SQLKTableStructure.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = SQLKTableStructure.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
 		EE51873D146EFB97000BB0FC /* sqlk.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = sqlk.h; sourceTree = "<group>"; };
+		EE6A348716C8B44D00EF9F0D /* Unit Testing (Mac).octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Unit Testing (Mac).octest"; sourceTree = BUILT_PRODUCTS_DIR; };
+		EE6A348C16C8B44D00EF9F0D /* Unit Testing (Mac)-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "Unit Testing (Mac)-Info.plist"; path = "../Unit Testing (Mac)/Unit Testing (Mac)-Info.plist"; sourceTree = "<group>"; };
+		EE6A349316C8B44D00EF9F0D /* Unit Testing (Mac)-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "Unit Testing (Mac)-Prefix.pch"; path = "../Unit Testing (Mac)/Unit Testing (Mac)-Prefix.pch"; sourceTree = "<group>"; };
 		EE8AAD4B161F77B100CCED98 /* LICENSE.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE.txt; sourceTree = "<group>"; };
 		EE8AAD4C161F78C700CCED98 /* SQLiteKit-Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "SQLiteKit-Prefix.pch"; path = "../Unit Testing (iOS)/SQLiteKit-Prefix.pch"; sourceTree = "<group>"; };
 		EE8AAD51161F795900CCED98 /* libsqlite3.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libsqlite3.dylib; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/lib/libsqlite3.dylib; sourceTree = DEVELOPER_DIR; };
 		EEE49870133AB93800FEDD45 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; };
 		EEE49871133AB93800FEDD45 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
 		EEE49874133AB93800FEDD45 /* SQLiteKit-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "SQLiteKit-Info.plist"; sourceTree = "<group>"; };
-		EEE49876133AB93800FEDD45 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
 		EEF9474715B1DE270046D04A /* SQLKTestObject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SQLKTestObject.h; sourceTree = "<group>"; };
 		EEF9474815B1DE270046D04A /* SQLKTestObject.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SQLKTestObject.m; sourceTree = "<group>"; };
 /* End PBXFileReference section */
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
+		EE6A348316C8B44D00EF9F0D /* Frameworks */ = {
+			isa = PBXFrameworksBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				EE6A349C16C8B4D600EF9F0D /* SQLiteKit.framework in Frameworks */,
+				EE6A348816C8B44D00EF9F0D /* SenTestingKit.framework in Frameworks */,
+				EE6A348916C8B44D00EF9F0D /* Cocoa.framework in Frameworks */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
 		EEE49867133AB93800FEDD45 /* Frameworks */ = {
 			isa = PBXFrameworksBuildPhase;
 			buildActionMask = 2147483647;
 				D2AAC07E0554694100DB518D /* libsqlk.a */,
 				EEE4986B133AB93800FEDD45 /* SQLiteKit.framework */,
 				EE08DE6015A9E07E00CF6086 /* Unit Testing (iOS).octest */,
+				EE6A348716C8B44D00EF9F0D /* Unit Testing (Mac).octest */,
 			);
 			name = Products;
 			sourceTree = "<group>";
 				EE8AAD4B161F77B100CCED98 /* LICENSE.txt */,
 				EE51873B146EFAA6000BB0FC /* Code */,
 				EEE49872133AB93800FEDD45 /* SQLiteKit */,
-				EE08DE6615A9E07E00CF6086 /* Unit Testing (iOS) */,
+				EE08DE6615A9E07E00CF6086 /* Unit Testing */,
 				0867D69AFE84028FC02AAC07 /* Frameworks */,
 				034768DFFF38A50411DB9C8B /* Products */,
 			);
 			path = Classes;
 			sourceTree = "<group>";
 		};
-		EE08DE6615A9E07E00CF6086 /* Unit Testing (iOS) */ = {
+		EE08DE6615A9E07E00CF6086 /* Unit Testing */ = {
 			isa = PBXGroup;
 			children = (
 				EE08DE6C15A9E07E00CF6086 /* UnitTesting_iOS.h */,
 				EE08DE9115A9EE2100CF6086 /* database2.xml */,
 				EE08DE6715A9E07E00CF6086 /* Supporting Files */,
 			);
+			name = "Unit Testing";
 			path = "Unit Testing (iOS)";
 			sourceTree = "<group>";
 		};
 			children = (
 				EE08DE6815A9E07E00CF6086 /* Unit Testing (iOS)-Info.plist */,
 				EE08DE6F15A9E07E00CF6086 /* Unit Testing (iOS)-Prefix.pch */,
+				EE6A348C16C8B44D00EF9F0D /* Unit Testing (Mac)-Info.plist */,
+				EE6A349316C8B44D00EF9F0D /* Unit Testing (Mac)-Prefix.pch */,
 			);
 			name = "Supporting Files";
 			sourceTree = "<group>";
 			children = (
 				EE8AAD4C161F78C700CCED98 /* SQLiteKit-Prefix.pch */,
 				EEE49874133AB93800FEDD45 /* SQLiteKit-Info.plist */,
-				EEE49875133AB93800FEDD45 /* InfoPlist.strings */,
 			);
 			path = SQLiteKit;
 			sourceTree = "<group>";
 			productReference = EE08DE6015A9E07E00CF6086 /* Unit Testing (iOS).octest */;
 			productType = "com.apple.product-type.bundle";
 		};
+		EE6A348616C8B44D00EF9F0D /* Unit Testing (Mac) */ = {
+			isa = PBXNativeTarget;
+			buildConfigurationList = EE6A349416C8B44D00EF9F0D /* Build configuration list for PBXNativeTarget "Unit Testing (Mac)" */;
+			buildPhases = (
+				EE6A348216C8B44D00EF9F0D /* Sources */,
+				EE6A348316C8B44D00EF9F0D /* Frameworks */,
+				EE6A348416C8B44D00EF9F0D /* Resources */,
+				EE6A348516C8B44D00EF9F0D /* ShellScript */,
+			);
+			buildRules = (
+			);
+			dependencies = (
+			);
+			name = "Unit Testing (Mac)";
+			productName = "Unit Testing (Mac)";
+			productReference = EE6A348716C8B44D00EF9F0D /* Unit Testing (Mac).octest */;
+			productType = "com.apple.product-type.bundle";
+		};
 		EEE4986A133AB93800FEDD45 /* SQLiteKit */ = {
 			isa = PBXNativeTarget;
 			buildConfigurationList = EEE49879133AB93800FEDD45 /* Build configuration list for PBXNativeTarget "SQLiteKit" */;
 		0867D690FE84028FC02AAC07 /* Project object */ = {
 			isa = PBXProject;
 			attributes = {
+				CLASSPREFIX = SQLK;
 				LastUpgradeCheck = 0450;
+				ORGANIZATIONNAME = Ossus;
 			};
 			buildConfigurationList = 1DEB922208733DC00010E9CD /* Build configuration list for PBXProject "sqlk" */;
 			compatibilityVersion = "Xcode 3.2";
 				D2AAC07D0554694100DB518D /* sqlk */,
 				EEE4986A133AB93800FEDD45 /* SQLiteKit */,
 				EE08DE5F15A9E07E00CF6086 /* Unit Testing (iOS) */,
+				EE6A348616C8B44D00EF9F0D /* Unit Testing (Mac) */,
 			);
 		};
 /* End PBXProject section */
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
+		EE6A348416C8B44D00EF9F0D /* Resources */ = {
+			isa = PBXResourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				EE6A349A16C8B46100EF9F0D /* database1.xml in Resources */,
+				EE6A349B16C8B46300EF9F0D /* database2.xml in Resources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
 		EEE49869133AB93800FEDD45 /* Resources */ = {
 			isa = PBXResourcesBuildPhase;
 			buildActionMask = 2147483647;
 			files = (
-				EEE49877133AB93800FEDD45 /* InfoPlist.strings in Resources */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
 			shellPath = /bin/sh;
 			shellScript = "# Run the unit tests in this test bundle.\n\"${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests\"\n";
 		};
+		EE6A348516C8B44D00EF9F0D /* ShellScript */ = {
+			isa = PBXShellScriptBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			inputPaths = (
+			);
+			outputPaths = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+			shellPath = /bin/sh;
+			shellScript = "# Run the unit tests in this test bundle.\n\"${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests\"\n";
+		};
 /* End PBXShellScriptBuildPhase section */
 
 /* Begin PBXSourcesBuildPhase section */
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
+		EE6A348216C8B44D00EF9F0D /* Sources */ = {
+			isa = PBXSourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				EE6A349816C8B45B00EF9F0D /* UnitTesting_iOS.m in Sources */,
+				EE6A349916C8B45E00EF9F0D /* SQLKTestObject.m in Sources */,
+				EE6A349D16C8B4EF00EF9F0D /* SQLiteObject.m in Sources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
 		EEE49866133AB93800FEDD45 /* Sources */ = {
 			isa = PBXSourcesBuildPhase;
 			buildActionMask = 2147483647;
 		};
 /* End PBXTargetDependency section */
 
-/* Begin PBXVariantGroup section */
-		EEE49875133AB93800FEDD45 /* InfoPlist.strings */ = {
-			isa = PBXVariantGroup;
-			children = (
-				EEE49876133AB93800FEDD45 /* en */,
-			);
-			name = InfoPlist.strings;
-			sourceTree = "<group>";
-		};
-/* End PBXVariantGroup section */
-
 /* Begin XCBuildConfiguration section */
 		1DEB921F08733DC00010E9CD /* Debug */ = {
 			isa = XCBuildConfiguration;
 				GCC_SYMBOLS_PRIVATE_EXTERN = NO;
 				GCC_WARN_UNINITIALIZED_AUTOS = YES;
 				INFOPLIST_FILE = "Unit Testing (iOS)/Unit Testing (iOS)-Info.plist";
-				IPHONEOS_DEPLOYMENT_TARGET = 6.0;
 				PRODUCT_NAME = "$(TARGET_NAME)";
 				SDKROOT = iphoneos;
 				WRAPPER_EXTENSION = octest;
 				GCC_PREFIX_HEADER = "Unit Testing (iOS)/Unit Testing (iOS)-Prefix.pch";
 				GCC_WARN_UNINITIALIZED_AUTOS = YES;
 				INFOPLIST_FILE = "Unit Testing (iOS)/Unit Testing (iOS)-Info.plist";
-				IPHONEOS_DEPLOYMENT_TARGET = 6.0;
 				PRODUCT_NAME = "$(TARGET_NAME)";
 				SDKROOT = iphoneos;
 				VALIDATE_PRODUCT = YES;
 				GCC_PREFIX_HEADER = "Unit Testing (iOS)/Unit Testing (iOS)-Prefix.pch";
 				GCC_WARN_UNINITIALIZED_AUTOS = YES;
 				INFOPLIST_FILE = "Unit Testing (iOS)/Unit Testing (iOS)-Info.plist";
-				IPHONEOS_DEPLOYMENT_TARGET = 6.0;
 				PRODUCT_NAME = "$(TARGET_NAME)";
 				SDKROOT = iphoneos;
 				VALIDATE_PRODUCT = YES;
 			};
 			name = AdHoc;
 		};
+		EE6A349516C8B44D00EF9F0D /* Debug */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+				CLANG_CXX_LIBRARY = "libc++";
+				CLANG_ENABLE_OBJC_ARC = YES;
+				CLANG_WARN_CONSTANT_CONVERSION = YES;
+				CLANG_WARN_EMPTY_BODY = YES;
+				CLANG_WARN_ENUM_CONVERSION = YES;
+				CLANG_WARN_INT_CONVERSION = YES;
+				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+				COMBINE_HIDPI_IMAGES = YES;
+				COPY_PHASE_STRIP = NO;
+				FRAMEWORK_SEARCH_PATHS = "\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"";
+				GCC_C_LANGUAGE_STANDARD = gnu99;
+				GCC_DYNAMIC_NO_PIC = NO;
+				GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+				GCC_PRECOMPILE_PREFIX_HEADER = YES;
+				GCC_PREFIX_HEADER = "Unit Testing (Mac)/Unit Testing (Mac)-Prefix.pch";
+				GCC_PREPROCESSOR_DEFINITIONS = (
+					"DEBUG=1",
+					"$(inherited)",
+				);
+				GCC_SYMBOLS_PRIVATE_EXTERN = NO;
+				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+				GCC_WARN_UNINITIALIZED_AUTOS = YES;
+				INFOPLIST_FILE = "Unit Testing (Mac)/Unit Testing (Mac)-Info.plist";
+				MACOSX_DEPLOYMENT_TARGET = 10.6;
+				ONLY_ACTIVE_ARCH = YES;
+				PRODUCT_NAME = "$(TARGET_NAME)";
+				SDKROOT = macosx;
+				WRAPPER_EXTENSION = octest;
+			};
+			name = Debug;
+		};
+		EE6A349616C8B44D00EF9F0D /* Release */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+				CLANG_CXX_LIBRARY = "libc++";
+				CLANG_ENABLE_OBJC_ARC = YES;
+				CLANG_WARN_CONSTANT_CONVERSION = YES;
+				CLANG_WARN_EMPTY_BODY = YES;
+				CLANG_WARN_ENUM_CONVERSION = YES;
+				CLANG_WARN_INT_CONVERSION = YES;
+				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+				COMBINE_HIDPI_IMAGES = YES;
+				COPY_PHASE_STRIP = YES;
+				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+				FRAMEWORK_SEARCH_PATHS = "\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"";
+				GCC_C_LANGUAGE_STANDARD = gnu99;
+				GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+				GCC_PRECOMPILE_PREFIX_HEADER = YES;
+				GCC_PREFIX_HEADER = "Unit Testing (Mac)/Unit Testing (Mac)-Prefix.pch";
+				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+				GCC_WARN_UNINITIALIZED_AUTOS = YES;
+				INFOPLIST_FILE = "Unit Testing (Mac)/Unit Testing (Mac)-Info.plist";
+				MACOSX_DEPLOYMENT_TARGET = 10.6;
+				PRODUCT_NAME = "$(TARGET_NAME)";
+				SDKROOT = macosx;
+				WRAPPER_EXTENSION = octest;
+			};
+			name = Release;
+		};
+		EE6A349716C8B44D00EF9F0D /* AdHoc */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+				CLANG_CXX_LIBRARY = "libc++";
+				CLANG_ENABLE_OBJC_ARC = YES;
+				CLANG_WARN_CONSTANT_CONVERSION = YES;
+				CLANG_WARN_EMPTY_BODY = YES;
+				CLANG_WARN_ENUM_CONVERSION = YES;
+				CLANG_WARN_INT_CONVERSION = YES;
+				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+				COMBINE_HIDPI_IMAGES = YES;
+				COPY_PHASE_STRIP = YES;
+				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+				FRAMEWORK_SEARCH_PATHS = "\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"";
+				GCC_C_LANGUAGE_STANDARD = gnu99;
+				GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+				GCC_PRECOMPILE_PREFIX_HEADER = YES;
+				GCC_PREFIX_HEADER = "Unit Testing (Mac)/Unit Testing (Mac)-Prefix.pch";
+				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+				GCC_WARN_UNINITIALIZED_AUTOS = YES;
+				INFOPLIST_FILE = "Unit Testing (Mac)/Unit Testing (Mac)-Info.plist";
+				MACOSX_DEPLOYMENT_TARGET = 10.6;
+				PRODUCT_NAME = "$(TARGET_NAME)";
+				SDKROOT = macosx;
+				WRAPPER_EXTENSION = octest;
+			};
+			name = AdHoc;
+		};
 		EEE4987A133AB93800FEDD45 /* Debug */ = {
 			isa = XCBuildConfiguration;
 			buildSettings = {
 			defaultConfigurationIsVisible = 0;
 			defaultConfigurationName = Release;
 		};
+		EE6A349416C8B44D00EF9F0D /* Build configuration list for PBXNativeTarget "Unit Testing (Mac)" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				EE6A349516C8B44D00EF9F0D /* Debug */,
+				EE6A349616C8B44D00EF9F0D /* Release */,
+				EE6A349716C8B44D00EF9F0D /* AdHoc */,
+			);
+			defaultConfigurationIsVisible = 0;
+		};
 		EEE49879133AB93800FEDD45 /* Build configuration list for PBXNativeTarget "SQLiteKit" */ = {
 			isa = XCConfigurationList;
 			buildConfigurations = (

File sqlk.xcodeproj/xcshareddata/xcschemes/SQLiteKit.xcscheme

+<?xml version="1.0" encoding="UTF-8"?>
+<Scheme
+   LastUpgradeVersion = "0450"
+   version = "1.3">
+   <BuildAction
+      parallelizeBuildables = "YES"
+      buildImplicitDependencies = "YES">
+      <BuildActionEntries>
+         <BuildActionEntry
+            buildForTesting = "YES"
+            buildForRunning = "YES"
+            buildForProfiling = "YES"
+            buildForArchiving = "YES"
+            buildForAnalyzing = "YES">
+            <BuildableReference
+               BuildableIdentifier = "primary"
+               BlueprintIdentifier = "EEE4986A133AB93800FEDD45"
+               BuildableName = "SQLiteKit.framework"
+               BlueprintName = "SQLiteKit"
+               ReferencedContainer = "container:sqlk.xcodeproj">
+            </BuildableReference>
+         </BuildActionEntry>
+      </BuildActionEntries>
+   </BuildAction>
+   <TestAction
+      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+      shouldUseLaunchSchemeArgsEnv = "YES"
+      buildConfiguration = "Debug">
+      <Testables>
+         <TestableReference
+            skipped = "NO">
+            <BuildableReference
+               BuildableIdentifier = "primary"
+               BlueprintIdentifier = "EE6A348616C8B44D00EF9F0D"
+               BuildableName = "Unit Testing (Mac).octest"
+               BlueprintName = "Unit Testing (Mac)"
+               ReferencedContainer = "container:sqlk.xcodeproj">
+            </BuildableReference>
+         </TestableReference>
+      </Testables>
+   </TestAction>
+   <LaunchAction
+      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+      launchStyle = "0"
+      useCustomWorkingDirectory = "NO"
+      buildConfiguration = "Debug"
+      ignoresPersistentStateOnLaunch = "NO"
+      debugDocumentVersioning = "YES"
+      allowLocationSimulation = "YES">
+      <AdditionalOptions>
+      </AdditionalOptions>
+   </LaunchAction>
+   <ProfileAction
+      shouldUseLaunchSchemeArgsEnv = "YES"
+      savedToolIdentifier = ""
+      useCustomWorkingDirectory = "NO"
+      buildConfiguration = "Release"
+      debugDocumentVersioning = "YES">
+   </ProfileAction>
+   <AnalyzeAction
+      buildConfiguration = "Debug">
+   </AnalyzeAction>
+   <ArchiveAction
+      buildConfiguration = "Release"
+      revealArchiveInOrganizer = "YES">
+   </ArchiveAction>
+</Scheme>

File sqlk.xcodeproj/xcshareddata/xcschemes/sqlk.xcscheme

+<?xml version="1.0" encoding="UTF-8"?>
+<Scheme
+   LastUpgradeVersion = "0450"
+   version = "1.3">
+   <BuildAction
+      parallelizeBuildables = "YES"
+      buildImplicitDependencies = "YES">
+      <BuildActionEntries>
+         <BuildActionEntry
+            buildForTesting = "YES"
+            buildForRunning = "YES"
+            buildForProfiling = "YES"
+            buildForArchiving = "YES"
+            buildForAnalyzing = "YES">
+            <BuildableReference
+               BuildableIdentifier = "primary"
+               BlueprintIdentifier = "D2AAC07D0554694100DB518D"
+               BuildableName = "libsqlk.a"
+               BlueprintName = "sqlk"
+               ReferencedContainer = "container:sqlk.xcodeproj">
+            </BuildableReference>
+         </BuildActionEntry>
+      </BuildActionEntries>
+   </BuildAction>
+   <TestAction
+      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+      shouldUseLaunchSchemeArgsEnv = "YES"
+      buildConfiguration = "Debug">
+      <Testables>
+         <TestableReference
+            skipped = "NO">
+            <BuildableReference
+               BuildableIdentifier = "primary"
+               BlueprintIdentifier = "EE08DE5F15A9E07E00CF6086"
+               BuildableName = "Unit Testing (iOS).octest"
+               BlueprintName = "Unit Testing (iOS)"
+               ReferencedContainer = "container:sqlk.xcodeproj">
+            </BuildableReference>
+         </TestableReference>
+      </Testables>
+   </TestAction>
+   <LaunchAction
+      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+      launchStyle = "0"
+      useCustomWorkingDirectory = "NO"
+      buildConfiguration = "Debug"
+      ignoresPersistentStateOnLaunch = "NO"
+      debugDocumentVersioning = "YES"
+      allowLocationSimulation = "YES">
+      <AdditionalOptions>
+      </AdditionalOptions>
+   </LaunchAction>
+   <ProfileAction
+      shouldUseLaunchSchemeArgsEnv = "YES"
+      savedToolIdentifier = ""
+      useCustomWorkingDirectory = "NO"
+      buildConfiguration = "Release"
+      debugDocumentVersioning = "YES">
+   </ProfileAction>
+   <AnalyzeAction
+      buildConfiguration = "Debug">
+   </AnalyzeAction>
+   <ArchiveAction
+      buildConfiguration = "AdHoc"
+      revealArchiveInOrganizer = "YES">
+   </ArchiveAction>
+</Scheme>