Index: trunk/ICeCoffEE/ICeCoffEE/ICeCoffEE.xcodeproj/project.pbxproj
===================================================================
--- trunk/ICeCoffEE/ICeCoffEE/ICeCoffEE.xcodeproj/project.pbxproj	(revision 390)
+++ trunk/ICeCoffEE/ICeCoffEE/ICeCoffEE.xcodeproj/project.pbxproj	(revision 421)
@@ -20,4 +20,5 @@
 				E1EF063A0814203F00C464C7 /* PBXTargetDependency */,
 				E1EF063C0814203F00C464C7 /* PBXTargetDependency */,
+				E13CAD350D78C96E0051111D /* PBXTargetDependency */,
 			);
 			name = "ICeCoffEE Installer";
@@ -34,4 +35,6 @@
 		E120DF1608141DBD00BF8DDC /* KillPrefpanesCache.sh in CopyFiles */ = {isa = PBXBuildFile; fileRef = E1BF15A403DBAA5600050002 /* KillPrefpanesCache.sh */; };
 		E120DF1908141DBD00BF8DDC /* ui.plist in CopyFiles */ = {isa = PBXBuildFile; fileRef = E1BF15A503DBAA5600050002 /* ui.plist */; };
+		E13CACF50D78C4D20051111D /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E169DCAB03E4FF7A00050002 /* Carbon.framework */; };
+		E13CACF80D78C5050051111D /* GetNumericBundleVersion.c in Sources */ = {isa = PBXBuildFile; fileRef = E13CACF70D78C5050051111D /* GetNumericBundleVersion.c */; };
 		E14DF1DA0A6F374700346107 /* APETools.o in Frameworks */ = {isa = PBXBuildFile; fileRef = E14DF1D90A6F374700346107 /* APETools.o */; };
 		E14E2AB60C2B774800AC18D0 /* ICeCoffEEParser.m in Sources */ = {isa = PBXBuildFile; fileRef = E14E2AB40C2B774800AC18D0 /* ICeCoffEEParser.m */; };
@@ -84,4 +87,18 @@
 
 /* Begin PBXContainerItemProxy section */
+		E13CACDE0D78C4820051111D /* PBXContainerItemProxy */ = {
+			isa = PBXContainerItemProxy;
+			containerPortal = 29B97313FDCFA39411CA2CEA /* Project object */;
+			proxyType = 1;
+			remoteGlobalIDString = E1ABAE8D0812F4B2007C5427 /* APE Module */;
+			remoteInfo = "APE Module";
+		};
+		E13CAD340D78C96E0051111D /* PBXContainerItemProxy */ = {
+			isa = PBXContainerItemProxy;
+			containerPortal = 29B97313FDCFA39411CA2CEA /* Project object */;
+			proxyType = 1;
+			remoteGlobalIDString = E13CACD90D78C4720051111D /* GetNumericBundleVersion */;
+			remoteInfo = GetNumericBundleVersion;
+		};
 		E1ABAEF30812F4B3007C5427 /* PBXContainerItemProxy */ = {
 			isa = PBXContainerItemProxy;
@@ -182,4 +199,6 @@
 		E13762D103EC636D00050002 /* ICeCoffEEBookmarks.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = ICeCoffEEBookmarks.h; sourceTree = "<group>"; };
 		E13762D203EC636D00050002 /* ICeCoffEEBookmarks.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = ICeCoffEEBookmarks.c; sourceTree = "<group>"; };
+		E13CACDA0D78C4720051111D /* GetNumericBundleVersion */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = GetNumericBundleVersion; sourceTree = BUILT_PRODUCTS_DIR; };
+		E13CACF70D78C5050051111D /* GetNumericBundleVersion.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = GetNumericBundleVersion.c; sourceTree = "<group>"; };
 		E140C475040BB997009FF178 /* Japanese */ = {isa = PBXFileReference; lastKnownFileType = wrapper.rtfd; name = Japanese; path = Japanese.lproj/APEInfo.rtfd; sourceTree = "<group>"; };
 		E140C476040BBABD009FF178 /* Japanese */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = Japanese; path = "Japanese.lproj/APE Manager plugin.nib"; sourceTree = "<group>"; };
@@ -249,4 +268,12 @@
 
 /* Begin PBXFrameworksBuildPhase section */
+		E13CACD80D78C4720051111D /* Frameworks */ = {
+			isa = PBXFrameworksBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				E13CACF50D78C4D20051111D /* Carbon.framework in Frameworks */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
 		E14E2B2D0C2CBF8100AC18D0 /* Frameworks */ = {
 			isa = PBXFrameworksBuildPhase;
@@ -297,4 +324,5 @@
 				E1ABAEDF0812F4B2007C5427 /* ICFindFilesToRemove */,
 				E14E2B1D0C2CBF1500AC18D0 /* TestParser */,
+				E13CACDA0D78C4720051111D /* GetNumericBundleVersion */,
 			);
 			name = Products;
@@ -472,4 +500,5 @@
 			isa = PBXGroup;
 			children = (
+				E13CACF70D78C5050051111D /* GetNumericBundleVersion.c */,
 				E19EB4F503DD359100050002 /* ICFindFilesToRemove */,
 				E120DF0C08141D5100BF8DDC /* ICeCoffEE Installer.app */,
@@ -495,4 +524,21 @@
 
 /* Begin PBXNativeTarget section */
+		E13CACD90D78C4720051111D /* GetNumericBundleVersion */ = {
+			isa = PBXNativeTarget;
+			buildConfigurationList = E13CACF10D78C4BD0051111D /* Build configuration list for PBXNativeTarget "GetNumericBundleVersion" */;
+			buildPhases = (
+				E13CACD70D78C4720051111D /* Sources */,
+				E13CACD80D78C4720051111D /* Frameworks */,
+			);
+			buildRules = (
+			);
+			dependencies = (
+				E13CACDF0D78C4820051111D /* PBXTargetDependency */,
+			);
+			name = GetNumericBundleVersion;
+			productName = GetNumericBundleVersion;
+			productReference = E13CACDA0D78C4720051111D /* GetNumericBundleVersion */;
+			productType = "com.apple.product-type.tool";
+		};
 		E14E2B1C0C2CBF1500AC18D0 /* TestParser */ = {
 			isa = PBXNativeTarget;
@@ -598,4 +644,5 @@
 				E1ABAE8D0812F4B2007C5427 /* APE Module */,
 				E1ABAEBA0812F4B2007C5427 /* APEManagerPrefPane */,
+				E13CACD90D78C4720051111D /* GetNumericBundleVersion */,
 				E1ABAED60812F4B2007C5427 /* ICFindFilesToRemove */,
 				E120DB7308141CCB00BF8DDC /* ICeCoffEE Installer */,
@@ -649,5 +696,5 @@
 			runOnlyForDeploymentPostprocessing = 0;
 			shellPath = /bin/sh;
-			shellScript = "cd \"${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.${WRAPPER_EXTENSION}/Contents/Resources/\" && \\\n/usr/bin/install \"${BUILT_PRODUCTS_DIR}/ICFindFilesToRemove\" ui && \\\nrm -rf ui/ICeCoffEE.ape && \\\nmkdir ui/ICeCoffEE.ape && \\\n/usr/bin/ditto -rsrc \"${BUILT_PRODUCTS_DIR}/ICeCoffEE.ape\" ui/ICeCoffEE.ape && \\\nfor i in ui/ICeCoffEE.ape/Contents/Resources/*.lproj\ndo\n    LPROJ=\"`basename $i`\"\n    mkdir -p \"${LPROJ}/ui\"\n    ln -s \"../../ui/ICeCoffEE.ape/Contents/Resources/$LPROJ/APEInfo.rtfd\" \"${LPROJ}/ui/ReadMe.rtfd\"\ndone";
+			shellScript = "cd \"${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.${WRAPPER_EXTENSION}/Contents/Resources/\"\n/usr/bin/install \"${BUILT_PRODUCTS_DIR}/ICFindFilesToRemove\" ui\nrm -rf ui/ICeCoffEE.ape\nmkdir ui/ICeCoffEE.ape\n/usr/bin/ditto -rsrc \"${BUILT_PRODUCTS_DIR}/ICeCoffEE.ape\" ui/ICeCoffEE.ape\nfor i in ui/ICeCoffEE.ape/Contents/Resources/*.lproj\ndo\n    LPROJ=\"`basename $i`\"\n    mkdir -p \"${LPROJ}/ui\"\n    ln -s \"../../ui/ICeCoffEE.ape/Contents/Resources/$LPROJ/APEInfo.rtfd\" \"${LPROJ}/ui/ReadMe.rtfd\"\ndone\n/usr/libexec/PlistBuddy ui/ui.plist -c 'Set :ProductVersion \"'${CURRENT_MARKETING_VERSION}'\"'\n/usr/libexec/PlistBuddy ui/ui.plist -c 'Set :ProductNumVersion '$(${BUILT_PRODUCTS_DIR}/GetNumericBundleVersion ui/ICeCoffEE.ape)";
 		};
 		E1ABAEB70812F4B2007C5427 /* ShellScript */ = {
@@ -663,4 +710,12 @@
 
 /* Begin PBXSourcesBuildPhase section */
+		E13CACD70D78C4720051111D /* Sources */ = {
+			isa = PBXSourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				E13CACF80D78C5050051111D /* GetNumericBundleVersion.c in Sources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
 		E14E2B1A0C2CBF1500AC18D0 /* Sources */ = {
 			isa = PBXSourcesBuildPhase;
@@ -726,4 +781,14 @@
 
 /* Begin PBXTargetDependency section */
+		E13CACDF0D78C4820051111D /* PBXTargetDependency */ = {
+			isa = PBXTargetDependency;
+			target = E1ABAE8D0812F4B2007C5427 /* APE Module */;
+			targetProxy = E13CACDE0D78C4820051111D /* PBXContainerItemProxy */;
+		};
+		E13CAD350D78C96E0051111D /* PBXTargetDependency */ = {
+			isa = PBXTargetDependency;
+			target = E13CACD90D78C4720051111D /* GetNumericBundleVersion */;
+			targetProxy = E13CAD340D78C96E0051111D /* PBXContainerItemProxy */;
+		};
 		E1ABAEF40812F4B3007C5427 /* PBXTargetDependency */ = {
 			isa = PBXTargetDependency;
@@ -797,4 +862,20 @@
 
 /* Begin XCBuildConfiguration section */
+		E13CACDC0D78C4730051111D /* Development */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				PRODUCT_NAME = GetNumericBundleVersion;
+				SKIP_INSTALL = YES;
+			};
+			name = Development;
+		};
+		E13CACDD0D78C4730051111D /* Deployment */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				PRODUCT_NAME = GetNumericBundleVersion;
+				SKIP_INSTALL = YES;
+			};
+			name = Deployment;
+		};
 		E14E2B290C2CBF5200AC18D0 /* Development */ = {
 			isa = XCBuildConfiguration;
@@ -850,5 +931,4 @@
 				COPY_PHASE_STRIP = YES;
 				FRAMEWORK_SEARCH_PATHS = /Library/Frameworks;
-				GCC_ENABLE_FIX_AND_CONTINUE = NO;
 				INFOPLIST_FILE = "Info-APEManagerPrefPane.plist";
 				PRODUCT_NAME = APEManagerPrefPane;
@@ -859,5 +939,4 @@
 				);
 				WRAPPER_EXTENSION = plugin;
-				ZERO_LINK = NO;
 			};
 			name = Deployment;
@@ -890,5 +969,4 @@
 			isa = XCBuildConfiguration;
 			buildSettings = {
-				COPY_PHASE_STRIP = YES;
 				EXPORTED_SYMBOLS_FILE = Exports.exp;
 				FRAMEWORK_SEARCH_PATHS = (
@@ -934,7 +1012,5 @@
 				GCC_PRECOMPILE_PREFIX_HEADER = YES;
 				GCC_PREFIX_HEADER = ICFindFilesToRemove/ICFindFilesToRemove_Prefix.h;
-				OTHER_REZFLAGS = "";
 				PRODUCT_NAME = ICFindFilesToRemove;
-				REZ_EXECUTABLE = YES;
 				WARNING_CFLAGS = (
 					"-Wmost",
@@ -948,8 +1024,6 @@
 			isa = XCBuildConfiguration;
 			buildSettings = {
-				COPY_PHASE_STRIP = NO;
 				PRODUCT_NAME = "ICeCoffEE Installer";
 				WRAPPER_EXTENSION = app;
-				ZERO_LINK = YES;
 			};
 			name = Development;
@@ -958,8 +1032,6 @@
 			isa = XCBuildConfiguration;
 			buildSettings = {
-				COPY_PHASE_STRIP = YES;
 				PRODUCT_NAME = "ICeCoffEE Installer";
 				WRAPPER_EXTENSION = app;
-				ZERO_LINK = NO;
 			};
 			name = Deployment;
@@ -998,4 +1070,13 @@
 
 /* Begin XCConfigurationList section */
+		E13CACF10D78C4BD0051111D /* Build configuration list for PBXNativeTarget "GetNumericBundleVersion" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				E13CACDC0D78C4730051111D /* Development */,
+				E13CACDD0D78C4730051111D /* Deployment */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Development;
+		};
 		E14E2B280C2CBF5200AC18D0 /* Build configuration list for PBXNativeTarget "TestParser" */ = {
 			isa = XCConfigurationList;
