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

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