xcode 无法为 iOS App Store 验证应用程序,缺少 armv6 架构

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/12567539/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 01:36:37  来源:igfitidea点击:

Unable to validate application for iOS App Store, armv6 architecture missing

iosxcodeapp-storearmv6deployment-target

提问by leo

While submitting my iOS App to the App Store, validation fails with the message:

将我的 iOS 应用程序提交到 App Store 时,验证失败并显示以下消息:

iPhone/iPod Touch: application executable is missing a required architecture.
At least one of the following architectures(s) must be present: armv6

I'm using Xcode 4.5 (4G182), currently the latest. Some of my build settings:

我正在使用 Xcode 4.5 (4G182),目前是最新的。我的一些构建设置:

  • Architectures: armv6 armv7
  • Base SDK: Latest iOS (iOS 6.0)
  • Valid Architectures: armv7 armv7s
  • iOS Deployment Target: 4.0
  • 架构:armv6 armv7
  • 基础 SDK:最新的 iOS (iOS 6.0)
  • 有效架构:armv7 armv7s
  • iOS 部署目标:4.0

What's going wrong here?

这里出了什么问题?

回答by leo

Set the iOS Deployment Targetto iOS 4.3.

iOS 部署目标设置为iOS 4.3

回答by lukaswelte

If you're using Xcode 4.5 there is no armv6 any longer Then you need to use an earlier Xcode version to still support iOS 4.3 (various ways doing this are listed here http://blog.chpwn.com/post/31824877081)

如果您使用的是 Xcode 4.5,则不再有 armv6 那么您需要使用较早的 Xcode 版本来仍然支持 iOS 4.3(此处列出了各种执行此操作的方法http://blog.chpwn.com/post/31824877081

If this is not necessary you could cut out armv6 and just support iOS 5+

如果这不是必要的,你可以去掉 armv6 并只支持 iOS 5+

Cutting out armv6 goes by -> Build Settings->Architectures->Select Standard

删除 armv6 过去 -> Build Settings->Architectures->Select Standard