问题
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


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)
回答1:
Solved this problem by setting Architectures to armv7 only and changing Deployment Target to 4.3 (it was 4.0 before).
回答2:
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!)
回答3:
Please check the following settings in your apps :
In the Info.plist. Check for "Required device capabilities" info, and look the data inside. You should have 2 items (NSArray) : armv6 and armv7
来源:https://stackoverflow.com/questions/10152382/at-least-one-of-the-following-architectures-must-be-present-armv7-19033-un