Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IPA generated by swift is so big, about 5MB

I have just create a simple project using swift language, then i compile and archive it to generate .ipa file. IPA file is so big, it is about 5 MB.

is it right(no problem) at there? when i create it in Objective-C, it is only about 500kb.

like image 958
tesmojones Avatar asked Jan 12 '15 02:01

tesmojones


People also ask

Is IPA size same as app size?

APP size is around 5MB for Android but ipa takes almost the double size 11.4MB.

What is IPA in Swift?

In simple words, it is a file that can be installed on iOS devices and used as an application. Just like an APK (Android Application Package) file can be installed on Android devices, an IPA file can be used for testing iOS applications. You can even push it to the app stores to publish your app.


1 Answers

Yes, that's about right. The libraries containing the entire Swift language have to be embedded in the IPA. Those libraries are part of the app, not part of the system - because Swift has to work even with backwards compatibility, in part because it is constantly changing (independently of system updates), and in part in order to work on iOS 7 (where the system has never heard of Swift). And they are about 5MB in size.

like image 80
matt Avatar answered Oct 05 '22 18:10

matt