I am constantly getting below error while building app:
No architectures to compile for (ARCHS=arm6 arm7, VALID_ARCHS=armv7).
I tried adding arm6 arm7
to architecture but didn't work. I also tried just arm6
and arm7
, but still not.
Also, I'm setting deployment target to 4.3 iPhone
.
I have Xcode version 4.3.1
.
Please help!
You must take two steps:
Go to Project Target > Build Settings > Architectures
Delete whatever you see there, and then add these rows one by one:
armv6 armv7
There are no 'save' buttons there, so what I do, is adding another blank row, pressing enter, removing it, and then clicking out somewhere else, so that I make sure I have both of them added:
Now it's done.
set "Build Active Architecture Only" = NO this worked for me after upgrading an old project to xcode5
That works fine for me:
Set architectures to "Standard (armv7,armv7s)" and after set manually Valid architectures to armv7 armv7s
Not arm6 and arm7, try by adding armv6 and armv7 as architectures.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With