Search code examples
iosxcodeios6armv7

iOS 6 Xcode 4.5 unsupported architecture armv7s


When trying to archive an app for an Ad Hoc release, I am getting the following warning:

iPhone/iPod Touch: application executable contains unsupported architecture(s): armv7s (-19031)

I am really not sure why this is happening for two reasons:

  • The only non-foundation framework I am using is the Facebook SDK, which is the latest version
  • I successfully archived the app last week and the only things that have changed since then are purely coding changes.

Also, I have tried archiving with and without an iPhone 5 plugged in, and I receive the error both ways.

Does anybody know how to fix this?


Solution

  • Quick fix is

    Remove armv7s from

    Project -> Build Settings -> Architecures

    Updated ::

    Now change Build Active Architecture in Build Settings to No to Yes. But even this is not a pure solution to this problem.