diff MySampleProject.xcodeproj/project.pbxproj @ 1:143ac8f6fe35

Made universal iPhone/iPad
author Eric Wing <ewing@anscamobile.com>
date Fri, 29 Jul 2011 18:36:55 -0700
parents 5ec52341f221
children
line wrap: on
line diff
--- a/MySampleProject.xcodeproj/project.pbxproj	Fri Jul 29 18:18:15 2011 -0700
+++ b/MySampleProject.xcodeproj/project.pbxproj	Fri Jul 29 18:36:55 2011 -0700
@@ -7,6 +7,7 @@
 	objects = {
 
 /* Begin PBXBuildFile section */
+		003E2B1413E3970500A286C6 /* MainWindow-iPad.xib in Resources */ = {isa = PBXBuildFile; fileRef = 003E2B1313E3970500A286C6 /* MainWindow-iPad.xib */; };
 		00841E4E13E3929C00091BB8 /* Shader.fsh in Resources */ = {isa = PBXBuildFile; fileRef = 2514C27910084DCA00A42282 /* Shader.fsh */; };
 		00841E4F13E3929C00091BB8 /* Shader.vsh in Resources */ = {isa = PBXBuildFile; fileRef = 2514C27A10084DCA00A42282 /* Shader.vsh */; };
 		00841E5013E3929C00091BB8 /* MainWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 28AD733E0D9D9553002E5188 /* MainWindow.xib */; };
@@ -34,6 +35,7 @@
 /* End PBXBuildFile section */
 
 /* Begin PBXFileReference section */
+		003E2B1313E3970500A286C6 /* MainWindow-iPad.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = "MainWindow-iPad.xib"; path = "Resources-iPad/MainWindow-iPad.xib"; sourceTree = "<group>"; };
 		00841E5F13E3929C00091BB8 /* OpenGLES2.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = OpenGLES2.app; sourceTree = BUILT_PRODUCTS_DIR; };
 		00841E6113E3929C00091BB8 /* MySampleProject-Info copy.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "MySampleProject-Info copy.plist"; sourceTree = "<group>"; };
 		1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
@@ -82,6 +84,14 @@
 /* End PBXFrameworksBuildPhase section */
 
 /* Begin PBXGroup section */
+		003E2B1013E3970500A286C6 /* Resources-iPad */ = {
+			isa = PBXGroup;
+			children = (
+				003E2B1313E3970500A286C6 /* MainWindow-iPad.xib */,
+			);
+			name = "Resources-iPad";
+			sourceTree = "<group>";
+		};
 		080E96DDFE201D6D7F000001 /* Classes */ = {
 			isa = PBXGroup;
 			children = (
@@ -120,6 +130,7 @@
 				2514C27610084DB600A42282 /* Shaders */,
 				29B97315FDCFA39411CA2CEA /* Other Sources */,
 				29B97317FDCFA39411CA2CEA /* Resources */,
+				003E2B1013E3970500A286C6 /* Resources-iPad */,
 				29B97323FDCFA39411CA2CEA /* Frameworks */,
 				19C28FACFE9D520D11CA2CBB /* Products */,
 			);
@@ -239,6 +250,7 @@
 				2514C27C10084DCA00A42282 /* Shader.vsh in Resources */,
 				28AD733F0D9D9553002E5188 /* MainWindow.xib in Resources */,
 				28EC4C5A11D54ECE0027AA9F /* MySampleProjectViewController.xib in Resources */,
+				003E2B1413E3970500A286C6 /* MainWindow-iPad.xib in Resources */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
@@ -306,6 +318,7 @@
 			isa = XCBuildConfiguration;
 			buildSettings = {
 				ALWAYS_SEARCH_USER_PATHS = NO;
+				ARCHS = "$(ARCHS_STANDARD_32_BIT)";
 				COPY_PHASE_STRIP = NO;
 				GCC_DYNAMIC_NO_PIC = NO;
 				GCC_OPTIMIZATION_LEVEL = 0;
@@ -313,6 +326,7 @@
 				GCC_PREFIX_HEADER = MySampleProject_Prefix.pch;
 				INFOPLIST_FILE = "MySampleProject-Info.plist";
 				PRODUCT_NAME = OpenGLES1;
+				SDKROOT = iphoneos;
 			};
 			name = Debug;
 		};
@@ -320,11 +334,13 @@
 			isa = XCBuildConfiguration;
 			buildSettings = {
 				ALWAYS_SEARCH_USER_PATHS = NO;
+				ARCHS = "$(ARCHS_STANDARD_32_BIT)";
 				COPY_PHASE_STRIP = YES;
 				GCC_PRECOMPILE_PREFIX_HEADER = YES;
 				GCC_PREFIX_HEADER = MySampleProject_Prefix.pch;
 				INFOPLIST_FILE = "MySampleProject-Info.plist";
 				PRODUCT_NAME = OpenGLES1;
+				SDKROOT = iphoneos;
 				VALIDATE_PRODUCT = YES;
 			};
 			name = Release;
@@ -340,6 +356,7 @@
 				GCC_WARN_UNUSED_VARIABLE = YES;
 				PREBINDING = NO;
 				SDKROOT = iphoneos;
+				TARGETED_DEVICE_FAMILY = "1,2";
 			};
 			name = Debug;
 		};
@@ -354,6 +371,7 @@
 				OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
 				PREBINDING = NO;
 				SDKROOT = iphoneos;
+				TARGETED_DEVICE_FAMILY = "1,2";
 			};
 			name = Release;
 		};