We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 2626

Summary: [Patch] iOS: fix test and template Xcode projects and build scripts to link with CoreMotion
Product: SDL Reporter: Alex Szpakowski <amaranth72>
Component: buildAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.0   
Hardware: iPhone/iPod touch   
OS: iOS (All)   
Attachments: Patch to fix iOS-specific Xcode projects and build files

Description Alex Szpakowski 2014-07-04 23:05:59 UTC
Created attachment 1734 [details]
Patch to fix iOS-specific Xcode projects and build files

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.
Comment 1 Sam Lantinga 2014-07-07 17:42:49 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL/rev/a41a6b334028