iOS: limit app to 64-bit devices only

前端 未结 1 605
深忆病人
深忆病人 2020-12-25 13:24

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

相关标签:
1条回答
  • 2020-12-25 13:44

    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.

    0 讨论(0)
提交回复
热议问题