Question

Recently I am facing an issue updating my ios5 application which is running fine in ios5 to run in iPhone 5 (ios6). The app has nib files, which need to be re arranged according to respective bounds of the view. When build/run in the simulator works fine, but when tried in the device, gives error regarding the architecture.

Checked these links

XCode 4 active architecture setting

What Xcode settings should I use to support both armv6 and armv7?

Changed the 'Build Active ARchitecture' to YES/ NO -but no use Changed the 'Valid Architecture' to 'armv6 armv7', 'armv6', 'standard armv6' etc. but no luck

If it runs in iPhone5, it did not run in other devices, iPad (ios 5.1.1) and iPod (ios 5.1.1)

Thanks in advance.

Was it helpful?

Solution

In plist file i have made below changes After lot many hours got the solution for this. I have changed like this in plist it's getting started. Thank you..

OTHER TIPS

Use armv7 and armv7s (unless you have conflict with 3rd party code) for the valid architectures. iPhone 5 will run armv7 code as well as armv7s. XCode 4.5 dropped support for armv6.

Here are a couple of related SO questions that might help you.

What is armv7s?

http://wanderingcoder.net/2012/09/16/no-armv7s-til-tested/

Valid Architectures Image

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top