Moto110
Aspiring developer
Profile
Posts: 205
Reg: Jul 26, 2011
Orlando, FL
8,700
03/18/14 07:15 PM (10 years ago)

Xcode 5.1 ERROR - No architectures to compile

I made the mistake of updating Xcode and then received the following error. If anyone else has this problem here is how I fixed it. This is the error in Xcode: " No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=arm64, VALID_ARCHS=armv7 armv7s). " I resolved this problem by going to the PROJECT (Not Target) build settings and changing "Build Active Architecture Only" to NO (might make compiling a bit slower but should fix the problem).
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
03/19/14 06:22 AM (10 years ago)
Nice tip! Can you Private Message me, I have a question.
 
home
Aspiring developer
Profile
Posts: 5
Reg: Mar 06, 2014
Santiago de Chi...
50
like
03/19/14 07:39 AM (10 years ago)
Moto I have the same problem (since yesterday when I updated xcode)... I know nothing about codes, Somebody knows... any way to fix it?
 
Moto110
Aspiring developer
Profile
Posts: 205
Reg: Jul 26, 2011
Orlando, FL
8,700
like
03/19/14 08:03 AM (10 years ago)
@home - I resolved this problem by going to the PROJECT (Not Target) build settings and changing "Build Active Architecture Only" to NO (might make compiling a bit slower but should fix the problem). If you are having a problem finding the PROJECT in Xcode click on the "folder" icon in the top left then look a little to the right of your "app name" below the folder icon and you will see a small arrow. Click that and a sidebar will pop out that will show the "PROJECT" and the "TARGET" click your "app name" below "PROJECT" and then you will see "Build Settings" to the right. Click on that and look for "Build Active Architecture Only" and change it to "NO".
 
home
Aspiring developer
Profile
Posts: 5
Reg: Mar 06, 2014
Santiago de Chi...
50
like
03/19/14 08:05 AM (10 years ago)
Moto Thanks you very much !!! Now is working.
 
LevensGardener
Aspiring developer
Profile
Posts: 220
Reg: Sep 30, 2012
Kendal
10,450
like
03/19/14 02:31 PM (10 years ago)
I think I had a variation on this problem when I first upgraded my iPhone to iOS 7.1. Xcode would not compile for it, giving a sickening no provisioning profile type error! Panicked at first, but upgrading Xcode to 5.1 brought them both back to happy equilibrium...
 
Cynthia
Apple Fan
Profile
Posts: 6
Reg: Mar 15, 2014
Sollentuna, SWE...
5,260
like
06/07/14 12:59 PM (10 years ago)
Hi, I've been having the same problems. It only pops up when I try the simulator for iPhone 4 and above. I've tried all the adjustments mentioned in the forum here but nothing seems to work. Is there something new in the 5.1.1 version? Thanks. /Cynthia
 
Cynthia
Apple Fan
Profile
Posts: 6
Reg: Mar 15, 2014
Sollentuna, SWE...
5,260
like
06/07/14 01:09 PM (10 years ago)
Hi, I've been having the same problems. It only pops up when I try the simulator for iPhone 4 and above. I've tried all the adjustments mentioned in the forum here but nothing seems to work. Is there something new in the 5.1.1 version? Thanks. /Cynthia
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.