I just updated to xcode 5.1 - apple decided to make all apps compile to 64bit by default - My app has some legacy code and I spent the last couple of hours figuring out how to STOP Xcode building for 64bit. Thought this might help people with the same problem...
See the accepted answer for a clearer visual walk thought
(my original text based answer...)
In Targets-->Build Settings-->Architectures-->Architectures
- select other
- delete (press '-') $(ARCH_STANDARD)
- add (press '+') armv7
- add (press '+') armv7s
- clean and build
OP is posted the solution along with the question itself. But I feel it would be better to add it as an answer. In
Xcode 5.1
apple made significant changes to thearchitecture
section. They madearm64
as part of Standard architectures. That means the projects using the default setting will be automatically build forarm64
also. So what you will do if your app does not supportarm64
?.Doc says:
How to do that?
Goto Targets-->Build Settings-->Architectures-->Architectures
Double click on the architecture will popup a menu. Choose others
Delete the existing row - $(ARCH_STANDARD). Add the required architectures one by one
Now your architecture section will look like this
Or just use
$(ARCHS_STANDARD_32_BIT)