将64位支持扩展到现有的iOS应用 [英] Extending 64 bit support to existing iOS app

查看:57
本文介绍了将64位支持扩展到现有的iOS应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已阅读 Apple的将应用程序转换为64位二进制文​​件的指南和其他一些网页。我使用的是Xcode 6,我认为,如果架构包含标准架构(armv7,arm64),而有效架构包含 armv7,armv7s,那么它表示我的应用程序支持64位二进制文​​件。



有人可以确认我的理解是否正确吗?



第二个问题是我的项目包含许多库。我相信我也必须将这些库转换为64位,以防库供应商不这样做。



将来,我计划使用可可豆荚,但是我认为可可豆荚目前不支持64位二进制文​​件。有人可以确认我的信念是否正确吗?在这种情况下还能做什么?



这里有人用可可豆荚将其应用程序转换为64位吗?

解决方案

您的项目以及 所有包含的库或框架都应包括arm64作为受支持的体系结构,如下所示:



请注意,您在有效体系结构菜单中缺少arm64。



有效的体系结构:指定您要构建的体系结构:
amv7和armv7s用于32位设备。
arm64适用于64位设备





关于CocoaPods:
Cocoapods与64Bit没有关系。由于Cocoapods只是一个依赖项管理器,不会包含在您的源代码中。它与您的构建工具链一起使用。



因此,您应该担心的是,您使用的所有Pod都应兼容64位。


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?

解决方案

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.

这篇关于将64位支持扩展到现有的iOS应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆