I am using xCode 4.2 and trying to deploy my application. I am failing the validation with the following error message:
application executable is missing a required architecture armv6
The value for my Architectures is set to Standard (armv7). This is the ONLY option in the dropdownlist. Base SDK: iOS 5.0 (This is the only option) Deployment SDK: 3.2 Build Active Architecture Only: NO Valid Architectures: armv6 armv7 armv7f armv7k
Does anyone please know the solution to this problem?
In the Xcode 4.2 GM this is still a problem but you can resolve it by doing the following.
Switch to the files/folders view in xcode project
Select your Project ( the blue icon)
Select your Application under Targets in the middle of the screen.
Go To build settings
Find Architectures > Distribution
Expand this section so you can see both Debug and Release
Change "Standard (armv7) - $(ARCH_STANDARD_32_BIT)" to "Other..."
Replace, "Standard (armv7) - $(ARCH_STANDARD_32_BIT)" with "armv6", then add a new item "armv7"
Remember you may need to do this for all included projects aka frameworks such as TAPKU
For Xcode 4.5, set the deployment target to at least iOS 4.3 and that will resolve it. armv6 and earlier versions of iOS are almost extinct.
Easy way to do it:
1) Left-click project icon (blue icon, under "Run" button).
2) Next to the project icon (to the right of it), left-click on project name under "PROJECT" (White background).
3) Select tab "Build Settings" and look for submenu "Architectures" (First one). Left-click on "Standard (armv7) $(ARCH_STANDARD_32_BIT)" and select "Other..."
4) Click on the "-" icon to remove original value ("$(ARCH_STANDARD_32_BIT)"). Click the "+" icon and write "armv6" (without double-quotes). Click the "+" icon again and add "armv7" (also without double-quotes). Click "Done".
5) Make sure that "Build Active Architecture Only" is set to "No" (it should be)
6) Next to the project icon (to the right of it), left-click on project name under "TARGETS" and repeat steps 3, 4 and 5.
7) Press cmd + I on your keyboard (or Product -> Profile on Xcode menu) and check to see if everything is ok.
My environment was Xcode 4.5.1. Changing two things solved this issue for me.
I stumble upon this question when looking for a solution to the warning:
warning: iPad: application executable is missing a required architecture.
At least one of the following architecture(s) must be present: armv7 (-19033)
Unable to validate your application. - (null)
Other answers did not solve my problem, then I realized I changed a value of CFBundleExecutable
. When I returned to the old value everything went smoothly again.
I'm not sure what is a direct cause of that warning but at least I can distribute Ad Hoc builds again.
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