Enable apps generated by xcode 4.2 to support older iOS devices (armv6)

Source: Internet
Author: User

These days I encountered a very strange problem. For apps developed based on xcode 4.2, the exported IPA installation package cannot be installed on iPod Touch 2. Touch2 firmware version 4.2.1 has been jailbroken. Neither iTunes nor 91 mobile assistant nor synchronous push. However, other IPA files can be successfully installed on touch2. The IPA package generated by xcode 4.2 can be installed successfully and run smoothly on iPhone 4, iPhone 3gs, and iPod Touch 4, regardless of the firmware version. The initial analysis result is that the app generated by xcode 4.2 does not support touch2. In the past few days, I found some friends who helped me test the IPA installation package and asked some friends who have iOS development experience. Finally, a friend reminded me of xcode.
In 4.2, project-> build settings-> ubuntures-> release settings are related. After modification, the problem is finally solved. Thank you!

Cause Analysis: xcode 4.2's ubuntures settings default only armv7, that is, the new iOS device, including iPhone 3gs, iPhone 4, iPhone 4S, iPad, ipad2 and so on, while iPhone, iPhone 3G, iPod Touch, and iPod Touch 2 belong to the armv6 architecture.

Solution: Set ubuntures to armv6 armv7, as shown in:

Before modification:


After modification:

In this way, the generated IPA installation package can support old iOS devices.


In addition, you need to delete the required device capabilitiess In the info settings so that it is correctly compatible with the old iOS devices only after being submitted to the appstore.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.