Extending 64 bit support to existing iOS app

有些话、适合烂在心里 提交于 2019-12-11 10:36:53

问题


I have read Apple's Guidelines for converting app to 64 bit binary and few other web pages.I am using Xcode 6 and I believe that if Architectures contain "Standard Architecture(armv7,arm64)" and Valid Architectures contain "armv7,armv7s" then it means my app supports 64 bit binaries.

Can someone please confirm if my understanding is correct?

The second issue is that my project contains a number of libraries.I believe that I will have to convert those libraries to 64 bit as well in case the library vendors don't.

In future, I am planning to use cocoa pods, but I believe cocoa pods is not supporting 64 bit binaries right now. Can someone please confirm if my belief is correct? Also what can be done in this case?

Has someone here converted their app to 64 bit using cocoa pods?


回答1:


Your project as well as all the included libraries or frameworks should include arm64 as supported architecture like below:

Please note that you are missing arm64 in your Valid Architecture menu.

Valid Architectures : Specify the architectures you want to build: amv7 and armv7s are for 32 bit devices. arm64 is for 64 bit devices

You may also want to look at this link for more details:

About CocoaPods: Cocoapods has no relation to 64Bit. As Cocoapods is just a dependency manager and does not gets included in you source code. It works with your build tool chain.

So what you should be worried about is that all the pods you are using should be 64Bit compatible.



来源:https://stackoverflow.com/questions/28447314/extending-64-bit-support-to-existing-ios-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!