Tim Nuwin
Tim Nuwin

Reputation: 2887

How do you figure out how to optimize IPA compile size besides turning off Bitcode?

I'm having a hard time tracking why my compiled project is so large.
Usually it’s the assets that’s the culprit but i have < 5mb worth of images, the entire project folder is only 10mb [including cocoapod projects], but when i archive it, the xarchive file is 150mb.

The IPA file is 75.5mb

The included frameworks not via cocoapods are: audiotoolbox, quartzcore and mapkit

EDIT

Turning off bitcode reduced the file size to 56.4mb.

It's still 5x's the size of the entire project. What other optimization tricks are there??

enter image description here

Upvotes: 2

Views: 629

Answers (2)

matt
matt

Reputation: 535178

Whatever's taking up the space, it's evidently mostly those third party frameworks. And that means there's nothing you can do about it.

Upvotes: 2

Rob Napier
Rob Napier

Reputation: 299355

IPA files are just zip files. You can unzip it and see what's so large.

Upvotes: 2

Related Questions