".ipa" file size problems -xcode archive
If your entire project is only 5MB in size, you may have a dependency or copy resource issue.
Double check:
- Do you need all the frameworks related to a project?
- Do you have a build phase that copies the path to unused or unwanted files to the target resource?
- If you are using dependency manager suche like
cocoapod
orcarthage
: are all external external frameworks needed?
If you want to know what large files are, it's pretty easy when you have an IPA file: rename your ipa with "zip" extension, unzip, investigate
Bonus: Even the finder tells you "XX MB" is not the final size. To find out the final size, you can upload your ipa to ituneconnect even if you don't want to use it. after processing, in the assembly list. You can have a finite size for each device. eg:
As you can see, Universal
quite large compared to a specific build for, for example, iphone 6!
source to share
This is fine if the IPA file is less than 100 MB. Once the file size exceeds 100 MB, it will not be available for download from the Appstore on Cellular Internet. It will only be available for download on WiFi.
I would recommend that you check your Xcode project to find large dependencies that are causing the file size to grow.
source to share