Reputation: 1841
I have developed a couple Ionic 3 apps and have compiled an iOS version.
The ipa file is over 60 Mb, even for the simplest app.
This seems extremely large for a mobile app.
In one app I do have a few image files, but they are all svg.
Does this sound right to everyone, or am I missing something when I compile?
Upvotes: 2
Views: 2463
Reputation:
The solution could be :
ionic cordova build ios/android --prod --release --optimizejs --minifyjs --minifycss
Also remove all plugins that you don't use. For example a simple app of 1 MB, becomes 11 just becouse i use a paypal plugin.
So I suggest you:
and also "Special Instruction For iOS: 5 — Once you archive, Open Organizer, right click on the desired archive, click on “show in finder” You will find “*.xcarchive”. Right click on it “Show package contents”-> product -> application -> “your app name” -> “Show package contents”
You can even remove unwanted files from here too. Later upload it to app store"
Upvotes: 3