Reputation: 115
I recently started testing my Gluon Mobile app on my iOS device, but sometimes when I open my app, this popup occurs. Is there any way to fix or avoid this?
Upvotes: 1
Views: 255
Reputation: 45456
The default architecture when deploying on iOS with JavaFXPorts is thumbv7
, as you can see here.
This means the app is created in 32 bits mode.
Since iOS 10.1, Apple is trying to push developers to update their apps to 64 bits mode.
While creating 32-bits apps doesn't mean they have less performance, if you want to avoid the message you need to create the app in 64 bits mode.
For that you can change the arch
parameter:
command line:
./gradlew -Probovm.arch=arm64 launchIOSDevice
or on your build.gradle file:
jfxmobile {
ios {
arch = "arm64"
...
}
}
Upvotes: 4