Reputation: 509
When I start my Debug-Build on an iOS-Device for the first time, a warning from apple is shown which says, that this App would slow down the device and should be re-engenired by the developer (don't know the exact text in english because it's shown in german for me).
In fact I cannot recognize any slow behavior - the app and all the rest works fine and performant. But it's a pity, that new users will be shown this warning on the first start of the App.
Do you have any idea, what the cause may be?
Upvotes: 1
Views: 76
Reputation: 52770
This is answered here, the short answer is use the build hint ios.debug.archs=arm64
. The longer answer is that debug builds only build for one platform and we default to 32bit for maximum compatibility.
By setting 64 bit the debug build won't work on older devices and despite Apples hyperbole you won't perceive any performance difference. Notice that release/appstore builds include both versions but take longer to build and are almost double the size.
Upvotes: 2