IOS 其他

让App支持32-bit和64-bit基本步骤

1.确保Xcode版本号>=5.0.1

2.更新project settings, minimum deployment target >= 5.1.1

3.改变Architectures为 Standard architectures(include 64-bit)

4.运行测试代码,解决编译warnings and errors,对照本文档或者官方文档 64-Bit Transition Guide for Cocoa Touch对相应地方做出修改。(编译器不能告诉我们一切)

5.在真实的64-bit机器上测试。

6.使用Instruments查看内存使用问题。

原文地址:https://www.cnblogs.com/ziyeSky/p/4130489.html