iOS 应用:缺少 64 位支持 [英] iOS app: Missing 64-bit support
问题描述
我关于 stackoverflow 和 iOS 开发新手的第一个问题,边走边想.我已经检查过类似的问题,请参阅底部的链接.
任务:我正在继续为客户开展一个项目,以使 iOS 应用更新兼容 32 位和 64 位支持.
存档验证给了我:
<块引用>iTunes Store 操作失败.
缺少 64 位支持.从 2015 年 2 月 1 日起,上传到 App Store 的新 iOS 应用程序必须包含 64 位支持,并使用 iOS 8 SDK 构建,包含在 Xcode 6 或更高版本中.要在您的项目中启用 64 位,我们建议使用标准架构"的默认 Xcode 构建设置来构建具有 32 位和 64 位的单个二进制文件...
问题:我似乎无法让我的项目/构建同时支持 32 位和 64 位二进制文件(更不用说 64 位本身了).我遵循 Apple 的(以及其他 stackoverflow 答案)的建议进行了以下设置:
<块引用>OS X 10.9.5
XCode 6.1
架构:标准架构(armv7,arm64) - $(ARCH_STANDARD)
仅构建活动架构:否(尝试是"仅调试,是"所有)
有效架构:armv7 armv7s arm64
iOS 部署目标:5.1.1(也试过 6.0)
尝试的方法(也尝试删除 DerivedData):
<块引用>a) 清理 -> 构建 -> 存档 -> 验证
b) 连接设备 -> 清理 -> 构建 -> 断开设备 -> 存档 -> 验证
当我签入二进制文件时(遵循
My first question on stackoverflow and new to iOS development, figuring things as I go. I have checked similar questions already, see links at bottom.
Task: I am continuing work on a project for a client to make an iOS app update both 32-bit and 64-bit support compatible.
Archive validation gives me:
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-...
Problem: I can't seem to get my project/build to support both 32-bit and 64-bit binaries (let alone 64-bit by itself). I have followed Apple's (and other stackoverflow answers') suggestions with the following settings:
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)
Methods attempted (tried deleting DerivedData as well):
a) clean -> build -> archive -> validate
b) connect device -> clean -> build -> disconnect device -> archive -> validate
When I check in the binary (following stackoverflow: ios 64-bit compatibility) I only get armv7 in the dwarfdump (which if I understand correctly is only 32-bit but should also have arm64 with the above settings).
File: MyApp.app/MyApp (armv7)
I have attempted many related solutions related to the problem from other other sources(lost track of other references) but no success.
Any help would be greatly appreciated, thanks!
References:
- iOS 64 bit compatibility
- minimum os x and xcode requirements for ios 8.1 development
- iOS app submission : missing 64-bit support
You can manually add 64- bit (arm64) support like this:
这篇关于iOS 应用:缺少 64 位支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!