question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

iOS app bundle size

See original GitHub issue

It seems that a stock installation of Capacitor generates .ipa (iOS) bundles of ~122MB, whereas the equivalent .apk (Android) bundles are ~3MB.

I am interested in why there is such a huge discrepency, as it greatly impacts deployment time (especially here in Australia, where it can take up to 15 minutes to upload even a small .ipa to the Apple Store).

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
mlynchcommented, Dec 6, 2018

It’s not as simple as measuring the .ipa file you have generated doing a local release build. Capacitor uses Swift, which results in larger bundles at build time. However, Apple does a ton of optimization in the store to cut down on the actual final install size. There’s not a 1-1 map

0reactions
ionitron-bot[bot]commented, Nov 10, 2022

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Reducing your app's size | Apple Developer Documentation
Measure your app's size, optimize its assets and settings, and adopt technologies that ... The XCARCHIVE bundle that you create when your archive...
Read more >
iOS - Reducing Your App's Size
This article describes how to reduce your app's download size, ... The XCARCHIVE bundle that you create when your archive your app ......
Read more >
Reduce App Size. How to optimize iOS app size | by i.vikas
Use asset catalogs ( For images, textures, data etc) instead of putting in app bundle directly. It allows Xcode and App Store to...
Read more >
What is the easiest way to determine an iOS .app bundles size ...
It is important to make sure every iOS application ...
Read more >
Measuring your app's size - Flutter documentation
How to measure app size for iOS and Android. ... As the APK, app bundle, or IPA version of a Flutter app is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found