why it's so big after build with facebook 4a plugin in iOS

My app almost increased 80M after build with the facebook plugin, God~

Build with [Solar2D 2020.3614] iOS 13

Anyone knows what’s the reason?

Thanks for your info.

The Facebook library now requires swift libraries. I believe that is the additional bulk that you are seeing.

1 Like

You are right, I found there is a swift runtime zipped in the IPA.
Almost 130M… God.

Any other good solution for the case?

That’s weird. I’ve recently added the Facebook v4a to my game and uploaded a new iOS build. The compressed file size when looking in App Store Connect is only 36.5MB. That’s almost exactly the same as the prior version without Facebook v4a.

The IPA is ~100MB when uploading, but again, that’s about the same size I had before adding Facebook v4a.

I’m using build 2020.3611.

Maybe I’m missing something here…?

Me too seemingly… My latest build for iOS (4 days ago) is no different in size to the last update?

Using 3611 too.

If I’m not mistaken, I think I remember Vlad talking about this in Slack or Discord ages ago. The build size gets large due to the inclusion of Swift files, but they are removed from the distribution version after you submit it to the store.

2 Likes