Xcode 缺少 64 位支持并启用标准架构
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/32514787/
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
Xcode Missing 64-bit support with standard architectures enabled
提问by gb_kf
I have looked through several similar questions and am still unable to get it to work. When I archive and upload my app to the app store, I get the error message :
我已经浏览了几个类似的问题,但仍然无法让它发挥作用。当我存档并将我的应用程序上传到应用程序商店时,我收到错误消息:
iTunes Store operation failed. Missing 64-bit support. Starting February 1, 2015, new iOS apps uploaded to the App Store must include 64-bit support and be built with the iOS 8 SDK, included in Xcode 6 or later. To enable 64-bit in your project, we recommend using the default Xcode build setting of "Standard architectures" to build a single binary with both 32-bit and 64-...
iTunes Store 操作失败。缺少 64 位支持。从 2015 年 2 月 1 日起,上传到 App Store 的新 iOS 应用程序必须包含 64 位支持,并使用 iOS 8 SDK 构建,包含在 Xcode 6 或更高版本中。要在您的项目中启用 64 位,我们建议使用“标准架构”的默认 Xcode 构建设置来构建具有 32 位和 64 位的单个二进制文件...
As suggested in other questions/answers, I have brought my app up to recommended settings, set Standard Architectures and Valid Architectures to include arm64 (See below)
正如其他问题/答案中所建议的,我已将我的应用程序设置为推荐设置,将标准架构和有效架构设置为包括 arm64(见下文)
This did not work, I received the same error message when I tried to upload the app. I don't have any iOS devices connected to my machine while doing this. I also read that some 3rd party libraries may cause this, but I believe the only 3rd party libraries I use are Google Analytics and Google Mobile Ads, both of which I updated recently (I even tried removing Google Analytics but that did not work either). See the linked libraries section:
这不起作用,当我尝试上传应用程序时收到相同的错误消息。执行此操作时,我没有任何 iOS 设备连接到我的机器。我还读到一些 3rd 方库可能会导致这种情况,但我相信我使用的唯一 3rd 方库是 Google Analytics 和 Google Mobile Ads,我最近更新了这两个库(我什至尝试删除 Google Analytics,但也没有用) . 请参阅链接库部分:
After doing all of this, I am at a loss as to why the error message still comes up. I also tried deleting the Derived Data. Is there some other setting in one of the classes that could block the app from supporting 64-bit? How do I get this app to support 64-bit?
完成所有这些之后,我不知道为什么仍然出现错误消息。我也尝试删除派生数据。其中一个类中是否有其他设置会阻止应用程序支持 64 位?如何让这个应用程序支持 64 位?
Questions/answers I tried previously:
我之前尝试过的问题/答案:
iOS app: Missing 64-bit support
iOS: Standard architectures enabled but iTunes not recognising 64 bit support
iOS:启用标准架构但 iTunes 无法识别 64 位支持
iOS app submission : missing 64-bit support
Why the Missing 64-bit support happened when upload to the iTunes connect?