Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=i386)

Tags:

While using the iphone simulator 64 bit, i'm getting the following architecture error. Also using the xcode 5.0. Any suggestions.

like image 705
RajMac Avatar asked Feb 24 '14 11:02

RajMac


2 Answers

have a look under your build settings, check that the setting Build Active Architecture Only is set to No (might make compiling a bit slower but should fix the problem)

Also check that the Valid Architectures has arm64 in the list

Note if you are getting an error when submitting an app saying "Apps that include an arm64 architecture are required to include both armv7 and armv7s architectures”, setting it to No will also fix this

like image 123
Fonix Avatar answered Oct 24 '22 14:10

Fonix


What you need to do is just set the ONLY_ACTIVE_ARCH to NO. Hope it will work.

like image 35
prema janoti Avatar answered Oct 24 '22 15:10

prema janoti