0

I just would like to know what is thew importance of setting Valid architectues ( armv7, armvs ) in your xcode projects? At what level of the SDK does that become important? Coredata? some caching issue? not trying to diminish it but to understand the reason it exists.

trojanfoe
  • 120,358
  • 21
  • 212
  • 242
Huang
  • 1,355
  • 2
  • 11
  • 28
  • possible duplicate of [What's the difference between "Architectures" and "Valid Architectures" in Xcode Build Settings?](http://stackoverflow.com/questions/12701188/whats-the-difference-between-architectures-and-valid-architectures-in-xcode) – trojanfoe Mar 04 '13 at 15:01
  • it is for what architecture the code get compiled to. armv7s can run armv7, but not viceversa, so if you compiler only for armv7s you cannot run on an iphone4s and below. usually when developing for speeding up compiling you can set BUILD_FOR_ACTIVE_ARCHITECTURE_ONLY to yes. – Ultrakorne Mar 04 '13 at 15:11

1 Answers1

1

According to XCode Buid setting reference

Specifies the architectures for which the binary may be built. During the build, this list is intersected with the value of ARCHS build setting; the resulting list specifies the architectures the binary can run on. If the resulting architecture list is empty, the target generates no binary.

Ravindra Bagale
  • 17,226
  • 9
  • 43
  • 70