Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
03/19/12 08:56 AM (13 years ago)

Build For Archive in Xcode 4.2

Hi I am trying to create a .ipa file for my colleagues to test the app I'm building, but I am seriously struggling to 'build for archive' and keep getting the following error messages: warning: iPhone apps should include an armv6 architecture for target lower than 4.3 Command/usr/bin/Codesign failed with exit code 1 I have been to different forums and checked over the internet and I just can't seem to get it to work on the advice of others. Can anyone help me, becoming very frustrating. Dragon
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
03/19/12 09:37 AM (13 years ago)
This might work: Go to Target > Build settings > Architectures > Distribution > Other Double click the highlighted row named '$(ARCHS_STANDARD_32_BIT)' in the popover that appears, and replace it by typing 'armv6'. Then add a new row with the plus button in the bottom left of the popover, and type 'armv7', then click Done:
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
03/19/12 10:10 AM (13 years ago)
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
03/20/12 05:10 AM (13 years ago)
Thanks Alex, I did manage to get it going, but much appreciated for your help. Dragon
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
03/20/12 05:19 AM (13 years ago)
My pleasure!
 
BuzzMkt
Apple Fan
Profile
Posts: 131
Reg: Apr 10, 2011
Italy
2,710
like
04/11/12 07:18 AM (13 years ago)
I tried to fix with your suggestions but it doesn't work! have you any other tips? My error is: Command/usr/bin/Codesign failed with exit code 1
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
04/11/12 09:33 AM (13 years ago)
 

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.