Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone 5S Specific Error: No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=arm64, VALID_ARCHS=armv7 armv7s)

My app uses a few libraries that are iPhone hardware specific and do not run on the simulator. My app complies and runs fine on an iPhone 5 with iOS 7.1, iPod Touch 5G with iOS 7.0 and iPhone 4 with iOS 6.

However, when I try to compile it to a specific iPhone 5S with iOS 7.1, I get the following error, which doesn't make much sense to me:

No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=arm64, VALID_ARCHS=armv7 armv7s).

As a note, this works on other iPhone 5S's - it's just this specific.

like image 838
varunsrin Avatar asked Mar 27 '14 19:03

varunsrin


1 Answers

Have you tried looking at your project settings and making sure that under Architectures, Valid Architectures includes arm64? It looks like it's only including armv7 and armv7s. Make sure the architectures are included as such:

enter image description here

You may also decide to set Build Active Architecture Only to No so it can build regardless of what architecture you're connected to.

like image 127
SpacePyro Avatar answered Oct 14 '22 07:10

SpacePyro