Xcode4.2產生app支援舊版iOS裝置

來源:互聯網
上載者:User

先說一下armv6 與 armv7的區別:

What is ARMv7?
It's a new CPU architecture of iPhone. Make some apps run faster.

What does ARMv7 to do with me?
Here is a post by most_Unique found on iPhoneCake.

Most apps today use FAT binary which cracked on ARMv7 device will not work on ARMv6 device.

  • Armv7的機器有:iPhone4, iPhone4s, iPad, iPad2, iPhone 3GS, iPod 3G
  • Armv6的機器有:iPhone 2G, iPhone3G, iPod 1G, iPod2G

那麼要在老機器上跑, 比如iphone3G, 就必須支援armv6

Xcode 4.2的Architectures設定預設只有armv7

解決方案:將Architectures設定為armv6 armv7,

修改前:

修改後:

這樣設定後產生的ipa安裝包就可以支援舊版iOS裝置了。

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.