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

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

问题描述

我已阅读 Apple 的将应用程序转换为 64 位二进制文​​件 和其他一些网页的指南.我正在使用 Xcode 6,我相信如果架构包含标准架构(armv7,arm64)"并且有效架构包含armv7,armv7s"那么它表示我的应用支持 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?

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

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.

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

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?

这里有人使用可可豆荚将他们的应用程序转换为 64 位吗?

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

推荐答案

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

请注意,您的有效架构"菜单中缺少 arm64.

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

有效架构:指定您要构建的架构:amv7 和 armv7s 适用于 32 位设备.arm64 适用于 64 位设备

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:

关于 CocoaPods:Cocoapods 与 64Bit 没有关系.因为 Cocoapods 只是一个依赖管理器,不会包含在你的源代码中.它适用于您的构建工具链.

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.

所以你应该担心的是你使用的所有 Pod 都应该是 64Bit 兼容的.

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

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

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