IPA generated by swift is so big, about 5MB

前端 未结 2 1737
日久生厌
日久生厌 2020-12-03 18:24

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 p

2条回答
  •  既然无缘
    2020-12-03 18:39

    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.

提交回复
热议问题