Commits

stopiccot  committed d20f8ad

Build scripts fixed for Xcode 4.3

  • Participants
  • Parent commits e6a9924

Comments (0)

Files changed (1)

File lobster.xcodeproj/project.pbxproj

 		A85A589613EF166D00DD5E04 /* Icon-Small-Retina.png in Resources */ = {isa = PBXBuildFile; fileRef = A85A589013EF166D00DD5E04 /* Icon-Small-Retina.png */; };
 		A85A589713EF166D00DD5E04 /* Icon-Small.png in Resources */ = {isa = PBXBuildFile; fileRef = A85A589113EF166D00DD5E04 /* Icon-Small.png */; };
 		A85A589813EF166D00DD5E04 /* Icon.png in Resources */ = {isa = PBXBuildFile; fileRef = A85A589213EF166D00DD5E04 /* Icon.png */; };
-		A89B43B013EF05F300C5A19E /* MainWindow-iPad.xib in Resources */ = {isa = PBXBuildFile; fileRef = A89B43AF13EF05F300C5A19E /* MainWindow-iPad.xib */; };
 		D110F82213425A9D00F45F3C /* GameKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D110F82113425A9D00F45F3C /* GameKit.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
 		D110F82613425AAE00F45F3C /* GameCenter.mm in Sources */ = {isa = PBXBuildFile; fileRef = D110F82513425AAE00F45F3C /* GameCenter.mm */; };
 		D110F84113425C5B00F45F3C /* PuzzleFu.cpp in Sources */ = {isa = PBXBuildFile; fileRef = D110F83F13425C5B00F45F3C /* PuzzleFu.cpp */; };
 		A85A589013EF166D00DD5E04 /* Icon-Small-Retina.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Icon-Small-Retina.png"; sourceTree = "<group>"; };
 		A85A589113EF166D00DD5E04 /* Icon-Small.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Icon-Small.png"; sourceTree = "<group>"; };
 		A85A589213EF166D00DD5E04 /* Icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Icon.png; sourceTree = "<group>"; };
-		A89B43AF13EF05F300C5A19E /* MainWindow-iPad.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = "MainWindow-iPad.xib"; path = "iPad/MainWindow-iPad.xib"; sourceTree = "<group>"; };
 		D110F82113425A9D00F45F3C /* GameKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GameKit.framework; path = System/Library/Frameworks/GameKit.framework; sourceTree = SDKROOT; };
 		D110F82513425AAE00F45F3C /* GameCenter.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = GameCenter.mm; path = code/ios/GameCenter.mm; sourceTree = "<group>"; };
 		D110F83B13425C5B00F45F3C /* CrapText.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CrapText.h; path = code/payload/CrapText.h; sourceTree = "<group>"; };
 				D15682A0133E100200FB7E26 /* code */,
 				29B97315FDCFA39411CA2CEA /* Other Sources */,
 				29B97317FDCFA39411CA2CEA /* Resources */,
-				A89B43AE13EF05E600C5A19E /* iPad */,
 				29B97323FDCFA39411CA2CEA /* Frameworks */,
 				19C28FACFE9D520D11CA2CBB /* Products */,
 			);
 			name = Frameworks;
 			sourceTree = "<group>";
 		};
-		A89B43AE13EF05E600C5A19E /* iPad */ = {
-			isa = PBXGroup;
-			children = (
-				A89B43AF13EF05F300C5A19E /* MainWindow-iPad.xib */,
-			);
-			name = iPad;
-			sourceTree = "<group>";
-		};
 		D110F84213425C6F00F45F3C /* views */ = {
 			isa = PBXGroup;
 			children = (
 				D110F87513425E2C00F45F3C /* PuzzleFu.png in Resources */,
 				A822B4A413848364004E4DC5 /* Splash.png in Resources */,
 				A82D1B1E13D76A0700CB46D0 /* SplashPad.png in Resources */,
-				A89B43B013EF05F300C5A19E /* MainWindow-iPad.xib in Resources */,
 				A85A589313EF166D00DD5E04 /* Icon-72.png in Resources */,
 				A85A589413EF166D00DD5E04 /* Icon-Retina.png in Resources */,
 				A85A589513EF166D00DD5E04 /* Icon-Small-50.png in Resources */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 			shellPath = /bin/sh;
-			shellScript = "for png_image in `ls data/textures/*.png` \ndo\n\trm -f $png_image.pvr.png\n\trm -f $png_image.pvr\n\t# echo \"Processing \\\"$png_image\\\" ...\"\n\t/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/texturetool -e PVRTC --bits-per-pixel-4 $png_image -f PVR -o $png_image.pvr\n#\t/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/texturetool -e PVRTC --bits-per-pixel-2 $png_image -f PVR -o $png_image.pvr\ndone\n\n";
+			shellScript = "for png_image in `ls data/textures/*.png` \ndo\n\trm -f $png_image.pvr.png\n\trm -f $png_image.pvr\n\t# echo \"Processing \\\"$png_image\\\" ...\"\n\t/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/texturetool -e PVRTC --bits-per-pixel-4 $png_image -f PVR -o $png_image.pvr\n#\t/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/texturetool -e PVRTC --bits-per-pixel-2 $png_image -f PVR -o $png_image.pvr\ndone\n\n";
 		};
 		D110F86E13425D4E00F45F3C /* Copy Lobster Resources */ = {
 			isa = PBXShellScriptBuildPhase;
 			isa = XCBuildConfiguration;
 			buildSettings = {
 				ALWAYS_SEARCH_USER_PATHS = NO;
-				CODE_SIGN_IDENTITY = "iPhone Distribution";
-				"CODE_SIGN_IDENTITY[sdk=*]" = "iPhone Distribution";
+				CODE_SIGN_IDENTITY = "iPhone Developer";
+				"CODE_SIGN_IDENTITY[sdk=*]" = "iPhone Developer";
 				COPY_PHASE_STRIP = NO;
 				GCC_DYNAMIC_NO_PIC = NO;
 				GCC_OPTIMIZATION_LEVEL = 0;
 				PRODUCT_NAME = puzzlefu;
 				PROVISIONING_PROFILE = "";
 				"PROVISIONING_PROFILE[sdk=*]" = "";
+				SDKROOT = iphoneos;
 				TARGETED_DEVICE_FAMILY = "1,2";
 			};
 			name = Debug;
 			isa = XCBuildConfiguration;
 			buildSettings = {
 				ALWAYS_SEARCH_USER_PATHS = NO;
-				CODE_SIGN_IDENTITY = "iPhone Distribution";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
+				CODE_SIGN_IDENTITY = "iPhone Developer";
+				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
 				COPY_PHASE_STRIP = YES;
 				GCC_PRECOMPILE_PREFIX_HEADER = YES;
 				GCC_PREFIX_HEADER = Lobster_Prefix.pch;
 				PRODUCT_NAME = puzzlefu;
 				PROVISIONING_PROFILE = "";
 				"PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
+				SDKROOT = iphoneos;
 				TARGETED_DEVICE_FAMILY = "1,2";
 				VALIDATE_PRODUCT = YES;
 			};
 				GCC_PREPROCESSOR_DEFINITIONS = DEBUG;
 				GCC_WARN_ABOUT_RETURN_TYPE = YES;
 				GCC_WARN_UNUSED_VARIABLE = YES;
+				IPHONEOS_DEPLOYMENT_TARGET = 3.1;
 				PREBINDING = NO;
 				PRODUCT_NAME = puzzlefu;
 				PROVISIONING_PROFILE = "";
 				GCC_C_LANGUAGE_STANDARD = c99;
 				GCC_WARN_ABOUT_RETURN_TYPE = YES;
 				GCC_WARN_UNUSED_VARIABLE = YES;
+				IPHONEOS_DEPLOYMENT_TARGET = 3.1;
 				OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
 				PREBINDING = NO;
 				PROVISIONING_PROFILE = "";