iOS: limit app to 64-bit devices only

半世苍凉 提交于 2019-11-30 11:57:32

问题


According to the latest Apple WWDC, starting from ios 9 there should be a way to limit installing app only on 64 bit devices.

I searched in XCode for this option but could not find anything. Is this already possible and if yes, how can i enable it?


回答1:


In Xcode, set the following values:

Build settings > Architectures

  • Set to arm64 only. (click Other -> + and than enter arm64)

Build settings > Valid architectures

  • Set to arm64 only.

Info.plist

  • Set UIRequiredDeviceCapabilities to arm64 only.

The app will then not be able to run on a device that does not support 64-bit code.



来源:https://stackoverflow.com/questions/33646553/ios-limit-app-to-64-bit-devices-only

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