Saturday, September 22, 2012

iOS 6, Xcode 4.5 and iPhone 5

According  to Anandtech.com,  ‘armv7s’, a custom Apple instruction set that adds VFPv4 support, a.k.a. vector floating point support, was added to Xcode 4.5 to support iPhone 5 which uses Apple’s new A6 SoC. Xcode 4.5 makes two major changes: it drops support for the ARMv6 ISA (used by the ARM11 core in the iPhone 2G and iPhone 3G), keeps support for ARMv7 (used by modern ARM cores) and it adds support for a new architecture target designed to support the new A6 SoC: armv7s.



Coronalabs.com made following suggestions. 

If you open up your Xcode project in Xcode 4.5, you’ll see something like the following. Note the presence of both ‘armv7′ and ‘armv7s’:

The main change you need to make is to make sure the builds for device only build armv7 (i.e. remove ‘armv7s’). Here’s what they should look like after:
In this setup, you are basically telling Xcode, that by default you still want the standard instruction sets, but for iOS, you are adding override behavior, forcing it to only build for armv7. Once we add armv7s support, you can easily highlight the override and remove it (hit the delete key).
If you’re making the adjustments to your Xcode project directly, be sure to select the “Project” instead of the “Target” on the left pane.

No comments:

Followers

Blog Archive

About Me

My photo
HD Multimedia Technology player