框架(RestKit)与armv7s不兼容
当我尝试将我的项目归档到iPhone 5(armv7s)时,它会出现一个错误,指出RestKit与armv7s架构不兼容。
When I try to archive my project for the iPhone 5 (armv7s), it comes with an error which states that RestKit is not compatible with the armv7s architecture.
在这个项目中,我使用的是RestKit的旧版本,版本0.9。默认情况下,此版本无法使用armv7s。有没有办法设置RestKit项目(版本0.9)以支持armv7s。
In this project I'm using an old version from RestKit, version 0.9. This version is by default not capable to work with armv7s. Is there a way to setup the RestKit project (version 0.9) to support armv7s.
我试图将armv7添加到RestKit项目的有效架构中,并将架构更改为支持armv6和armv7。不幸的是,这没有成功。
I've tried to add armv7s to the valid architectures for the RestKit project and changed the architectures to support armv6 and armv7. Unfortunately that didn't work out.
当然,我可以使用最新版本的RestKit设置项目。只有这会花费很多时间,因为核心已经更新了很多次。
Of course I can setup the project with the latest version of RestKit. Only this will take a lot of time, since the core has been updated a lot of times.
另一个问题,是应用程序(为armv6和armv7构建)是目前在商店,在iPhone 5(armv7s)上工作?
Another question, would the app (build for armv6 and armv7) which is currently in the store, work on the iPhone 5 (armv7s)?
如果您不愿意更新到最新版本(兼容)版本,你会更好,留下有效的架构6和7,iPhone 5上的处理器可以与旧架构向后兼容。唯一的缺点是你不会对iPhone 5的armv7s处理器进行任何特定的优化。
If you're unwilling to update to the latest (compatable) version, you would be better off, leaving the valid architectures as 6&7, the processor on the iPhone 5 is backwards compatable with the older architectures. The only drawback is you won't get any specific optimisations for the iPhone 5' armv7s processor.