当我通过 Xcode 在我的真实设备上构建和运行我的应用程序时,我收到一个弹出窗口:
AppName May Slow Down Your iPhone
The developer of this app needs to update it to improve its compatibility.
我没有发现任何内存问题,而且我的应用程序崩溃从未遇到任何问题。
那么是什么导致了这个可怕的消息?
Best Answer-推荐答案 strong>
这不是内存或崩溃问题 - 这是 Apple 要求开发人员更新他们的 apps with only 32-bit support with 64-bit support .
您必须使用现有应用构建 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:
- Make sure all function calls have a proper prototype.
- Avoid truncating 64-bit values by accidentally assigning them to a 32-bit data type.
- Ensure that calculations are performed correctly in the 64-bit version of your app.
- Create data structures whose layouts are identical in the 32-bit and 64-bit versions of your app (such as when you write a data file to iCloud).
Apple's documentation on porting your app to 64-bit 中有更多信息也是。
关于iOS 10.1.1 弹出窗口说 "Application May Slow Down Your iPhone",我们在Stack Overflow上找到一个类似的问题:
https://stackoverflow.com/questions/40597208/
|