部署目标低于 4.3 的 iPhone 应用程序应包含 armv6 架构 [英] iPhone apps with a deployment target lower than 4.3 should include an armv6 architecture

查看:21
本文介绍了部署目标低于 4.3 的 iPhone 应用程序应包含 armv6 架构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个问题 :-( 当我构建我的应用程序发布 XCode 显示警告说:

部署目标低于 4.3 的 iPhone 应用程序应包含 armv6 架构(当前的 IPHONEOS_DEPLOYMENT_TARGET = "3.0", ARCHS = "armv7").

但是如何在构建设置中设置 armv6 ?我正在使用 XCode 4.2,这是我的构建设置:

谢谢!

解决方案

我没有用过这个版本,但是目前的 Xcode 不支持对 iOS 2.0 的签名,所以当 iOS 5 出来时,3.0 可能也会有不支持的问题

这是来自 http://www.weston-fl.com/blog/?p=3050(这个网站帮我解决了很多错误,所以向 Mike D 表示支持.)

<块引用>

  1. 在 Xcode 中导航到 Build Settings 并找到 Architectures 组(它在顶部,很难错过).将 armv6 添加到 Architectures 行.它应该包含 armv6、armv7 或 Standard (armv6 armv7)
  2. 将 Base SDK 设置为最新的 iOS(当前设置为 iOS ...)
  3. 取消选中仅构建活动架构或将其设置为否.
  4. 有效架构必须显示 armv6 armv7当您的项目使用您自己的依赖库时,请使用相同(正确)的配置构建它们.

I have a problem :-( When I build my application for release XCode shows a warning saying:

iPhone apps with a deployment target lower than 4.3 should include an armv6 architecture (current IPHONEOS_DEPLOYMENT_TARGET = "3.0", ARCHS = "armv7").

But how can I set armv6 in my build settings? I'm using XCode 4.2 and here's my build settings:

Thanks!

解决方案

I haven't used the version, but the current Xcode won't support signing for iOS 2.0 , so when iOS 5 comes out, 3.0 might have the same issue of not being supported

This is from http://www.weston-fl.com/blog/?p=3050 (This site has helped me resolve so many errors, so props to Mike D.)

  1. In Xcode navigate to Build Settings and find Architectures group (it’s on the top, so hard to miss). Add armv6 to Architectures line. It should contain armv6, armv7 or Standard (armv6 armv7)
  2. Set Base SDK to Latest iOS (currently set to iOS …)
  3. Uncheck Build Active Architecture Only or set it to NO.
  4. Valid Architectures must show armv6 armv7 When your project uses your own dependent libraries, build them with the same (correct) configuration.

这篇关于部署目标低于 4.3 的 iPhone 应用程序应包含 armv6 架构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆