必须至少存在以下架构之一:armv7(-19033)无法验证您的应用程序。 - (空值)

时间:2012-04-14 09:06:43

标签: objective-c ios ios5 app-store

我正在开发一个仅限Ipad的应用程序,但是当我尝试在苹果商店提交时,我在“应用程序失败的代码签名验证由于无效的权利”错误中遇到了很多问题,而且我在下面提到的一些问题我也提到了。我正在使用Xcode 4.3.2和IOS 5.1进行开发,而Target是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)

为此,我确实像其他人一样提到

ARCHS = armv7 armv6

我添加了架构armv7,但它在这里不起作用是构建设置的链接我没有Entitlement文件,因为人们告诉我但是如果你可以帮助我

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)

这是一个很糟糕的错误,我希望你的家伙更进一步,谢谢

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)

3 个答案:

答案 0 :(得分:4)

通过仅将架构设置为 armv7 并将部署目标更改为 4.3 (它是4.0)来解决此问题前)。

答案 1 :(得分:1)

我遇到了这个问题并通过将仅构建主动架构设置为来修复此问题(在开发过程中将其设置为实际上是一个主要的加速是的!

答案 2 :(得分:-1)

请检查您的应用中的以下设置:

在Info.plist中。检查“所需的设备功能”信息,并查看其中的数据。你应该有2件物品(NSArray):armv6和armv7