我的第一个问题是关于 stackoverflow 和 iOS 开发的新手,边走边想。我已经检查过类似的问题,请参阅底部的链接。
任务: 我正在继续为客户开展一个项目,使 iOS 应用更新兼容 32 位和 64 位支持。
存档验证给我:
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-...
问题: 我似乎无法让我的项目/构建同时支持 32 位和 64 位二进制文件(更不用说 64 位本身了)。我已经按照 Apple(和其他 stackoverflow 答案)的建议进行了以下设置:
OS X 10.9.5
XCode 6.1
Architectures: Standard architectures(armv7,arm64) - $(ARCH_STANDARD)
Build Active Architecture Only: No (tried 'yes' to debug only and 'yes' to all)
Valid Architectures: armv7 armv7s arm64
iOS Deployment Target: 5.1.1 (also tried 6.0)
尝试的方法(也尝试删除 DerivedData):
a) clean -> build -> archive -> validate
b) connect device -> clean -> build -> disconnect device -> archive -> validate
当我 checkin 二进制文件时(在 stackoverflow: ios 64-bit compatibility 之后)我只在 dwarfdump 中得到 armv7(如果我理解正确的话它只是 32 位但应该也有具有上述设置的 arm64) .
File: MyApp.app/MyApp (armv7)
我已经尝试过许多与其他来源的问题相关的解决方案(其他引用文献丢失)但没有成功。
非常感谢任何帮助,谢谢!
引用资料:
最佳答案
关于iOS 应用程序 : Missing 64-bit support,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29655116/