久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

如何使用 iOS 5 構(gòu)建 armv6 和 armv7 架構(gòu)

How to build for armv6 and armv7 architectures with iOS 5(如何使用 iOS 5 構(gòu)建 armv6 和 armv7 架構(gòu))
本文介紹了如何使用 iOS 5 構(gòu)建 armv6 和 armv7 架構(gòu)的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

問題描述

限時送ChatGPT賬號..

iOS5 中,Apple 從 ARCHS_STANDARD_32_BIT 中刪除了 armv6 架構(gòu).

In iOS5 Apple drops the armv6 architecture from the ARCHS_STANDARD_32_BIT.

為了保持對iPhone3G的支持,我還是想在iOS5中編譯armv6.

In order to keep the support for iPhone3G I still want to compile in armv6 even in iOS5.

有人找到解決方案了嗎?

Did anyone find a solution for this?

推薦答案

我今天剛剛構(gòu)建了一些東西,指定了 iOS 4.0 的部署目標(biāo).在架構(gòu)中只指定了 armv7,Xcode 警告我要支持低于 iOS4.2 的任何內(nèi)容,我必須在架構(gòu)中包含 armv6.只需編輯該字段,在彈出對話框時單擊+"按鈕并輸入文字armv6".

I just built something today specifying a deployment target of iOS 4.0. With only armv7 specified in Architectures, Xcode warned me that to support anything below iOS4.2 I had to include armv6 in Architectures. Just edit that field, click the "+" button when the dialog pops up and enter the literal "armv6".

在我的例子中,我們希望我們的應(yīng)用在 iOS4 和 iOS5 下運行.我們必須進行一些修改,使其能夠在 iOS5 下正常工作,但所有這些更改都是通過對 iOS4 友好的代碼更改完成的.

In my case, we want our app to work under iOS4 and iOS5. We had to make some modifications so it would work correctly under iOS5, but all those changes were done with iOS4-friendly code changes.

我們還添加了一些特定于 iOS5 的功能,以允許應(yīng)用在 iOS4 下運行而不會崩潰.具體來說,我們在嘗試使用 iOS5 功能之前對其進行了測試,并將僅限 iOS5 的庫鏈接為可選.

We also added some iOS5-specific capabilities in a manner that allows the app to run without crashing under iOS4. Specifically, we tested for iOS5 capabilities before trying to use them, and linked iOS5-only libraries as Optional.

因此,在 iOS5 世界中支持 iPhone3G 可能很容易意味著我們希望我們的應(yīng)用程序在 iOS4 及更高版本上運行(無論使用任何 iOS5 功能)"而不是我們希望確保我們的應(yīng)用程序在舊版本上運行運行 iOS5 的設(shè)備".這里有區(qū)別;想想看.:-)

So, supporting iPhone3G in an iOS5 world could just as easily mean "we want our app to run on iOS4 and above (regardless of any iOS5 feature use)" rather than "we want to make sure our app runs on an older device running iOS5". There's a difference here; think about it. :-)

無論如何,重新添加 armv6 支持非常容易.而且我想重點是:在某些時候,當(dāng)沒有更多的 armv6 設(shè)備需要擔(dān)心(無論出于何種原因)時,您就不必為它構(gòu)建.蘋果的觀點是大家都應(yīng)該盡快升級到最新的硬件.所以在那個世界里,除了最新和最好的工具之外,沒有必要讓工具默認(rèn)為任何東西.:-) 幸運的是(或不是),我們開發(fā)人員生活在現(xiàn)實世界中,并認(rèn)識到您必須支持舊的東西一段時間.我猜 Xcode 開發(fā)團隊也知道這一點,這就是為什么您可以非常簡單地重新添加 armv6 支持.

Anyway, adding armv6 support back in is very easy. And I guess the point is this: At some point, when there are no more armv6 devices out there to worry about (for whatever reason) you won't have to build for it. Apple's view is everyone should upgrade to the latest hardware as soon as possible. So in that world, there is no need for the tools to default to anything but the latest and greatest too. :-) Fortunately (or not), we developers live in the real world and recognize that you have to support older stuff for a while. And I guess the Xcode dev team knows this too, which is why you can add armv6 support back in quite simply.

這篇關(guān)于如何使用 iOS 5 構(gòu)建 armv6 和 armv7 架構(gòu)的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

相關(guān)文檔推薦

Change Line Color of EditText - Android(更改 EditText 的線條顏色 - Android)
Changing where cursor starts in an expanded EditText(更改光標(biāo)在展開的 EditText 中的開始位置)
Send backspace key event to edit text(發(fā)送退格鍵事件以編輯文本)
Android: How to set password property in an edit text?(Android:如何在編輯文本中設(shè)置密碼屬性?)
Label in a editbox in android(在android的編輯框中添加標(biāo)簽)
actionDone imeOption doesn#39;t work on EditText in Android 2.3(actionDone imeOption 不適用于 Android 2.3 中的 EditText)
主站蜘蛛池模板: 成人自拍视频网站 | 日韩久久久久久 | 高清国产午夜精品久久久久久 | 日韩精品在线观看视频 | 中文字幕亚洲区一区二 | 中文字幕精品视频 | 国产欧美精品一区二区色综合朱莉 | 久久99精品久久久久久 | 在线一区二区三区 | 羞羞的视频免费观看 | 日韩欧美专区 | 91污在线 | 久久综合成人精品亚洲另类欧美 | 一本色道精品久久一区二区三区 | 国产农村妇女毛片精品久久麻豆 | 国产精品久久久久久久模特 | 91精品久久久久久久 | 亚洲欧美视频 | 中文字幕亚洲精品 | 亚洲区中文字幕 | 天堂av资源 | 国产精品亚洲一区 | 欧美不卡一区 | 黄色成人在线 | 国产亚洲精品久久久久久豆腐 | 国产精品一区二区不卡 | 欧美黑人体内she精在线观看 | 欧美日一区二区 | 精品视频一区二区三区 | av在线播放免费 | 中文字幕第49页 | 在线观看毛片网站 | 亚洲高清在线 | 国产精品久久久久久吹潮日韩动画 | 日韩二三区 | 日韩精品一区二区三区中文在线 | 亚洲国产精品99久久久久久久久 | 国产精品中文字幕在线 | 久久精品久久久久久 | 精品久久影院 | 午夜精品一区二区三区免费视频 |