Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 830
mrosales Avatar asked Oct 11 '12 04:10

mrosales


1 Answers

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.

like image 108
S.P. Avatar answered Nov 15 '22 21:11

S.P.