简体   繁体   中英

iOS: limit app to 64-bit devices only

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM