恢复Xcode以接受armv6架构的方法? [英] Way to restore Xcode to accept armv6 architecture?

查看:127
本文介绍了恢复Xcode以接受armv6架构的方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个第三方.a库,该库显然仅为了armv6兼容性而编译,在这两个库中,两个新的Xcode(3.2.6和4)现在都需要一个单独的armv7 slice才能在设备上运行.链接错误是:文件是通用文件,但不包含用于体系结构armv7的armn7切片.

I have a 3rd party .a library, which is apparently compiled for only armv6 compatibility, where both new Xcodes (3.2.6 and 4), both now require a separate armv7 slice to run on the device. The link error is: file is universal but does not contain a(n) armv7 slice for architecture armv7.

在我等待库供应商准备armv7版本时,有人知道如何使这两个新Xcode像3.2.5那样操作并接受现有库吗?

Anyone know how to make either of the two new Xcode operate as 3.2.5 did and accept the existing library while I'm waiting for the library vendor to cook up an armv7 version?

推荐答案

在项目设置"中,为体系结构选择标准"(而非优化").这应该允许您为Active Architecture选择"armv6".这意味着它一旦在应用商店中,也应该可以在较旧的设备上运行(除非有其他任何弃用的规定).

In Project Settings, select "Standard" for the architecture (not "Optimized"). This should allow you to select "armv6" for the Active Architecture. This means it should also work on older devices (barring any other deprecations) once it's on the app store.

这篇关于恢复Xcode以接受armv6架构的方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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