Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

At least one of the following architecture(s) must be present: armv7 (-19033) Unable to validate your application. - (null)

I am developing an Ipad only application but i am getting much problem in "Application failed codesign verification due to invalid entitlements" error when i trying to submit on apple store and also some issue which i am mentioning with what i have done below. I am using Xcode 4.3.2 and and IOS 5.1 for development and Target is IOS 5.0

1. iPad: application executable is missing a required architecture.  At least one of the following architecture(s) must be present: armv7 (-19033)

for this i did like other people mention

ARCHS = armv7 armv6

i add Architecture armv7 but its not working here is the link of build setting I have no Entitlement file as people told me but if you can help me

enter image description here

enter image description here

2. Application failed codesign verification.  The signature was invalid, contains disallowed entitlements, or it was not signed with an iPhone Distribution Certificate. (-19011)

3. Unable to extract entitlements from application: (null) (-19045)

This is the comeplete error, ihope you guy take me futher, thanks

Validate /Users/bourne/Library/Developer/Xcode/DerivedData/TurfNutritionTool_ver_5.1-azcqbuzeebaybzdjeksuhyuvyrmw/Build/Products/Release-iphoneos/TurfNutritionTool_ver_5.1.app
    cd /Development/TurfNutritionTool_IOS_5.1
    setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    setenv PRODUCT_TYPE com.apple.product-type.application
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/Validation /Users/bourne/Library/Developer/Xcode/DerivedData/TurfNutritionTool_ver_5.1-azcqbuzeebaybzdjeksuhyuvyrmw/Build/Products/Release-iphoneos/TurfNutritionTool_ver_5.1.app

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)

warning: Application failed codesign verification.  The signature was invalid, contains disallowed entitlements, or it was not signed with an iPhone Distribution Certificate. (-19011)
Executable=/Users/bourne/Library/Developer/Xcode/DerivedData/TurfNutritionTool_ver_5.1-azcqbuzeebaybzdjeksuhyuvyrmw/Build/Products/Release-iphoneos/TurfNutritionTool_ver_5.1.app/Info.plist
codesign_wrapper-0.7.10: using Apple CA for profile evaluation
AssertMacros: exec,  file: codesign.c, line: 170
AssertMacros: binary,  file: codesign.c, line: 235
AssertMacros: code_signatures,  file: codesign_wrapper.c, line: 945
 - (null)

warning: Unable to extract entitlements from application: (null) (-19045)
Unable to validate your application. - (null)
like image 647
ash Jo Avatar asked Apr 14 '12 09:04

ash Jo


2 Answers

Solved this problem by setting Architectures to armv7 only and changing Deployment Target to 4.3 (it was 4.0 before).

like image 168
Laurynas Avatar answered Nov 11 '22 06:11

Laurynas


I had this problem and fixed it by setting Build Active Architecture Only to No (it is actually a major speed up during development to have it set to Yes!)

like image 36
bobobobo Avatar answered Nov 11 '22 06:11

bobobobo