IOS7 App Development Essentials(4)IPhone5, IPhone5s, IPhone5c

本文解决iOS7应用部署到iPhone5s时遇到的arm64不支持问题。作者通过调整Xcode项目设置,增加arm64架构支持,成功解决了应用程序无法在64位设备上运行的问题。

IOS7 App Development Essentials(4)IPhone5, IPhone5s, IPhone5c

I am using IPhone5 all the time, my test device is an IPhone5c. Recently, I got a new device IPhone5s.

It seems that IPhone5s is 64 bit system, others are 32 bit system. So when I try to deploy and run my app on IPhone5s. I got these problems.

It keeps telling me arm64 is not supported.

So I change my lib and app project as follow
Build Settings —— Architectures

Architectures             armv7 armv7s
valid Architectures     armv7 armv7s

It works fine after that.

 

Or we need to add arm64 as follow:

Architectures             armv7 armv7s arm64
valid Architectures     armv7 armv7s arm64

References:
http://www.techotopia.com/index.php/IOS_7_App_Development_Essentials

http://stackoverflow.com/questions/22331908/xcode-5-1-missing-required-architecture-arm64

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值