如何将xcode 32位应用程序转换为64位xcode应用程序 [英] How to convert xcode 32 bit app into 64 bit xcode app

查看:358
本文介绍了如何将xcode 32位应用程序转换为64位xcode应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经用ios 8.1更新了xcode为6.1版本。我想在项目的构建设置中进行设置。
在32位xcode项目的体系结构和有效体系结构中应该进行哪些更改,以将其转换为64位支持。

I have updated xcode as 6.1 version with ios 8.1.I want to make settings in build settings of project. What changes should be made in architecture and valid architecture of 32 bit xcode project to convert it into 64 bit support.

之前,32位xcode项目有设置如下:
体系结构:标准体系结构(armv7 arm64)
有效体系结构:armv64 armv7 armv7s

Earlier,32 bit xcode project has settings as follows: architectures:Standard Architecture(armv7 arm64) valid architectures:armv64 armv7 armv7s

现在,当我将体系结构设置更改为。 ..
体系结构:标准体系结构(包括64位)...在developer.apple.com中编写。
有效体系结构:armv64 armv7 armv7s

Now,when I changed the architecture setting as... architectures:Standard Architectures (including 64-bit)...as written in developer.apple.com. valid architectures:armv64 armv7 armv7s

因此,应用程序在ios设备上运行ios 8.1.3版本

So,the application runs on ios device with ios 8.1.3 version

我想知道,当我在

有效体系结构中编写:arm64 armv7 armv7s时,错误显示在flurry sdk中,我用于ios.4.2.3

I want to know that,when I write in
valid architectures:arm64 armv7 armv7s,error is displayed in flurry sdk which I have used for ios.4.2.3

但是,当我写..
有效架构:armv64 armv7 armv7s,然后没有显示错误,应用程序运行正常。

but ,when I write .. valid architectures:armv64 armv7 armv7s,then no error displayed,application runs fine.

我知道,我会将我的所有库更新为64位支持,如flurry sdk等。

I know,I will hav to update all my libraries to 64 bit support like flurry sdk,etc.

但是,请有人告诉我详细步骤应该是什么完成将32位xcode应用程序转换为64位应用程序。

But,please anyone tell me detail in steps as what should be done to convert 32 bit xcode app into 64 bit app.

并且,如何使用terminal命令了解项目中使用的库的体系结构。

And,how one can know the architecture of the libraries used in the project using terminal command.

谢谢..

推荐答案

这是 arm64 不是armv64

It's arm64 not armv64

要解释这些,

架构:
第一步是将架构设置为标准架构(Apple推荐)。这意味着构建32位和64位架构。这会将您的 iOS部署目标更改为 iOS5.1.1 。得到您的确认。

Architectures: First Step is to set the Architecture to Standard architectures (Apple recommended). Which means build both 32 and 64 Bit architectures. This would change your iOS Deployment Target to iOS5.1.1. With a confirmation from you.

有效体系结构:
指定您要构建的体系结构:

armv7和armv7s适用于32位设备。

arm64适用于64位设备

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

仅构建活动架构:
这是指定是构建所有有效的体系结构还是仅为指定的目标构建。因此,对于Debug,set为Yes,因此,它仅构建当前架构(32位,如果iPhone 5 64位,如果是iPhone 5 64位)。并且发布为编号(构建版本的所有架构)。

Build Active Architecture Only : This is to specify, whether, build all the valid architectures or build only for the target specified. So for Debug, set is as Yes, hence, it builds only the current architecture, (32 bit, if iPhone 5 64bit if iPhone 5s). And For Release as No. (Build all architecture for Release).

Apple对64位转换的建议

这篇关于如何将xcode 32位应用程序转换为64位xcode应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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