Hy,
I have uploaded the app to App Store with both architecture. Please see the attached image for Build Settings of TARGETS in Architectures. And luckily it get Ready for sale, but iPhone 5s giving alert.
The alert is: "APP" may slow down your iPhone. The developer of this app needs to update it to improve its compatibility.
I googled but do not found solution to get rid off this alert. On other hand i also need to support iPhone5 and prior (32 bit architectures). Please help.
Check if you have 'Architecture Priority' LSArchitecturePriority in your Info.plist. I had Intel (32-bit) for some unknown reason. Deleting this key solved the issue for me.
The problem is that Build Active Architecture Only, as shown in your screen shot, is set to Yes. This means that you are not building an app that contains both 32-bit and 64-bit architectures; you are only building for one architecture. And from what you say, that architecture must have been the 32-bit architecture.
Problem :- This issue is because you are supporting 32bit architecture
Solution :- armv7 is 32 bit processor, u might have to remove that from architectures list
Here is the list of processors and their architectures
iPhone 5S has 64bit processor, so removing armv7 will not have any impact for iPhone 5S you can find the list of devices and their configuration in this link
What fixed this for me was going into TARGET > 'Build Settings' and then under 'Valid Architectures' I added arm64 to the two that were already there, armv7 and armv7s. Also, ensure 'Build Active Architecture Only' is set to no.
Get the .IPA file which you had uploaded and Change the extension to .Zip and Unzip the file
And open the terminal and execute the below command, file ~/SOME_PATH/Payload/.app/
you'll get the architecture details for the IPA
In Addition, main cause for this problem is below ways to look out
- Your iOS app is not up to date of iOS device version/apple guidelines
- If your app containing outdated libs
- If your app is 32 bit Arc family and trying to run in 64 bit arch iOS OS
来源:https://stackoverflow.com/questions/40359182/alert-from-os-app-may-slow-down-your-iphone
