iOS 10.1.1 popup saying “Application May Slow Down Your iPhone”

后端 未结 1 1651
南笙
南笙 2021-01-21 16:09

When I build and run my app through Xcode on my real device I get a popup saying:

AppName May Slow Down Your iPhone

The developer of

相关标签:
1条回答
  • 2021-01-21 16:30

    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.

    You must build a 64-bit binary with your existing app. To do so:

    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).

    There's more information in Apple's documentation on porting your app to 64-bit as well.

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