iOS 10.1.1弹出窗口显示“应用程序可能会使您的iPhone速度变慢". [英] iOS 10.1.1 popup saying "Application May Slow Down Your iPhone"
问题描述
当我在真实设备上通过Xcode构建和运行应用程序时,会弹出一个对话框:
When I build and run my app through Xcode on my real device I get a popup saying:
AppName 可能会降低iPhone的速度
AppName May Slow Down Your iPhone
此应用的开发者需要对其进行更新以提高其兼容性.
The developer of this app needs to update it to improve its compatibility.
我没有看到任何内存问题,而且我的应用程序崩溃从来没有任何问题.
I dont see any memory issues, and I never had any problem with my app crashing.
那是什么引起了这个可怕的消息?
So what is causing this scary message?
推荐答案
This isn't a memory or a crash issue - it's Apple asking developers to update their apps with only 32-bit support with 64-bit support.
您必须使用现有应用程序构建一个64位二进制文件.为此:
You must build a 64-bit binary with your existing app. To do so:
首先为64位运行时构建应用程序,修复出现的所有警告以及在代码中搜索特定的64位问题.例如:
Start by building the app for the 64-bit runtime, fixing any warnings that occur as well as searching your code for specific 64-bit issues. For example:
- 确保所有函数调用都具有正确的原型.
- 通过不小心将64位值分配给32位数据类型来避免将其截断.
- 确保在您的应用的64位版本中正确执行计算.
- 创建在应用程序的32位和64位版本中布局相同的数据结构(例如,当您将数据文件写入iCloud时).
在 Apple的文档中,有更多信息也将您的应用程序移植到64位.
这篇关于iOS 10.1.1弹出窗口显示“应用程序可能会使您的iPhone速度变慢".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!