Fixed bug 2626 - iOS: fix test and template Xcode projects and build scripts to link with CoreMotion
authorSam Lantinga <slouken@libsdl.org>
Mon, 07 Jul 2014 10:42:19 -0700
changeset 8982a41a6b334028
parent 8981 68e0819f0f56
child 8983 21f5923cfd15
Fixed bug 2626 - iOS: fix test and template Xcode projects and build scripts to link with CoreMotion

Alex Szpakowski

Now that SDL on iOS requires CoreMotion to be linked, some of the Xcode projects included with the SDL source (such as the iOS tests and the iOS app template) as well as the premake and automake scripts need to be updated.

I've attached a patch which does so. It also fixes the SDL Xcode project to build for 64-bit ARM as well as armv7 by default (or whatever the default ARM targets are for the Xcode version used), which is what the iOS app template expects.
Xcode-iOS/Demos/Demos.xcodeproj/project.pbxproj
Xcode-iOS/SDL/SDL.xcodeproj/project.pbxproj
Xcode-iOS/SDLtest/SDL2test.xcodeproj/project.pbxproj
Xcode-iOS/Template/SDL iOS Application/___PROJECTNAME___.xcodeproj/project.pbxproj
Xcode-iOS/Test/TestiPhoneOS.xcodeproj/project.pbxproj
configure
configure.in
premake/projects/SDL2.lua
     1.1 --- a/Xcode-iOS/Demos/Demos.xcodeproj/project.pbxproj	Mon Jul 07 10:39:02 2014 -0700
     1.2 +++ b/Xcode-iOS/Demos/Demos.xcodeproj/project.pbxproj	Mon Jul 07 10:42:19 2014 -0700
     1.3 @@ -10,6 +10,13 @@
     1.4  		1D3623EC0D0F72F000981E51 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D3623EB0D0F72F000981E51 /* CoreGraphics.framework */; };
     1.5  		1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; };
     1.6  		1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */; };
     1.7 +		FA8B4BA31967070A00F8EB7C /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA8B4BA21967070A00F8EB7C /* CoreMotion.framework */; };
     1.8 +		FA8B4BA41967071300F8EB7C /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA8B4BA21967070A00F8EB7C /* CoreMotion.framework */; };
     1.9 +		FA8B4BA51967071A00F8EB7C /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA8B4BA21967070A00F8EB7C /* CoreMotion.framework */; };
    1.10 +		FA8B4BA61967072100F8EB7C /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA8B4BA21967070A00F8EB7C /* CoreMotion.framework */; };
    1.11 +		FA8B4BA71967072800F8EB7C /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA8B4BA21967070A00F8EB7C /* CoreMotion.framework */; };
    1.12 +		FA8B4BA81967073400F8EB7C /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA8B4BA21967070A00F8EB7C /* CoreMotion.framework */; };
    1.13 +		FA8B4BA91967073D00F8EB7C /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA8B4BA21967070A00F8EB7C /* CoreMotion.framework */; };
    1.14  		FD15FD690E086911003BDF25 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; };
    1.15  		FD15FD6A0E086911003BDF25 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */; };
    1.16  		FD15FD6B0E086911003BDF25 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D3623EB0D0F72F000981E51 /* CoreGraphics.framework */; };
    1.17 @@ -169,6 +176,7 @@
    1.18  		1D6058910D05DD3D006BFB54 /* Rectangles.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Rectangles.app; sourceTree = BUILT_PRODUCTS_DIR; };
    1.19  		1DF5F4DF0D08C38300B7A737 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
    1.20  		8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
    1.21 +		FA8B4BA21967070A00F8EB7C /* CoreMotion.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreMotion.framework; path = System/Library/Frameworks/CoreMotion.framework; sourceTree = SDKROOT; };
    1.22  		FD15FCB20E086866003BDF25 /* Happy.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Happy.app; sourceTree = BUILT_PRODUCTS_DIR; };
    1.23  		FD1B48920E313154007AB34E /* SDL.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = SDL.xcodeproj; path = ../SDL/SDL.xcodeproj; sourceTree = SOURCE_ROOT; };
    1.24  		FD5F9BE40E0DEBEA008E885B /* Accel.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Accel.app; sourceTree = BUILT_PRODUCTS_DIR; };
    1.25 @@ -209,6 +217,7 @@
    1.26  			buildActionMask = 2147483647;
    1.27  			files = (
    1.28  				FD1B48DD0E313255007AB34E /* libSDL2.a in Frameworks */,
    1.29 +				FA8B4BA31967070A00F8EB7C /* CoreMotion.framework in Frameworks */,
    1.30  				FDF0D7AB0E12D53800247964 /* CoreAudio.framework in Frameworks */,
    1.31  				FDF0D7AC0E12D53800247964 /* AudioToolbox.framework in Frameworks */,
    1.32  				1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */,
    1.33 @@ -224,6 +233,7 @@
    1.34  			buildActionMask = 2147483647;
    1.35  			files = (
    1.36  				FD1B49980E313261007AB34E /* libSDL2.a in Frameworks */,
    1.37 +				FA8B4BA41967071300F8EB7C /* CoreMotion.framework in Frameworks */,
    1.38  				FDF0D7A90E12D53500247964 /* CoreAudio.framework in Frameworks */,
    1.39  				FDF0D7AA0E12D53500247964 /* AudioToolbox.framework in Frameworks */,
    1.40  				FD15FD690E086911003BDF25 /* Foundation.framework in Frameworks */,
    1.41 @@ -239,6 +249,7 @@
    1.42  			buildActionMask = 2147483647;
    1.43  			files = (
    1.44  				FD1B499C0E313269007AB34E /* libSDL2.a in Frameworks */,
    1.45 +				FA8B4BA51967071A00F8EB7C /* CoreMotion.framework in Frameworks */,
    1.46  				FDF0D7A70E12D53200247964 /* CoreAudio.framework in Frameworks */,
    1.47  				FDF0D7A80E12D53200247964 /* AudioToolbox.framework in Frameworks */,
    1.48  				FD5F9CEB0E0E0741008E885B /* OpenGLES.framework in Frameworks */,
    1.49 @@ -254,6 +265,7 @@
    1.50  			buildActionMask = 2147483647;
    1.51  			files = (
    1.52  				FDB652000E43D1F300F688B5 /* libSDL2.a in Frameworks */,
    1.53 +				FA8B4BA91967073D00F8EB7C /* CoreMotion.framework in Frameworks */,
    1.54  				FDB652020E43D1F300F688B5 /* Foundation.framework in Frameworks */,
    1.55  				FDB652030E43D1F300F688B5 /* UIKit.framework in Frameworks */,
    1.56  				FDB652040E43D1F300F688B5 /* CoreGraphics.framework in Frameworks */,
    1.57 @@ -269,6 +281,7 @@
    1.58  			buildActionMask = 2147483647;
    1.59  			files = (
    1.60  				FD1B499E0E31326C007AB34E /* libSDL2.a in Frameworks */,
    1.61 +				FA8B4BA61967072100F8EB7C /* CoreMotion.framework in Frameworks */,
    1.62  				FDF0D7950E12D52900247964 /* CoreAudio.framework in Frameworks */,
    1.63  				FDF0D7960E12D52900247964 /* AudioToolbox.framework in Frameworks */,
    1.64  				FDC202E60E107B1200ABAC90 /* Foundation.framework in Frameworks */,
    1.65 @@ -284,6 +297,7 @@
    1.66  			buildActionMask = 2147483647;
    1.67  			files = (
    1.68  				FD1B49A20E313273007AB34E /* libSDL2.a in Frameworks */,
    1.69 +				FA8B4BA81967073400F8EB7C /* CoreMotion.framework in Frameworks */,
    1.70  				FDC52ED40E2843D6008D768C /* Foundation.framework in Frameworks */,
    1.71  				FDC52ED50E2843D6008D768C /* UIKit.framework in Frameworks */,
    1.72  				FDC52ED60E2843D6008D768C /* CoreGraphics.framework in Frameworks */,
    1.73 @@ -299,6 +313,7 @@
    1.74  			buildActionMask = 2147483647;
    1.75  			files = (
    1.76  				FD1B49A00E313270007AB34E /* libSDL2.a in Frameworks */,
    1.77 +				FA8B4BA71967072800F8EB7C /* CoreMotion.framework in Frameworks */,
    1.78  				FDF0D69C0E12D05400247964 /* Foundation.framework in Frameworks */,
    1.79  				FDF0D69D0E12D05400247964 /* UIKit.framework in Frameworks */,
    1.80  				FDF0D69E0E12D05400247964 /* CoreGraphics.framework in Frameworks */,
    1.81 @@ -352,6 +367,7 @@
    1.82  		29B97323FDCFA39411CA2CEA /* Frameworks */ = {
    1.83  			isa = PBXGroup;
    1.84  			children = (
    1.85 +				FA8B4BA21967070A00F8EB7C /* CoreMotion.framework */,
    1.86  				FDF0D7220E12D31800247964 /* AudioToolbox.framework */,
    1.87  				FDB96EDF0DEFC9DC00FAF19F /* QuartzCore.framework */,
    1.88  				FDB96ED30DEFC9C700FAF19F /* OpenGLES.framework */,
    1.89 @@ -799,14 +815,9 @@
    1.90  		C01FCF4F08A954540054247B /* Debug */ = {
    1.91  			isa = XCBuildConfiguration;
    1.92  			buildSettings = {
    1.93 -				ARCHS = (
    1.94 -					armv6,
    1.95 -					armv7,
    1.96 -				);
    1.97  				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
    1.98  				GCC_OPTIMIZATION_LEVEL = 0;
    1.99  				HEADER_SEARCH_PATHS = ../../include;
   1.100 -				IPHONEOS_DEPLOYMENT_TARGET = 3.1.3;
   1.101  				PRELINK_LIBS = "";
   1.102  				SDKROOT = iphoneos;
   1.103  				TARGETED_DEVICE_FAMILY = "1,2";
   1.104 @@ -816,13 +827,8 @@
   1.105  		C01FCF5008A954540054247B /* Release */ = {
   1.106  			isa = XCBuildConfiguration;
   1.107  			buildSettings = {
   1.108 -				ARCHS = (
   1.109 -					armv6,
   1.110 -					armv7,
   1.111 -				);
   1.112  				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
   1.113  				HEADER_SEARCH_PATHS = ../../include;
   1.114 -				IPHONEOS_DEPLOYMENT_TARGET = 3.1.3;
   1.115  				PRELINK_LIBS = "";
   1.116  				SDKROOT = iphoneos;
   1.117  				TARGETED_DEVICE_FAMILY = "1,2";
     2.1 --- a/Xcode-iOS/SDL/SDL.xcodeproj/project.pbxproj	Mon Jul 07 10:39:02 2014 -0700
     2.2 +++ b/Xcode-iOS/SDL/SDL.xcodeproj/project.pbxproj	Mon Jul 07 10:42:19 2014 -0700
     2.3 @@ -1249,7 +1249,6 @@
     2.4  		C01FCF4F08A954540054247B /* Debug */ = {
     2.5  			isa = XCBuildConfiguration;
     2.6  			buildSettings = {
     2.7 -				ARCHS = "$(ARCHS_STANDARD_32_BIT)";
     2.8  				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
     2.9  				GCC_OPTIMIZATION_LEVEL = 0;
    2.10  				GCC_SYMBOLS_PRIVATE_EXTERN = YES;
    2.11 @@ -1263,7 +1262,6 @@
    2.12  		C01FCF5008A954540054247B /* Release */ = {
    2.13  			isa = XCBuildConfiguration;
    2.14  			buildSettings = {
    2.15 -				ARCHS = "$(ARCHS_STANDARD_32_BIT)";
    2.16  				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
    2.17  				GCC_SYMBOLS_PRIVATE_EXTERN = YES;
    2.18  				GCC_WARN_ABOUT_RETURN_TYPE = YES;
    2.19 @@ -1277,7 +1275,7 @@
    2.20  			isa = XCBuildConfiguration;
    2.21  			buildSettings = {
    2.22  				COPY_PHASE_STRIP = NO;
    2.23 -				IPHONEOS_DEPLOYMENT_TARGET = 5.1;
    2.24 +				IPHONEOS_DEPLOYMENT_TARGET = 5.1.1;
    2.25  				PRODUCT_NAME = SDL2;
    2.26  				SKIP_INSTALL = YES;
    2.27  			};
    2.28 @@ -1287,7 +1285,7 @@
    2.29  			isa = XCBuildConfiguration;
    2.30  			buildSettings = {
    2.31  				COPY_PHASE_STRIP = YES;
    2.32 -				IPHONEOS_DEPLOYMENT_TARGET = 5.1;
    2.33 +				IPHONEOS_DEPLOYMENT_TARGET = 5.1.1;
    2.34  				PRODUCT_NAME = SDL2;
    2.35  				SKIP_INSTALL = YES;
    2.36  			};
     3.1 --- a/Xcode-iOS/SDLtest/SDL2test.xcodeproj/project.pbxproj	Mon Jul 07 10:39:02 2014 -0700
     3.2 +++ b/Xcode-iOS/SDLtest/SDL2test.xcodeproj/project.pbxproj	Mon Jul 07 10:42:19 2014 -0700
     3.3 @@ -174,7 +174,6 @@
     3.4  			isa = XCBuildConfiguration;
     3.5  			buildSettings = {
     3.6  				ALWAYS_SEARCH_USER_PATHS = NO;
     3.7 -				ARCHS = "$(ARCHS_STANDARD_32_BIT)";
     3.8  				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
     3.9  				CLANG_CXX_LIBRARY = "libc++";
    3.10  				CLANG_WARN_CONSTANT_CONVERSION = YES;
    3.11 @@ -206,7 +205,6 @@
    3.12  			isa = XCBuildConfiguration;
    3.13  			buildSettings = {
    3.14  				ALWAYS_SEARCH_USER_PATHS = NO;
    3.15 -				ARCHS = "$(ARCHS_STANDARD_32_BIT)";
    3.16  				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
    3.17  				CLANG_CXX_LIBRARY = "libc++";
    3.18  				CLANG_WARN_CONSTANT_CONVERSION = YES;
     4.1 --- a/Xcode-iOS/Template/SDL iOS Application/___PROJECTNAME___.xcodeproj/project.pbxproj	Mon Jul 07 10:39:02 2014 -0700
     4.2 +++ b/Xcode-iOS/Template/SDL iOS Application/___PROJECTNAME___.xcodeproj/project.pbxproj	Mon Jul 07 10:42:19 2014 -0700
     4.3 @@ -13,6 +13,7 @@
     4.4  		28FD15080DC6FC5B0079059D /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 28FD15070DC6FC5B0079059D /* QuartzCore.framework */; };
     4.5  		944A656F195747D90094A81E /* libSDL2.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 944A656E1957463F0094A81E /* libSDL2.a */; };
     4.6  		945C4F53195AF17F00DBBF61 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 945C4F52195AF17F00DBBF61 /* Default-568h@2x.png */; };
     4.7 +		FA8B4B97196703B400F8EB7C /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA8B4B96196703B400F8EB7C /* CoreMotion.framework */; };
     4.8  		FD779EDE0E26BA1200F39101 /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FD779EDD0E26BA1200F39101 /* CoreAudio.framework */; };
     4.9  		FD77A07D0E26BD8C00F39101 /* Icon.png in Resources */ = {isa = PBXBuildFile; fileRef = FD77A07C0E26BD8C00F39101 /* Icon.png */; };
    4.10  		FD77A07F0E26BDA900F39101 /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = FD77A07E0E26BDA900F39101 /* Default.png */; };
    4.11 @@ -40,6 +41,7 @@
    4.12  		8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
    4.13  		944A65681957463F0094A81E /* SDL.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = SDL.xcodeproj; path = ../../SDL/SDL.xcodeproj; sourceTree = "<group>"; };
    4.14  		945C4F52195AF17F00DBBF61 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = "<group>"; };
    4.15 +		FA8B4B96196703B400F8EB7C /* CoreMotion.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreMotion.framework; path = System/Library/Frameworks/CoreMotion.framework; sourceTree = SDKROOT; };
    4.16  		FD779EDD0E26BA1200F39101 /* CoreAudio.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreAudio.framework; path = System/Library/Frameworks/CoreAudio.framework; sourceTree = SDKROOT; };
    4.17  		FD77A07C0E26BD8C00F39101 /* Icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Icon.png; sourceTree = "<group>"; };
    4.18  		FD77A07E0E26BDA900F39101 /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = "<group>"; };
    4.19 @@ -61,6 +63,7 @@
    4.20  				FD779EDE0E26BA1200F39101 /* CoreAudio.framework in Frameworks */,
    4.21  				FD77A0850E26BDB800F39101 /* AudioToolbox.framework in Frameworks */,
    4.22  				FDB8BFC60E5A0F6A00980157 /* CoreGraphics.framework in Frameworks */,
    4.23 +				FA8B4B97196703B400F8EB7C /* CoreMotion.framework in Frameworks */,
    4.24  			);
    4.25  			runOnlyForDeploymentPostprocessing = 0;
    4.26  		};
    4.27 @@ -109,6 +112,7 @@
    4.28  		29B97323FDCFA39411CA2CEA /* Frameworks */ = {
    4.29  			isa = PBXGroup;
    4.30  			children = (
    4.31 +				FA8B4B96196703B400F8EB7C /* CoreMotion.framework */,
    4.32  				FDB8BFC50E5A0F6A00980157 /* CoreGraphics.framework */,
    4.33  				FD77A0840E26BDB800F39101 /* AudioToolbox.framework */,
    4.34  				FD779EDD0E26BA1200F39101 /* CoreAudio.framework */,
     5.1 --- a/Xcode-iOS/Test/TestiPhoneOS.xcodeproj/project.pbxproj	Mon Jul 07 10:39:02 2014 -0700
     5.2 +++ b/Xcode-iOS/Test/TestiPhoneOS.xcodeproj/project.pbxproj	Mon Jul 07 10:42:19 2014 -0700
     5.3 @@ -65,6 +65,29 @@
     5.4  		AAE7DFAC14CBB54E00DF1A0E /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FDA8A89D0E2D111A00EA573E /* Foundation.framework */; };
     5.5  		AAE7DFAD14CBB54E00DF1A0E /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FDA8A89E0E2D111A00EA573E /* CoreAudio.framework */; };
     5.6  		AAE7DFB514CBB5F700DF1A0E /* testrendertarget.c in Sources */ = {isa = PBXBuildFile; fileRef = AAE7DFB414CBB5F700DF1A0E /* testrendertarget.c */; };
     5.7 +		FA8B4BAD1967076F00F8EB7C /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA8B4BAC1967076F00F8EB7C /* CoreMotion.framework */; };
     5.8 +		FA8B4BC9196766BC00F8EB7C /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA8B4BAC1967076F00F8EB7C /* CoreMotion.framework */; };
     5.9 +		FA8B4BCD196766BF00F8EB7C /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA8B4BAC1967076F00F8EB7C /* CoreMotion.framework */; };
    5.10 +		FA8B4BCE196766C100F8EB7C /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA8B4BAC1967076F00F8EB7C /* CoreMotion.framework */; };
    5.11 +		FA8B4BCF196766C400F8EB7C /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA8B4BAC1967076F00F8EB7C /* CoreMotion.framework */; };
    5.12 +		FA8B4BD0196766C600F8EB7C /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA8B4BAC1967076F00F8EB7C /* CoreMotion.framework */; };
    5.13 +		FA8B4BD1196766C900F8EB7C /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA8B4BAC1967076F00F8EB7C /* CoreMotion.framework */; };
    5.14 +		FA8B4BD2196766CB00F8EB7C /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA8B4BAC1967076F00F8EB7C /* CoreMotion.framework */; };
    5.15 +		FA8B4BD3196766CE00F8EB7C /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA8B4BAC1967076F00F8EB7C /* CoreMotion.framework */; };
    5.16 +		FA8B4BD4196766D100F8EB7C /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA8B4BAC1967076F00F8EB7C /* CoreMotion.framework */; };
    5.17 +		FA8B4BD5196766D400F8EB7C /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA8B4BAC1967076F00F8EB7C /* CoreMotion.framework */; };
    5.18 +		FA8B4BD6196766D700F8EB7C /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA8B4BAC1967076F00F8EB7C /* CoreMotion.framework */; };
    5.19 +		FA8B4BD7196766DA00F8EB7C /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA8B4BAC1967076F00F8EB7C /* CoreMotion.framework */; };
    5.20 +		FA8B4BD8196766DD00F8EB7C /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA8B4BAC1967076F00F8EB7C /* CoreMotion.framework */; };
    5.21 +		FA8B4BD9196766E000F8EB7C /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA8B4BAC1967076F00F8EB7C /* CoreMotion.framework */; };
    5.22 +		FA8B4BDA196766E200F8EB7C /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA8B4BAC1967076F00F8EB7C /* CoreMotion.framework */; };
    5.23 +		FA8B4BDB196766E500F8EB7C /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA8B4BAC1967076F00F8EB7C /* CoreMotion.framework */; };
    5.24 +		FA8B4BDC196766E800F8EB7C /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA8B4BAC1967076F00F8EB7C /* CoreMotion.framework */; };
    5.25 +		FA8B4BDD196766EB00F8EB7C /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA8B4BAC1967076F00F8EB7C /* CoreMotion.framework */; };
    5.26 +		FA8B4BDE196766EE00F8EB7C /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA8B4BAC1967076F00F8EB7C /* CoreMotion.framework */; };
    5.27 +		FA8B4BDF196766F100F8EB7C /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA8B4BAC1967076F00F8EB7C /* CoreMotion.framework */; };
    5.28 +		FA8B4BE0196766F400F8EB7C /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA8B4BAC1967076F00F8EB7C /* CoreMotion.framework */; };
    5.29 +		FA8B4BE1196766F600F8EB7C /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA8B4BAC1967076F00F8EB7C /* CoreMotion.framework */; };
    5.30  		FDA8A79C0E2D0F9300EA573E /* testwm2.c in Sources */ = {isa = PBXBuildFile; fileRef = FDA8A75F0E2D0F1600EA573E /* testwm2.c */; };
    5.31  		FDA8A89F0E2D111A00EA573E /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FDA8A8980E2D111A00EA573E /* AudioToolbox.framework */; };
    5.32  		FDA8A8A00E2D111A00EA573E /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FDA8A8990E2D111A00EA573E /* QuartzCore.framework */; };
    5.33 @@ -236,13 +259,6 @@
    5.34  /* End PBXBuildFile section */
    5.35  
    5.36  /* Begin PBXContainerItemProxy section */
    5.37 -		0466EE6F11E565E4000198A4 /* PBXContainerItemProxy */ = {
    5.38 -			isa = PBXContainerItemProxy;
    5.39 -			containerPortal = FD1B48AC0E3131CA007AB34E /* SDL.xcodeproj */;
    5.40 -			proxyType = 2;
    5.41 -			remoteGlobalIDString = 006E982211955059001DE610;
    5.42 -			remoteInfo = testsdl;
    5.43 -		};
    5.44  		AA1EE451176059230029C7A5 /* PBXContainerItemProxy */ = {
    5.45  			isa = PBXContainerItemProxy;
    5.46  			containerPortal = AA1EE44D176059220029C7A5 /* SDL2test.xcodeproj */;
    5.47 @@ -272,6 +288,7 @@
    5.48  		AAE7DF4514CBB43900DF1A0E /* testscale.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = testscale.c; path = ../../test/testscale.c; sourceTree = "<group>"; };
    5.49  		AAE7DFB114CBB54E00DF1A0E /* testrendertarget.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = testrendertarget.app; sourceTree = BUILT_PRODUCTS_DIR; };
    5.50  		AAE7DFB414CBB5F700DF1A0E /* testrendertarget.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = testrendertarget.c; path = ../../test/testrendertarget.c; sourceTree = "<group>"; };
    5.51 +		FA8B4BAC1967076F00F8EB7C /* CoreMotion.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreMotion.framework; path = System/Library/Frameworks/CoreMotion.framework; sourceTree = SDKROOT; };
    5.52  		FD1B48AC0E3131CA007AB34E /* SDL.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = SDL.xcodeproj; path = ../SDL/SDL.xcodeproj; sourceTree = SOURCE_ROOT; };
    5.53  		FDA8A7410E2D0F1600EA573E /* testaudioinfo.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = testaudioinfo.c; path = ../../test/testaudioinfo.c; sourceTree = SOURCE_ROOT; };
    5.54  		FDA8A7470E2D0F1600EA573E /* testerror.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = testerror.c; path = ../../test/testerror.c; sourceTree = SOURCE_ROOT; };
    5.55 @@ -330,6 +347,7 @@
    5.56  			buildActionMask = 2147483647;
    5.57  			files = (
    5.58  				046CEF7B13254F23007AD51D /* libSDL2.a in Frameworks */,
    5.59 +				FA8B4BD1196766C900F8EB7C /* CoreMotion.framework in Frameworks */,
    5.60  				046CEF7C13254F23007AD51D /* AudioToolbox.framework in Frameworks */,
    5.61  				046CEF7D13254F23007AD51D /* QuartzCore.framework in Frameworks */,
    5.62  				046CEF7E13254F23007AD51D /* OpenGLES.framework in Frameworks */,
    5.63 @@ -346,6 +364,7 @@
    5.64  			files = (
    5.65  				AA1EE470176059D00029C7A5 /* libSDL2test.a in Frameworks */,
    5.66  				047A63E213285C3200CD7973 /* libSDL2.a in Frameworks */,
    5.67 +				FA8B4BAD1967076F00F8EB7C /* CoreMotion.framework in Frameworks */,
    5.68  				047A63E313285C3200CD7973 /* AudioToolbox.framework in Frameworks */,
    5.69  				047A63E413285C3200CD7973 /* QuartzCore.framework in Frameworks */,
    5.70  				047A63E513285C3200CD7973 /* OpenGLES.framework in Frameworks */,
    5.71 @@ -362,6 +381,7 @@
    5.72  			files = (
    5.73  				AA1EE47817605BF60029C7A5 /* libSDL2test.a in Frameworks */,
    5.74  				FDBDE5810E313465006BAC0B /* libSDL2.a in Frameworks */,
    5.75 +				FA8B4BE0196766F400F8EB7C /* CoreMotion.framework in Frameworks */,
    5.76  				FDA8A89F0E2D111A00EA573E /* AudioToolbox.framework in Frameworks */,
    5.77  				FDA8A8A00E2D111A00EA573E /* QuartzCore.framework in Frameworks */,
    5.78  				FDA8A8A10E2D111A00EA573E /* OpenGLES.framework in Frameworks */,
    5.79 @@ -377,6 +397,7 @@
    5.80  			buildActionMask = 2147483647;
    5.81  			files = (
    5.82  				56ED0502118A8FE400A56AA6 /* libSDL2.a in Frameworks */,
    5.83 +				FA8B4BD8196766DD00F8EB7C /* CoreMotion.framework in Frameworks */,
    5.84  				56ED0503118A8FE400A56AA6 /* AudioToolbox.framework in Frameworks */,
    5.85  				56ED0504118A8FE400A56AA6 /* QuartzCore.framework in Frameworks */,
    5.86  				56ED0505118A8FE400A56AA6 /* OpenGLES.framework in Frameworks */,
    5.87 @@ -393,6 +414,7 @@
    5.88  			files = (
    5.89  				AA1EE47617605B9E0029C7A5 /* libSDL2test.a in Frameworks */,
    5.90  				AAE7DEE114CBB1E100DF1A0E /* libSDL2.a in Frameworks */,
    5.91 +				FA8B4BDA196766E200F8EB7C /* CoreMotion.framework in Frameworks */,
    5.92  				AAE7DEE214CBB1E100DF1A0E /* AudioToolbox.framework in Frameworks */,
    5.93  				AAE7DEE314CBB1E100DF1A0E /* QuartzCore.framework in Frameworks */,
    5.94  				AAE7DEE414CBB1E100DF1A0E /* OpenGLES.framework in Frameworks */,
    5.95 @@ -409,6 +431,7 @@
    5.96  			files = (
    5.97  				AA1EE47517605B930029C7A5 /* libSDL2test.a in Frameworks */,
    5.98  				AAE7DFA614CBB54E00DF1A0E /* libSDL2.a in Frameworks */,
    5.99 +				FA8B4BD9196766E000F8EB7C /* CoreMotion.framework in Frameworks */,
   5.100  				AAE7DFA714CBB54E00DF1A0E /* AudioToolbox.framework in Frameworks */,
   5.101  				AAE7DFA814CBB54E00DF1A0E /* QuartzCore.framework in Frameworks */,
   5.102  				AAE7DFA914CBB54E00DF1A0E /* OpenGLES.framework in Frameworks */,
   5.103 @@ -424,6 +447,7 @@
   5.104  			buildActionMask = 2147483647;
   5.105  			files = (
   5.106  				FDBDE5850E313495006BAC0B /* libSDL2.a in Frameworks */,
   5.107 +				FA8B4BC9196766BC00F8EB7C /* CoreMotion.framework in Frameworks */,
   5.108  				FDA8AAB10E2D330F00EA573E /* AudioToolbox.framework in Frameworks */,
   5.109  				FDA8AAB20E2D330F00EA573E /* QuartzCore.framework in Frameworks */,
   5.110  				FDA8AAB30E2D330F00EA573E /* OpenGLES.framework in Frameworks */,
   5.111 @@ -439,6 +463,7 @@
   5.112  			buildActionMask = 2147483647;
   5.113  			files = (
   5.114  				FDBDE58C0E3134F3006BAC0B /* libSDL2.a in Frameworks */,
   5.115 +				FA8B4BCD196766BF00F8EB7C /* CoreMotion.framework in Frameworks */,
   5.116  				FDAAC3C30E2D47E6001DB1D8 /* AudioToolbox.framework in Frameworks */,
   5.117  				FDAAC3C40E2D47E6001DB1D8 /* QuartzCore.framework in Frameworks */,
   5.118  				FDAAC3C50E2D47E6001DB1D8 /* OpenGLES.framework in Frameworks */,
   5.119 @@ -454,6 +479,7 @@
   5.120  			buildActionMask = 2147483647;
   5.121  			files = (
   5.122  				FDBDE59B0E31356A006BAC0B /* libSDL2.a in Frameworks */,
   5.123 +				FA8B4BCF196766C400F8EB7C /* CoreMotion.framework in Frameworks */,
   5.124  				FDAAC5910E2D5429001DB1D8 /* AudioToolbox.framework in Frameworks */,
   5.125  				FDAAC5920E2D5429001DB1D8 /* QuartzCore.framework in Frameworks */,
   5.126  				FDAAC5930E2D5429001DB1D8 /* OpenGLES.framework in Frameworks */,
   5.127 @@ -469,6 +495,7 @@
   5.128  			buildActionMask = 2147483647;
   5.129  			files = (
   5.130  				FDBDE59F0E31358D006BAC0B /* libSDL2.a in Frameworks */,
   5.131 +				FA8B4BD0196766C600F8EB7C /* CoreMotion.framework in Frameworks */,
   5.132  				FDAAC5BF0E2D55B5001DB1D8 /* AudioToolbox.framework in Frameworks */,
   5.133  				FDAAC5C00E2D55B5001DB1D8 /* QuartzCore.framework in Frameworks */,
   5.134  				FDAAC5C10E2D55B5001DB1D8 /* OpenGLES.framework in Frameworks */,
   5.135 @@ -485,6 +512,7 @@
   5.136  			files = (
   5.137  				AA1EE47417605B5C0029C7A5 /* libSDL2test.a in Frameworks */,
   5.138  				FDBDE57C0E313445006BAC0B /* libSDL2.a in Frameworks */,
   5.139 +				FA8B4BD2196766CB00F8EB7C /* CoreMotion.framework in Frameworks */,
   5.140  				FDAAC61C0E2D5914001DB1D8 /* AudioToolbox.framework in Frameworks */,
   5.141  				FDAAC61D0E2D5914001DB1D8 /* QuartzCore.framework in Frameworks */,
   5.142  				FDAAC61E0E2D5914001DB1D8 /* OpenGLES.framework in Frameworks */,
   5.143 @@ -501,6 +529,7 @@
   5.144  			files = (
   5.145  				AA1EE47117605A7F0029C7A5 /* libSDL2test.a in Frameworks */,
   5.146  				FDC42FF40F0D866D009C87E1 /* libSDL2.a in Frameworks */,
   5.147 +				FA8B4BCE196766C100F8EB7C /* CoreMotion.framework in Frameworks */,
   5.148  				FDC42FF60F0D866D009C87E1 /* AudioToolbox.framework in Frameworks */,
   5.149  				FDC42FF70F0D866D009C87E1 /* QuartzCore.framework in Frameworks */,
   5.150  				FDC42FF80F0D866D009C87E1 /* OpenGLES.framework in Frameworks */,
   5.151 @@ -516,6 +545,7 @@
   5.152  			buildActionMask = 2147483647;
   5.153  			files = (
   5.154  				FDBDE5A90E3135C0006BAC0B /* libSDL2.a in Frameworks */,
   5.155 +				FA8B4BDD196766EB00F8EB7C /* CoreMotion.framework in Frameworks */,
   5.156  				FDD2C1000E2E4F4B00B7A85F /* AudioToolbox.framework in Frameworks */,
   5.157  				FDD2C1010E2E4F4B00B7A85F /* QuartzCore.framework in Frameworks */,
   5.158  				FDD2C1020E2E4F4B00B7A85F /* OpenGLES.framework in Frameworks */,
   5.159 @@ -531,6 +561,7 @@
   5.160  			buildActionMask = 2147483647;
   5.161  			files = (
   5.162  				FDBDE5AE0E3135E6006BAC0B /* libSDL2.a in Frameworks */,
   5.163 +				FA8B4BD3196766CE00F8EB7C /* CoreMotion.framework in Frameworks */,
   5.164  				FDD2C1770E2E52C000B7A85F /* AudioToolbox.framework in Frameworks */,
   5.165  				FDD2C1780E2E52C000B7A85F /* QuartzCore.framework in Frameworks */,
   5.166  				FDD2C1790E2E52C000B7A85F /* OpenGLES.framework in Frameworks */,
   5.167 @@ -546,6 +577,7 @@
   5.168  			buildActionMask = 2147483647;
   5.169  			files = (
   5.170  				FDBDE5B60E3135FE006BAC0B /* libSDL2.a in Frameworks */,
   5.171 +				FA8B4BD4196766D100F8EB7C /* CoreMotion.framework in Frameworks */,
   5.172  				FDD2C19B0E2E534F00B7A85F /* AudioToolbox.framework in Frameworks */,
   5.173  				FDD2C19C0E2E534F00B7A85F /* QuartzCore.framework in Frameworks */,
   5.174  				FDD2C19D0E2E534F00B7A85F /* OpenGLES.framework in Frameworks */,
   5.175 @@ -561,6 +593,7 @@
   5.176  			buildActionMask = 2147483647;
   5.177  			files = (
   5.178  				FDBDE5BC0E31364D006BAC0B /* libSDL2.a in Frameworks */,
   5.179 +				FA8B4BD5196766D400F8EB7C /* CoreMotion.framework in Frameworks */,
   5.180  				FDD2C4540E2E773800B7A85F /* AudioToolbox.framework in Frameworks */,
   5.181  				FDD2C4550E2E773800B7A85F /* QuartzCore.framework in Frameworks */,
   5.182  				FDD2C4560E2E773800B7A85F /* OpenGLES.framework in Frameworks */,
   5.183 @@ -576,6 +609,7 @@
   5.184  			buildActionMask = 2147483647;
   5.185  			files = (
   5.186  				FDBDE5C20E313663006BAC0B /* libSDL2.a in Frameworks */,
   5.187 +				FA8B4BD6196766D700F8EB7C /* CoreMotion.framework in Frameworks */,
   5.188  				FDD2C4720E2E77D700B7A85F /* AudioToolbox.framework in Frameworks */,
   5.189  				FDD2C4730E2E77D700B7A85F /* QuartzCore.framework in Frameworks */,
   5.190  				FDD2C4740E2E77D700B7A85F /* OpenGLES.framework in Frameworks */,
   5.191 @@ -591,6 +625,7 @@
   5.192  			buildActionMask = 2147483647;
   5.193  			files = (
   5.194  				FDBDE5C60E3136F1006BAC0B /* libSDL2.a in Frameworks */,
   5.195 +				FA8B4BD7196766DA00F8EB7C /* CoreMotion.framework in Frameworks */,
   5.196  				FDD2C5010E2E7F4800B7A85F /* AudioToolbox.framework in Frameworks */,
   5.197  				FDD2C5020E2E7F4800B7A85F /* QuartzCore.framework in Frameworks */,
   5.198  				FDD2C5030E2E7F4800B7A85F /* OpenGLES.framework in Frameworks */,
   5.199 @@ -606,6 +641,7 @@
   5.200  			buildActionMask = 2147483647;
   5.201  			files = (
   5.202  				FDBDE5C80E313702006BAC0B /* libSDL2.a in Frameworks */,
   5.203 +				FA8B4BDB196766E500F8EB7C /* CoreMotion.framework in Frameworks */,
   5.204  				FDD2C51F0E2E807600B7A85F /* AudioToolbox.framework in Frameworks */,
   5.205  				FDD2C5200E2E807600B7A85F /* QuartzCore.framework in Frameworks */,
   5.206  				FDD2C5210E2E807600B7A85F /* OpenGLES.framework in Frameworks */,
   5.207 @@ -622,6 +658,7 @@
   5.208  			files = (
   5.209  				AA1EE47717605BAB0029C7A5 /* libSDL2test.a in Frameworks */,
   5.210  				FDBDE5CA0E313712006BAC0B /* libSDL2.a in Frameworks */,
   5.211 +				FA8B4BDC196766E800F8EB7C /* CoreMotion.framework in Frameworks */,
   5.212  				FDD2C5440E2E80E400B7A85F /* AudioToolbox.framework in Frameworks */,
   5.213  				FDD2C5450E2E80E400B7A85F /* QuartzCore.framework in Frameworks */,
   5.214  				FDD2C5460E2E80E400B7A85F /* OpenGLES.framework in Frameworks */,
   5.215 @@ -637,6 +674,7 @@
   5.216  			buildActionMask = 2147483647;
   5.217  			files = (
   5.218  				FDBDE5CC0E31372B006BAC0B /* libSDL2.a in Frameworks */,
   5.219 +				FA8B4BDE196766EE00F8EB7C /* CoreMotion.framework in Frameworks */,
   5.220  				FDD2C57D0E2E8C7400B7A85F /* AudioToolbox.framework in Frameworks */,
   5.221  				FDD2C57E0E2E8C7400B7A85F /* QuartzCore.framework in Frameworks */,
   5.222  				FDD2C57F0E2E8C7400B7A85F /* OpenGLES.framework in Frameworks */,
   5.223 @@ -652,6 +690,7 @@
   5.224  			buildActionMask = 2147483647;
   5.225  			files = (
   5.226  				FDBDE5CE0E31373E006BAC0B /* libSDL2.a in Frameworks */,
   5.227 +				FA8B4BDF196766F100F8EB7C /* CoreMotion.framework in Frameworks */,
   5.228  				FDD2C5BB0E2E8CFC00B7A85F /* AudioToolbox.framework in Frameworks */,
   5.229  				FDD2C5BC0E2E8CFC00B7A85F /* QuartzCore.framework in Frameworks */,
   5.230  				FDD2C5BD0E2E8CFC00B7A85F /* OpenGLES.framework in Frameworks */,
   5.231 @@ -667,6 +706,7 @@
   5.232  			buildActionMask = 2147483647;
   5.233  			files = (
   5.234  				FDBDE5D40E313789006BAC0B /* libSDL2.a in Frameworks */,
   5.235 +				FA8B4BE1196766F600F8EB7C /* CoreMotion.framework in Frameworks */,
   5.236  				FDD2C6EA0E2E959E00B7A85F /* AudioToolbox.framework in Frameworks */,
   5.237  				FDD2C6EB0E2E959E00B7A85F /* QuartzCore.framework in Frameworks */,
   5.238  				FDD2C6EC0E2E959E00B7A85F /* OpenGLES.framework in Frameworks */,
   5.239 @@ -735,7 +775,6 @@
   5.240  			isa = PBXGroup;
   5.241  			children = (
   5.242  				FD1B48B80E3131CA007AB34E /* libSDL2.a */,
   5.243 -				0466EE7011E565E4000198A4 /* testsdl.app */,
   5.244  			);
   5.245  			name = Products;
   5.246  			sourceTree = "<group>";
   5.247 @@ -774,6 +813,7 @@
   5.248  		FDA8A7C30E2D10FA00EA573E /* Linked Frameworks */ = {
   5.249  			isa = PBXGroup;
   5.250  			children = (
   5.251 +				FA8B4BAC1967076F00F8EB7C /* CoreMotion.framework */,
   5.252  				FDA8A8980E2D111A00EA573E /* AudioToolbox.framework */,
   5.253  				FDA8A8990E2D111A00EA573E /* QuartzCore.framework */,
   5.254  				FDA8A89A0E2D111A00EA573E /* OpenGLES.framework */,
   5.255 @@ -1252,13 +1292,6 @@
   5.256  /* End PBXProject section */
   5.257  
   5.258  /* Begin PBXReferenceProxy section */
   5.259 -		0466EE7011E565E4000198A4 /* testsdl.app */ = {
   5.260 -			isa = PBXReferenceProxy;
   5.261 -			fileType = wrapper.application;
   5.262 -			path = testsdl.app;
   5.263 -			remoteRef = 0466EE6F11E565E4000198A4 /* PBXContainerItemProxy */;
   5.264 -			sourceTree = BUILT_PRODUCTS_DIR;
   5.265 -		};
   5.266  		AA1EE452176059230029C7A5 /* libSDL2test.a */ = {
   5.267  			isa = PBXReferenceProxy;
   5.268  			fileType = archive.ar;
   5.269 @@ -1738,14 +1771,9 @@
   5.270  		C01FCF4F08A954540054247B /* Debug */ = {
   5.271  			isa = XCBuildConfiguration;
   5.272  			buildSettings = {
   5.273 -				ARCHS = (
   5.274 -					armv7,
   5.275 -					armv6,
   5.276 -				);
   5.277  				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
   5.278  				GCC_OPTIMIZATION_LEVEL = 0;
   5.279  				HEADER_SEARCH_PATHS = ../../include;
   5.280 -				IPHONEOS_DEPLOYMENT_TARGET = 3.1.3;
   5.281  				OTHER_LDFLAGS = "-ObjC";
   5.282  				"PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
   5.283  				SDKROOT = iphoneos;
   5.284 @@ -1756,13 +1784,8 @@
   5.285  		C01FCF5008A954540054247B /* Release */ = {
   5.286  			isa = XCBuildConfiguration;
   5.287  			buildSettings = {
   5.288 -				ARCHS = (
   5.289 -					armv7,
   5.290 -					armv6,
   5.291 -				);
   5.292  				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
   5.293  				HEADER_SEARCH_PATHS = ../../include;
   5.294 -				IPHONEOS_DEPLOYMENT_TARGET = 3.1.3;
   5.295  				OTHER_LDFLAGS = "-ObjC";
   5.296  				"PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
   5.297  				SDKROOT = iphoneos;
     6.1 --- a/configure	Mon Jul 07 10:39:02 2014 -0700
     6.2 +++ b/configure	Mon Jul 07 10:42:19 2014 -0700
     6.3 @@ -23295,6 +23295,7 @@
     6.4          EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,CoreAudio"
     6.5          EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,AudioToolbox"
     6.6          EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,CoreGraphics"
     6.7 +        EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,CoreMotion"
     6.8          ;;
     6.9      *-*-darwin* )
    6.10          # This could be either full "Mac OS X", or plain "Darwin" which is
     7.1 --- a/configure.in	Mon Jul 07 10:39:02 2014 -0700
     7.2 +++ b/configure.in	Mon Jul 07 10:42:19 2014 -0700
     7.3 @@ -3156,6 +3156,7 @@
     7.4          EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,CoreAudio"
     7.5          EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,AudioToolbox"
     7.6          EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,CoreGraphics"
     7.7 +        EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,CoreMotion"
     7.8          ;;
     7.9      *-*-darwin* )
    7.10          # This could be either full "Mac OS X", or plain "Darwin" which is
     8.1 --- a/premake/projects/SDL2.lua	Mon Jul 07 10:39:02 2014 -0700
     8.2 +++ b/premake/projects/SDL2.lua	Mon Jul 07 10:42:19 2014 -0700
     8.3 @@ -401,5 +401,6 @@
     8.4  			"$(SDKROOT)/CoreGraphics.framework",
     8.5  			"$(SDKROOT)/UIKit.framework",
     8.6  			"$(SDKROOT)/Foundation.framework",
     8.7 -			"$(SDKROOT)/CoreAudio.framework"
     8.8 +			"$(SDKROOT)/CoreAudio.framework",
     8.9 +			"$(SDKROOT)/CoreMotion.framework"
    8.10  		}