iOS App Requires arm64?

南楼画角 提交于 2019-12-22 09:49:19

问题


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.

Things I have checked:

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

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

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!


回答1:


Note - this answer has been refined based on the comments to my original answer.

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

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

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!



来源:https://stackoverflow.com/questions/36525920/ios-app-requires-arm64

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!