I have an annoying alert whenever an iOS application launches starting with version 10.1. It complains that this app may make the phone slow. A screen shot is below. From what I read, this means that the app is 32-bit and iOS now wants only 64-bit apps. Unless I missed something, I have read that recent versions of Cordova, and so I assume Ionic, should build 64-bit apps. But I can’t find anything like a build flag to ensure it. Apparently running ionic build ios is not enough. Can someone please tell me what I am doing wrong? Sorry if this is a simple question. I’m rather new to Ionic.
I am having a similar issue. with the emulator, but I changed an architecture setting in the ‘build settings’ section in xcode and when I deploy to an actual device (at least through testflight) I do not see this error.
This seemed to do the trick and force ionic to build with both. But I can’t say for sure if only the package.json is enough or if you need to specify both (or if the commands cordova platform update ios and ionic platform update ios work as well)
To check what’s in your build you can try (at least on osx):
I think this works but I’m not totally sure. I’m using “ionic package” to build on cloud.
I uninstalled my app, compiled again on cloud and installed new IPA on device and no alert was thrown by iOS, BUT when looking at the IPA I don’t find three versions of Payload/YOUR_APP.app/YOUR_APP so I wonder if this solution really compiled on 64 bits or my iPhone just remembered my app’s name and decided not to show again that message when I re-installed my app.