问题
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