iOS Xcode project template fixes/changes.
authorEric Wing
Mon, 31 Jan 2011 07:36:12 -0800
changeset 5278067973aec4d8
parent 5277 37b582b8bb07
child 5279 2c500f37abcf
iOS Xcode project template fixes/changes.
- Embedded headers
- Embedded Universal Device/Simulator libSDL.a
- Changed search paths.
- Removed cruft from copy resources.
Xcode-iPhoneOS/SDL/SDLiPhoneOS.xcodeproj/project.pbxproj
Xcode-iPhoneOS/Template/SDL iOS Application/___PROJECTNAME___.xcodeproj/project.pbxproj
Xcode-iPhoneOS/Template/SDL iOS Application/main.c
     1.1 --- a/Xcode-iPhoneOS/SDL/SDLiPhoneOS.xcodeproj/project.pbxproj	Mon Jan 31 00:37:38 2011 -0800
     1.2 +++ b/Xcode-iPhoneOS/SDL/SDLiPhoneOS.xcodeproj/project.pbxproj	Mon Jan 31 07:36:12 2011 -0800
     1.3 @@ -271,14 +271,14 @@
     1.4  			isa = PBXContainerItemProxy;
     1.5  			containerPortal = 29B97313FDCFA39411CA2CEA /* Project object */;
     1.6  			proxyType = 1;
     1.7 -			remoteGlobalIDString = 00B4F47112F696830084EC00 /* BuildUniversalSimulatorDevicelibSDL */;
     1.8 +			remoteGlobalIDString = 00B4F47112F696830084EC00;
     1.9  			remoteInfo = BuildUniversalSimulatorDevicelibSDL;
    1.10  		};
    1.11  		00B4F4B012F6A9F00084EC00 /* PBXContainerItemProxy */ = {
    1.12  			isa = PBXContainerItemProxy;
    1.13  			containerPortal = 29B97313FDCFA39411CA2CEA /* Project object */;
    1.14  			proxyType = 1;
    1.15 -			remoteGlobalIDString = 0064653F107E3D7400183915 /* Generate Header Files */;
    1.16 +			remoteGlobalIDString = 0064653F107E3D7400183915;
    1.17  			remoteInfo = "Generate Header Files";
    1.18  		};
    1.19  /* End PBXContainerItemProxy section */
     2.1 --- a/Xcode-iPhoneOS/Template/SDL iOS Application/___PROJECTNAME___.xcodeproj/project.pbxproj	Mon Jan 31 00:37:38 2011 -0800
     2.2 +++ b/Xcode-iPhoneOS/Template/SDL iOS Application/___PROJECTNAME___.xcodeproj/project.pbxproj	Mon Jan 31 07:36:12 2011 -0800
     2.3 @@ -7,12 +7,11 @@
     2.4  	objects = {
     2.5  
     2.6  /* Begin PBXBuildFile section */
     2.7 +		0097E2D912F70C4E00724AC5 /* libSDL.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 0097E2D512F70C4D00724AC5 /* libSDL.a */; };
     2.8  		1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; };
     2.9  		1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */; };
    2.10  		28FD15000DC6FC520079059D /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 28FD14FF0DC6FC520079059D /* OpenGLES.framework */; };
    2.11  		28FD15080DC6FC5B0079059D /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 28FD15070DC6FC5B0079059D /* QuartzCore.framework */; };
    2.12 -		FD779ED20E26B9B000F39101 /* libSDLSimulator.a in Frameworks */ = {isa = PBXBuildFile; fileRef = FD779ED00E26B9B000F39101 /* libSDLSimulator.a */; };
    2.13 -		FD779ED30E26B9B000F39101 /* libSDLiPhoneOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = FD779ED10E26B9B000F39101 /* libSDLiPhoneOS.a */; };
    2.14  		FD779EDE0E26BA1200F39101 /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FD779EDD0E26BA1200F39101 /* CoreAudio.framework */; };
    2.15  		FD77A07D0E26BD8C00F39101 /* Icon.png in Resources */ = {isa = PBXBuildFile; fileRef = FD77A07C0E26BD8C00F39101 /* Icon.png */; };
    2.16  		FD77A07F0E26BDA900F39101 /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = FD77A07E0E26BDA900F39101 /* Default.png */; };
    2.17 @@ -22,14 +21,71 @@
    2.18  /* End PBXBuildFile section */
    2.19  
    2.20  /* Begin PBXFileReference section */
    2.21 +		0097E29A12F70C4D00724AC5 /* begin_code.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = begin_code.h; sourceTree = "<group>"; };
    2.22 +		0097E29B12F70C4D00724AC5 /* close_code.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = close_code.h; sourceTree = "<group>"; };
    2.23 +		0097E29C12F70C4D00724AC5 /* doxyfile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = doxyfile; sourceTree = "<group>"; };
    2.24 +		0097E29D12F70C4D00724AC5 /* SDL.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL.h; sourceTree = "<group>"; };
    2.25 +		0097E29E12F70C4D00724AC5 /* SDL_assert.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_assert.h; sourceTree = "<group>"; };
    2.26 +		0097E29F12F70C4D00724AC5 /* SDL_atomic.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_atomic.h; sourceTree = "<group>"; };
    2.27 +		0097E2A012F70C4D00724AC5 /* SDL_audio.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_audio.h; sourceTree = "<group>"; };
    2.28 +		0097E2A112F70C4D00724AC5 /* SDL_blendmode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_blendmode.h; sourceTree = "<group>"; };
    2.29 +		0097E2A212F70C4D00724AC5 /* SDL_clipboard.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_clipboard.h; sourceTree = "<group>"; };
    2.30 +		0097E2A312F70C4D00724AC5 /* SDL_compat.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_compat.h; sourceTree = "<group>"; };
    2.31 +		0097E2A412F70C4D00724AC5 /* SDL_config.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_config.h; sourceTree = "<group>"; };
    2.32 +		0097E2A512F70C4D00724AC5 /* SDL_config.h.default */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = SDL_config.h.default; sourceTree = "<group>"; };
    2.33 +		0097E2A612F70C4D00724AC5 /* SDL_config.h.in */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = SDL_config.h.in; sourceTree = "<group>"; };
    2.34 +		0097E2A712F70C4D00724AC5 /* SDL_config_android.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_config_android.h; sourceTree = "<group>"; };
    2.35 +		0097E2A812F70C4D00724AC5 /* SDL_config_iphoneos.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_config_iphoneos.h; sourceTree = "<group>"; };
    2.36 +		0097E2A912F70C4D00724AC5 /* SDL_config_macosx.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_config_macosx.h; sourceTree = "<group>"; };
    2.37 +		0097E2AA12F70C4D00724AC5 /* SDL_config_minimal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_config_minimal.h; sourceTree = "<group>"; };
    2.38 +		0097E2AB12F70C4D00724AC5 /* SDL_config_nintendods.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_config_nintendods.h; sourceTree = "<group>"; };
    2.39 +		0097E2AC12F70C4D00724AC5 /* SDL_config_pandora.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_config_pandora.h; sourceTree = "<group>"; };
    2.40 +		0097E2AD12F70C4D00724AC5 /* SDL_config_windows.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_config_windows.h; sourceTree = "<group>"; };
    2.41 +		0097E2AE12F70C4D00724AC5 /* SDL_config_wiz.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_config_wiz.h; sourceTree = "<group>"; };
    2.42 +		0097E2AF12F70C4D00724AC5 /* SDL_copying.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_copying.h; sourceTree = "<group>"; };
    2.43 +		0097E2B012F70C4D00724AC5 /* SDL_cpuinfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_cpuinfo.h; sourceTree = "<group>"; };
    2.44 +		0097E2B112F70C4D00724AC5 /* SDL_endian.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_endian.h; sourceTree = "<group>"; };
    2.45 +		0097E2B212F70C4D00724AC5 /* SDL_error.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_error.h; sourceTree = "<group>"; };
    2.46 +		0097E2B312F70C4D00724AC5 /* SDL_events.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_events.h; sourceTree = "<group>"; };
    2.47 +		0097E2B412F70C4D00724AC5 /* SDL_gesture.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_gesture.h; sourceTree = "<group>"; };
    2.48 +		0097E2B512F70C4D00724AC5 /* SDL_haptic.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_haptic.h; sourceTree = "<group>"; };
    2.49 +		0097E2B612F70C4D00724AC5 /* SDL_input.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_input.h; sourceTree = "<group>"; };
    2.50 +		0097E2B712F70C4D00724AC5 /* SDL_joystick.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_joystick.h; sourceTree = "<group>"; };
    2.51 +		0097E2B812F70C4D00724AC5 /* SDL_keyboard.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_keyboard.h; sourceTree = "<group>"; };
    2.52 +		0097E2B912F70C4D00724AC5 /* SDL_keysym.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_keysym.h; sourceTree = "<group>"; };
    2.53 +		0097E2BA12F70C4D00724AC5 /* SDL_loadso.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_loadso.h; sourceTree = "<group>"; };
    2.54 +		0097E2BB12F70C4D00724AC5 /* SDL_main.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_main.h; sourceTree = "<group>"; };
    2.55 +		0097E2BC12F70C4D00724AC5 /* SDL_mouse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_mouse.h; sourceTree = "<group>"; };
    2.56 +		0097E2BD12F70C4D00724AC5 /* SDL_mutex.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_mutex.h; sourceTree = "<group>"; };
    2.57 +		0097E2BE12F70C4D00724AC5 /* SDL_name.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_name.h; sourceTree = "<group>"; };
    2.58 +		0097E2BF12F70C4D00724AC5 /* SDL_opengl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_opengl.h; sourceTree = "<group>"; };
    2.59 +		0097E2C012F70C4D00724AC5 /* SDL_opengles.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_opengles.h; sourceTree = "<group>"; };
    2.60 +		0097E2C112F70C4D00724AC5 /* SDL_pixels.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_pixels.h; sourceTree = "<group>"; };
    2.61 +		0097E2C212F70C4D00724AC5 /* SDL_platform.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_platform.h; sourceTree = "<group>"; };
    2.62 +		0097E2C312F70C4D00724AC5 /* SDL_power.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_power.h; sourceTree = "<group>"; };
    2.63 +		0097E2C412F70C4D00724AC5 /* SDL_quit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_quit.h; sourceTree = "<group>"; };
    2.64 +		0097E2C512F70C4D00724AC5 /* SDL_rect.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_rect.h; sourceTree = "<group>"; };
    2.65 +		0097E2C612F70C4D00724AC5 /* SDL_revision.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_revision.h; sourceTree = "<group>"; };
    2.66 +		0097E2C712F70C4D00724AC5 /* SDL_rwops.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_rwops.h; sourceTree = "<group>"; };
    2.67 +		0097E2C812F70C4D00724AC5 /* SDL_scalemode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_scalemode.h; sourceTree = "<group>"; };
    2.68 +		0097E2C912F70C4D00724AC5 /* SDL_scancode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_scancode.h; sourceTree = "<group>"; };
    2.69 +		0097E2CA12F70C4D00724AC5 /* SDL_shape.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_shape.h; sourceTree = "<group>"; };
    2.70 +		0097E2CB12F70C4D00724AC5 /* SDL_stdinc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_stdinc.h; sourceTree = "<group>"; };
    2.71 +		0097E2CC12F70C4D00724AC5 /* SDL_surface.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_surface.h; sourceTree = "<group>"; };
    2.72 +		0097E2CD12F70C4D00724AC5 /* SDL_syswm.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_syswm.h; sourceTree = "<group>"; };
    2.73 +		0097E2CE12F70C4D00724AC5 /* SDL_thread.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_thread.h; sourceTree = "<group>"; };
    2.74 +		0097E2CF12F70C4D00724AC5 /* SDL_timer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_timer.h; sourceTree = "<group>"; };
    2.75 +		0097E2D012F70C4D00724AC5 /* SDL_touch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_touch.h; sourceTree = "<group>"; };
    2.76 +		0097E2D112F70C4D00724AC5 /* SDL_types.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_types.h; sourceTree = "<group>"; };
    2.77 +		0097E2D212F70C4D00724AC5 /* SDL_version.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_version.h; sourceTree = "<group>"; };
    2.78 +		0097E2D312F70C4D00724AC5 /* SDL_video.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_video.h; sourceTree = "<group>"; };
    2.79 +		0097E2D512F70C4D00724AC5 /* libSDL.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libSDL.a; sourceTree = "<group>"; };
    2.80  		1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
    2.81  		1D6058910D05DD3D006BFB54 /* ___PROJECTNAME___.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "___PROJECTNAME___.app"; sourceTree = BUILT_PRODUCTS_DIR; };
    2.82  		1DF5F4DF0D08C38300B7A737 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
    2.83  		28FD14FF0DC6FC520079059D /* OpenGLES.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGLES.framework; path = System/Library/Frameworks/OpenGLES.framework; sourceTree = SDKROOT; };
    2.84  		28FD15070DC6FC5B0079059D /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; };
    2.85  		8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
    2.86 -		FD779ED00E26B9B000F39101 /* libSDLSimulator.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libSDLSimulator.a; path = lib/libSDLSimulator.a; sourceTree = "<group>"; };
    2.87 -		FD779ED10E26B9B000F39101 /* libSDLiPhoneOS.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libSDLiPhoneOS.a; path = lib/libSDLiPhoneOS.a; sourceTree = "<group>"; };
    2.88  		FD779EDD0E26BA1200F39101 /* CoreAudio.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreAudio.framework; path = System/Library/Frameworks/CoreAudio.framework; sourceTree = SDKROOT; };
    2.89  		FD77A07C0E26BD8C00F39101 /* Icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Icon.png; sourceTree = "<group>"; };
    2.90  		FD77A07E0E26BDA900F39101 /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = "<group>"; };
    2.91 @@ -43,8 +99,6 @@
    2.92  			isa = PBXFrameworksBuildPhase;
    2.93  			buildActionMask = 2147483647;
    2.94  			files = (
    2.95 -				FD779ED20E26B9B000F39101 /* libSDLSimulator.a in Frameworks */,
    2.96 -				FD779ED30E26B9B000F39101 /* libSDLiPhoneOS.a in Frameworks */,
    2.97  				1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */,
    2.98  				1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */,
    2.99  				28FD15000DC6FC520079059D /* OpenGLES.framework in Frameworks */,
   2.100 @@ -52,12 +106,95 @@
   2.101  				FD779EDE0E26BA1200F39101 /* CoreAudio.framework in Frameworks */,
   2.102  				FD77A0850E26BDB800F39101 /* AudioToolbox.framework in Frameworks */,
   2.103  				FDB8BFC60E5A0F6A00980157 /* CoreGraphics.framework in Frameworks */,
   2.104 +				0097E2D912F70C4E00724AC5 /* libSDL.a in Frameworks */,
   2.105  			);
   2.106  			runOnlyForDeploymentPostprocessing = 0;
   2.107  		};
   2.108  /* End PBXFrameworksBuildPhase section */
   2.109  
   2.110  /* Begin PBXGroup section */
   2.111 +		0097E29812F70C4D00724AC5 /* SDL */ = {
   2.112 +			isa = PBXGroup;
   2.113 +			children = (
   2.114 +				0097E29912F70C4D00724AC5 /* include */,
   2.115 +				0097E2D412F70C4D00724AC5 /* lib */,
   2.116 +			);
   2.117 +			path = SDL;
   2.118 +			sourceTree = "<group>";
   2.119 +		};
   2.120 +		0097E29912F70C4D00724AC5 /* include */ = {
   2.121 +			isa = PBXGroup;
   2.122 +			children = (
   2.123 +				0097E29A12F70C4D00724AC5 /* begin_code.h */,
   2.124 +				0097E29B12F70C4D00724AC5 /* close_code.h */,
   2.125 +				0097E29C12F70C4D00724AC5 /* doxyfile */,
   2.126 +				0097E29D12F70C4D00724AC5 /* SDL.h */,
   2.127 +				0097E29E12F70C4D00724AC5 /* SDL_assert.h */,
   2.128 +				0097E29F12F70C4D00724AC5 /* SDL_atomic.h */,
   2.129 +				0097E2A012F70C4D00724AC5 /* SDL_audio.h */,
   2.130 +				0097E2A112F70C4D00724AC5 /* SDL_blendmode.h */,
   2.131 +				0097E2A212F70C4D00724AC5 /* SDL_clipboard.h */,
   2.132 +				0097E2A312F70C4D00724AC5 /* SDL_compat.h */,
   2.133 +				0097E2A412F70C4D00724AC5 /* SDL_config.h */,
   2.134 +				0097E2A512F70C4D00724AC5 /* SDL_config.h.default */,
   2.135 +				0097E2A612F70C4D00724AC5 /* SDL_config.h.in */,
   2.136 +				0097E2A712F70C4D00724AC5 /* SDL_config_android.h */,
   2.137 +				0097E2A812F70C4D00724AC5 /* SDL_config_iphoneos.h */,
   2.138 +				0097E2A912F70C4D00724AC5 /* SDL_config_macosx.h */,
   2.139 +				0097E2AA12F70C4D00724AC5 /* SDL_config_minimal.h */,
   2.140 +				0097E2AB12F70C4D00724AC5 /* SDL_config_nintendods.h */,
   2.141 +				0097E2AC12F70C4D00724AC5 /* SDL_config_pandora.h */,
   2.142 +				0097E2AD12F70C4D00724AC5 /* SDL_config_windows.h */,
   2.143 +				0097E2AE12F70C4D00724AC5 /* SDL_config_wiz.h */,
   2.144 +				0097E2AF12F70C4D00724AC5 /* SDL_copying.h */,
   2.145 +				0097E2B012F70C4D00724AC5 /* SDL_cpuinfo.h */,
   2.146 +				0097E2B112F70C4D00724AC5 /* SDL_endian.h */,
   2.147 +				0097E2B212F70C4D00724AC5 /* SDL_error.h */,
   2.148 +				0097E2B312F70C4D00724AC5 /* SDL_events.h */,
   2.149 +				0097E2B412F70C4D00724AC5 /* SDL_gesture.h */,
   2.150 +				0097E2B512F70C4D00724AC5 /* SDL_haptic.h */,
   2.151 +				0097E2B612F70C4D00724AC5 /* SDL_input.h */,
   2.152 +				0097E2B712F70C4D00724AC5 /* SDL_joystick.h */,
   2.153 +				0097E2B812F70C4D00724AC5 /* SDL_keyboard.h */,
   2.154 +				0097E2B912F70C4D00724AC5 /* SDL_keysym.h */,
   2.155 +				0097E2BA12F70C4D00724AC5 /* SDL_loadso.h */,
   2.156 +				0097E2BB12F70C4D00724AC5 /* SDL_main.h */,
   2.157 +				0097E2BC12F70C4D00724AC5 /* SDL_mouse.h */,
   2.158 +				0097E2BD12F70C4D00724AC5 /* SDL_mutex.h */,
   2.159 +				0097E2BE12F70C4D00724AC5 /* SDL_name.h */,
   2.160 +				0097E2BF12F70C4D00724AC5 /* SDL_opengl.h */,
   2.161 +				0097E2C012F70C4D00724AC5 /* SDL_opengles.h */,
   2.162 +				0097E2C112F70C4D00724AC5 /* SDL_pixels.h */,
   2.163 +				0097E2C212F70C4D00724AC5 /* SDL_platform.h */,
   2.164 +				0097E2C312F70C4D00724AC5 /* SDL_power.h */,
   2.165 +				0097E2C412F70C4D00724AC5 /* SDL_quit.h */,
   2.166 +				0097E2C512F70C4D00724AC5 /* SDL_rect.h */,
   2.167 +				0097E2C612F70C4D00724AC5 /* SDL_revision.h */,
   2.168 +				0097E2C712F70C4D00724AC5 /* SDL_rwops.h */,
   2.169 +				0097E2C812F70C4D00724AC5 /* SDL_scalemode.h */,
   2.170 +				0097E2C912F70C4D00724AC5 /* SDL_scancode.h */,
   2.171 +				0097E2CA12F70C4D00724AC5 /* SDL_shape.h */,
   2.172 +				0097E2CB12F70C4D00724AC5 /* SDL_stdinc.h */,
   2.173 +				0097E2CC12F70C4D00724AC5 /* SDL_surface.h */,
   2.174 +				0097E2CD12F70C4D00724AC5 /* SDL_syswm.h */,
   2.175 +				0097E2CE12F70C4D00724AC5 /* SDL_thread.h */,
   2.176 +				0097E2CF12F70C4D00724AC5 /* SDL_timer.h */,
   2.177 +				0097E2D012F70C4D00724AC5 /* SDL_touch.h */,
   2.178 +				0097E2D112F70C4D00724AC5 /* SDL_types.h */,
   2.179 +				0097E2D212F70C4D00724AC5 /* SDL_version.h */,
   2.180 +				0097E2D312F70C4D00724AC5 /* SDL_video.h */,
   2.181 +			);
   2.182 +			path = include;
   2.183 +			sourceTree = "<group>";
   2.184 +		};
   2.185 +		0097E2D412F70C4D00724AC5 /* lib */ = {
   2.186 +			isa = PBXGroup;
   2.187 +			children = (
   2.188 +				0097E2D512F70C4D00724AC5 /* libSDL.a */,
   2.189 +			);
   2.190 +			path = lib;
   2.191 +			sourceTree = "<group>";
   2.192 +		};
   2.193  		19C28FACFE9D520D11CA2CBB /* Products */ = {
   2.194  			isa = PBXGroup;
   2.195  			children = (
   2.196 @@ -71,7 +208,7 @@
   2.197  			children = (
   2.198  				29B97315FDCFA39411CA2CEA /* Sources */,
   2.199  				29B97317FDCFA39411CA2CEA /* Resources */,
   2.200 -				FD779EC50E26B99E00F39101 /* Libraries */,
   2.201 +				0097E29812F70C4D00724AC5 /* SDL */,
   2.202  				29B97323FDCFA39411CA2CEA /* Frameworks */,
   2.203  				19C28FACFE9D520D11CA2CBB /* Products */,
   2.204  			);
   2.205 @@ -110,15 +247,6 @@
   2.206  			name = Frameworks;
   2.207  			sourceTree = "<group>";
   2.208  		};
   2.209 -		FD779EC50E26B99E00F39101 /* Libraries */ = {
   2.210 -			isa = PBXGroup;
   2.211 -			children = (
   2.212 -				FD779ED00E26B9B000F39101 /* libSDLSimulator.a */,
   2.213 -				FD779ED10E26B9B000F39101 /* libSDLiPhoneOS.a */,
   2.214 -			);
   2.215 -			name = Libraries;
   2.216 -			sourceTree = "<group>";
   2.217 -		};
   2.218  /* End PBXGroup section */
   2.219  
   2.220  /* Begin PBXNativeTarget section */
   2.221 @@ -146,7 +274,14 @@
   2.222  			isa = PBXProject;
   2.223  			buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "___PROJECTNAME___" */;
   2.224  			compatibilityVersion = "Xcode 3.1";
   2.225 +			developmentRegion = English;
   2.226  			hasScannedForEncodings = 1;
   2.227 +			knownRegions = (
   2.228 +				English,
   2.229 +				Japanese,
   2.230 +				French,
   2.231 +				German,
   2.232 +			);
   2.233  			mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */;
   2.234  			projectDirPath = "";
   2.235  			projectRoot = "";
   2.236 @@ -192,7 +327,7 @@
   2.237  				INFOPLIST_FILE = Info.plist;
   2.238  				LIBRARY_SEARCH_PATHS = (
   2.239  					"$(inherited)",
   2.240 -					"\"$(SRCROOT)/lib\"",
   2.241 +					"\"$(SRCROOT)/SDL/lib\"",
   2.242  				);
   2.243  				PRODUCT_NAME = "___PROJECTNAME___";
   2.244  			};
   2.245 @@ -208,7 +343,7 @@
   2.246  				INFOPLIST_FILE = Info.plist;
   2.247  				LIBRARY_SEARCH_PATHS = (
   2.248  					"$(inherited)",
   2.249 -					"\"$(SRCROOT)/lib\"",
   2.250 +					"\"$(SRCROOT)/SDL/lib\"",
   2.251  				);
   2.252  				PRODUCT_NAME = "___PROJECTNAME___";
   2.253  			};
   2.254 @@ -222,12 +357,10 @@
   2.255  				GCC_C_LANGUAGE_STANDARD = c99;
   2.256  				GCC_WARN_ABOUT_RETURN_TYPE = YES;
   2.257  				GCC_WARN_UNUSED_VARIABLE = YES;
   2.258 -				HEADER_SEARCH_PATHS = ./include;
   2.259 -				LIBRARY_SEARCH_PATHS = ./lib;
   2.260  				ONLY_ACTIVE_ARCH = YES;
   2.261  				OTHER_CFLAGS = "";
   2.262  				PREBINDING = NO;
   2.263 -				SDKROOT = iphoneos2.0;
   2.264 +				SDKROOT = iphoneos;
   2.265  			};
   2.266  			name = Debug;
   2.267  		};
   2.268 @@ -239,11 +372,9 @@
   2.269  				GCC_C_LANGUAGE_STANDARD = c99;
   2.270  				GCC_WARN_ABOUT_RETURN_TYPE = YES;
   2.271  				GCC_WARN_UNUSED_VARIABLE = YES;
   2.272 -				HEADER_SEARCH_PATHS = ./include;
   2.273 -				LIBRARY_SEARCH_PATHS = ./lib;
   2.274  				OTHER_CFLAGS = "";
   2.275  				PREBINDING = NO;
   2.276 -				SDKROOT = iphoneos2.0;
   2.277 +				SDKROOT = iphoneos;
   2.278  			};
   2.279  			name = Release;
   2.280  		};
     3.1 --- a/Xcode-iPhoneOS/Template/SDL iOS Application/main.c	Mon Jan 31 00:37:38 2011 -0800
     3.2 +++ b/Xcode-iPhoneOS/Template/SDL iOS Application/main.c	Mon Jan 31 07:36:12 2011 -0800
     3.3 @@ -32,9 +32,10 @@
     3.4      r = randomInt(50, 255);
     3.5      g = randomInt(50, 255);
     3.6      b = randomInt(50, 255);
     3.7 +    SDL_SetRenderDrawColor(r, g, b, 255);
     3.8  
     3.9      /*  Fill the rectangle in the color */
    3.10 -    SDL_RenderFill(r, g, b, 255, &rect);
    3.11 +    SDL_RenderFillRect(&rect);
    3.12  
    3.13      /* update screen */
    3.14      SDL_RenderPresent();
    3.15 @@ -69,7 +70,7 @@
    3.16      }
    3.17  
    3.18      /* Fill screen with black */
    3.19 -    SDL_RenderFill(0, 0, 0, 0, NULL);
    3.20 +    SDL_RenderClear();
    3.21  
    3.22      /* Enter render loop, waiting for user to quit */
    3.23      done = 0;