KRima
Apple Fan
Profile
Posts: 154
Reg: Jan 27, 2013
Sydney
1,940
03/03/13 03:54 AM (12 years ago)

required architecture missing: armv6 error

I am getting this problem after i build for archiving. My project appears in the archiving list. When i press the validate button it asks for the normal info and i give it what it asks. At the end it says i have an error. The error reads: iPhone/iPad touch: application executable is missing a required architecture. At least one of the following architecture(s) must be present: armv6 I googled it and i have seen the link GoNorthWest posted in another thread <a href="https://www.buzztouch.com/files/howtos/Common_Apple_Errors_and_Solutions_v1.0.pdf"" target="_blank" rel="nofollow">https://www.buzztouch.com/files/howtos/Common_Apple_Errors_and_Solutions_v1.0.pdf"</a>; target="_blank" <a href="http://stackoverflow.com/questions/4198676/warning-iphone-apps-should-include-anarmv6-architecture-even-with-build-config" target="_blank" rel="nofollow">http://stackoverflow.com/questions/4198676/warning-iphone-apps-should-include-anarmv6-architecture-even-with-build-config</a> but when i try that the errors list grows. Im not sure how i am supposed to get out of this one. I tried added the armv6 manually as the link says but i still get errors. Its the last thing i gotta do to submit but these dumb errors are increasing the rate of grey hairs outbreaks! How do we insert files such as screen shots on there threads?
 
Calypso Kid
Aspiring developer
Profile
Posts: 780
Reg: Mar 09, 2012
Upstate New Yor...
18,200
like
03/03/13 05:48 AM (12 years ago)
What is your minimum operating system target?
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
03/03/13 06:13 AM (12 years ago)
On xcode you select your project (blue icon) and in the building settings, in the architectures, delete what you have there and add armv7 and armv6. Thas should solve it. Miguel
 
KRima
Apple Fan
Profile
Posts: 154
Reg: Jan 27, 2013
Sydney
1,940
like
03/03/13 09:45 PM (12 years ago)
@ Calyso where do i find that? @Madrod. I tried that but still not working. I click on the blue icon and change it there. Am i supposed to double click the area that says armv7, armv7s and when i click other it has $(ARCHS_STANDARD_32_BIT) and i erase that and type in armv6 and then hit the add button and add armv7 When i click out of it is says valid architecture: armv6 armv7. I wish there was a way i can show my print screens on here to show you what i have done.
 
armacfan
Apple Fan
Profile
Posts: 157
Reg: Sep 05, 2011
location unknow...
3,520
like
03/04/13 01:47 AM (12 years ago)
I think when you add your architecture type it in like this armv6 armv7 Both if them on the same line at the same time just separated by a space, it should work like that it works for me.
 
KRima
Apple Fan
Profile
Posts: 154
Reg: Jan 27, 2013
Sydney
1,940
like
03/04/13 02:54 AM (12 years ago)
Should i change the ios target to 4.3? or leave it at 4.6
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
03/04/13 02:59 AM (12 years ago)
Do you have the same error if you compile for IOS 5.0?
 
KRima
Apple Fan
Profile
Posts: 154
Reg: Jan 27, 2013
Sydney
1,940
like
03/04/13 03:06 AM (12 years ago)
i just tried 5 and it doesnt make a difference. There 2 places where the architecture can be changed. The first is in under projects (blue icon) and the second is under targets with the orangie icon. where am i supposed to be making these changes. The valid architects section shows armv7 and armv7s. Do i change them in the blue icon under architects AND the area that says valid architects? and so i leave the targets area alone and not add the armv6 armv7?
 
armacfan
Apple Fan
Profile
Posts: 157
Reg: Sep 05, 2011
location unknow...
3,520
like
03/04/13 04:48 AM (12 years ago)
You are supposed to change them in build settings under your targets , one thing , what is your deployment target ( lowest ios platform)?
 
armacfan
Apple Fan
Profile
Posts: 157
Reg: Sep 05, 2011
location unknow...
3,520
like
03/04/13 04:53 AM (12 years ago)
Make sure as well that your deployment target is the same in two places 1. Under the blue project(blue icon) in info 2. Under the targets (orange) in summary If you are using 4.3 make sure that both of them are 4.3 and then you would only require armv7 not armv6 I'm pretty sure that is where the mistake is
 
KRima
Apple Fan
Profile
Posts: 154
Reg: Jan 27, 2013
Sydney
1,940
like
03/05/13 01:18 AM (12 years ago)
@armacfan. It finally worked and was submitted for review. Thank you so much for all your help. Without your words it couldn't have submitted it. The problem was the targets were different. Thank again.
 
armacfan
Apple Fan
Profile
Posts: 157
Reg: Sep 05, 2011
location unknow...
3,520
like
03/05/13 05:20 AM (12 years ago)
Sure , you're welcome, that is what this forum is for ..it is something to watch out for, many people wouldn't notice the targets "trick"
 
KRima
Apple Fan
Profile
Posts: 154
Reg: Jan 27, 2013
Sydney
1,940
like
03/05/13 02:08 PM (12 years ago)
Yeah i didn't realise there was 2 spots where this can be changed. The more difficulty i go through now in uploading my apps the easier it will become for future apps. Im really excited that it has been uploaded. How long does it usually take for an approval. I read somewhere between 3-14 days? Would it really take 14 days?
 
armacfan
Apple Fan
Profile
Posts: 157
Reg: Sep 05, 2011
location unknow...
3,520
like
03/06/13 08:28 AM (12 years ago)
Most of the time, it takes anywhere between 5-7 or 8 days, so far for my apps it had been that way..
 
KRima
Apple Fan
Profile
Posts: 154
Reg: Jan 27, 2013
Sydney
1,940
like
03/07/13 02:28 AM (12 years ago)
OK thanks for the advice. I hope i dont get rejected for whatever reason. What do i have to do now if i want to work on updating the app? I mean with design and live mode etc? Im not exactly sure what i need to do with it.
 

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.