iOS 应用程序需要 arm64? [英] iOS App Requires arm64?

查看:41
本文介绍了iOS 应用程序需要 arm64?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将我的应用程序上传到 Xcode,它说构建需要 arm64.这不包括 iPhone 5/5c 及更低版本使用该应用程序.但是,我希望 iPhone 5/5c 能够使用该应用程序,并且必须错误地要求使用 arm64.我认为它必须在 info.plist 中,但不知道.

I uploaded my app to Xcode where it says the build requires arm64. This excludes iPhones 5/5c and lower from using the app. However, I want iPhone 5/5c to be able to use the app and must have required arm64 by mistake. I think it must be something in the info.plist but have no idea.

我检查过的东西:

(1) info.plist 没有 RequiredDeviceCapabilities 行.

(1) The info.plist does not have a RequiredDeviceCapabilities line.

(2) 在 Xcode 的 Build Settings 下,armv7、armv7s 和 arm64 都是有效的架构.

(2) Under Build Settings in Xcode, armv7, armv7s, and arm64 are all valid architectures.

您能提供的任何帮助都令人难以置信.我附上了我的 info.plist 的屏幕截图,如果您认为它可能是其他内容并需要更多信息,请发表评论并告诉我!谢谢!

Any help you can offer would be incredible. I have attached a screenshot of my info.plist and if you think it may be something else and need more information please comment and let me know! Thanks!

推荐答案

注意 - 此答案已根据对我原始答案的评论进行了改进.

上传到 App Store 的应用需要 64 位支持,通常接受的方法是构建具有多 CPU 支持的应用.

Apps uploaded to the App Store require 64-bit support and the normally accepted method is to build the app with multiple-CPU support.

您希望将 Debug 配置的构建活动架构设置为 YES,将 Release 配置设置为 NO.

You want build active architectures set to YES for the Debug configuration and NO for the Release configuration.

这不会改变 arm64 要求,因为这不是 Xcode 要求,而是 App Store 要求.实际上,默认的 Xcode 项目模板应该没有任何变化.

This does not change the arm64 requirement, as that is not an Xcode requirement, but rather an App Store requirement. In effect there should be nothing to change from the default Xcode project template.

因此,只需转到构建设置>仅构建活动架构"并将其设置为否"

So, simply go to build settings > "build active architecture only" and set it to "NO"

希望这对某人有所帮助!

Hope this helps someone!

这篇关于iOS 应用程序需要 arm64?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆