Xcode 缺少启用标准架构的 64 位支持

Xcode Missing 64-bit support with standard architectures enabled

我已经查看了几个类似的问题,但仍然无法正常工作。当我存档我的应​​用程序并将其上传到应用程序商店时,我收到错误消息:

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-...

按照其他 questions/answers 中的建议,我已将我的应用程序设置为推荐设置,设置标准架构和有效架构以包含 arm64(见下文)

这没有用,我在尝试上传应用程序时收到了同样的错误消息。在执行此操作时,我没有任何 iOS 设备连接到我的机器。我还读到一些第 3 方库可能会导致这种情况,但我相信我使用的唯一第 3 方库是 Google Analytics 和 Google 移动广告,我最近更新了这两个库(我什至尝试删除 Google Analytics 但这也不起作用)。请参阅链接库部分:

做完所有这些之后,我不知道为什么仍然出现错误消息。我还尝试删除派生数据。 类 之一中是否有其他设置可能会阻止该应用程序支持 64 位?如何让此应用支持 64 位?

Questions/answers 我之前试过:

iOS app: Missing 64-bit support

iOS: Standard architectures enabled but iTunes not recognising 64 bit support

iOS app submission : missing 64-bit support

您可以像这样手动添加 64 位 (arm64) 支持:

要启用 64 位支持:

您需要在 "Valid Architectures" 下添加 "arm64" 并将 "Architecture" 设置为 "Standard Architecture",如所附屏幕截图所示。

还要确保将 "Build Active Architectures Only" 设为 NO。