【问题标题】:At least one of the following architecture(s) must be present: armv7 (-19033) Unable to validate your application. - (null)必须至少存在以下架构之一: armv7 (-19033) 无法验证您的应用程序。 - (空值)
【发布时间】:2012-04-14 09:06:43
【问题描述】:

我正在开发一个仅限 Ipad 的应用程序,但是当我尝试在 Apple Store 上提交时,“应用程序由于无效的权利而导致协同设计验证失败”错误中遇到了很多问题,还有一些我在下面提到的问题.我正在使用 Xcode 4.3.2 和 IOS 5.1 进行开发,目标是 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,但它在这里不起作用是构建设置的链接我没有人们告诉我的权利文件,但如果你能帮助我

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)

【问题讨论】:

标签: objective-c ios ios5 app-store


【解决方案1】:

通过仅将 Architectures 设置为 armv7 并将 Deployment Target 更改为 4.3(它是 4.0之前)。

【讨论】:

    【解决方案2】:

    我遇到了这个问题,并通过将 Build Active Architecture Only 设置为 No 来解决它(实际上,将其设置为 在开发过程中是一个主要的加速是的!)

    【讨论】:

      【解决方案3】:

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

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

      【讨论】:

      • 只有 iPad 的应用程序不需要 ARMV6 代码 - 没有使用 arm6 平台的 iPad。
      • 我已经添加了 armv7。我应该添加 armv6 吗?
      • 没有 armv7 应该足够了,抱歉我没看到它是为 iPad 设计的 ^_^
      • 我还能做什么请帮帮我
      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-09-11
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多