简体   繁体   English

iOS:Xcode:架构:armv7与armv6

[英]iOS: Xcode: Architecture: armv7 vs armv6

I have a project that was created two years ago when iOS 2.0 was present. 我有一个两年前iOS 2.0出现时创建的项目。 The app it self has been getting successful updates along the way and doing fine. 它自己的应用程序一直在成功进行更新,并且运行良好。 So far in Xcode, in Architecture settings, I had 'armv7 arm6' and my deployment was iOS 3.0. 到目前为止,在Xcode中,在“体系结构”设置中,我拥有“ armv7 arm6”,并且我的部署是iOS 3.0。

Recently, I intergrated Facebook (ShareKit) in to the app, and it requires iOS 4.0 or higher and just 'arm7'. 最近,我将Facebook(ShareKit)集成到该应用程序中,它需要iOS 4.0或更高版本,并且仅需“ arm7”。 When I change the settings to those and create the binary, Application Loader rejects the upload with following message: 当我将设置更改为那些设置并创建二进制文件时,Application Loader拒绝上传并显示以下消息:

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

If I change it back to 'armv7 arm6', then the app won't run because of the Facebook (ShareKit) requirements. 如果我将其更改回'armv7 arm6',则由于Facebook(ShareKit)的要求,该应用程序将无法运行。

Thanks in advance. 提前致谢。

ShareKit 2.0 can currently run on both architectures. ShareKit 2.0当前可以在两种体系结构上运行。 (armv6 support has been added last week) (armv6支持已在上周添加)

However recommended deployment target is 4.0, though using some tweaks you might get it compile with target set to iOS 3.0 or 3.1, one of these tweaks is described here 但是建议的部署目标是4.0,尽管您可以使用一些调整将目标设置为iOS 3.0或3.1进行编译,但此处将介绍这些调整之一

If you decide to use ShareKit 2.0 , make sure you follow install instructions carefully. 如果您决定使用ShareKit 2.0 ,请确保认真遵循安装说明 Since it has undergone a lot of changes recently, best bet might be to readd it from scratch. 由于最近它发生了很多变化,所以最好的选择是从头开始阅读它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM