问题描述
我正在开发一个仅限 Ipad 的应用程序,但是当我尝试在 Apple Store 上提交时,我在由于无效的权利而导致应用程序验证失败"错误中遇到很多问题,还有一些我在下面所做的事情中提到的问题.我使用 Xcode 4.3.2 和 IOS 5.1 进行开发,目标是 IOS 5.0
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
我添加了架构 armv7 但它在这里不起作用是构建设置的链接我没有人们告诉我的权利文件,但如果你能帮助我
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)
推荐答案
通过将 Architectures 设置为 armv7 only 并更改 Deployment Target 解决了这个问题> 到 4.3(之前是 4.0).
Solved this problem by setting Architectures to armv7 only and changing Deployment Target to 4.3 (it was 4.0 before).
这篇关于必须至少存在以下架构之一: armv7 (-19033) 无法验证您的应用程序.- (空值)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!