I've recreated a simple app that was originally made in React Native with 5MB file size on the app store. The app has no images or anything of any particular size, but it does use Admob
ads.
After uploading it to the app store the build is showing as 35MB...not sure what the reason is but it when opening the package contents of the build archive it seems that a bunch of dylib
files in SwiftSupport/iphoneos
are created that are very large. that's the biggest folder in the archive anyway. I think it has to do with the Pods
folder created in order to use Admob.
I'm guessing it can never be as small as the React Native original app but surely it should not be seven times the size...is there some way to remove the SwiftSupport
files or another way to shrink it?
EDIT: Also in the Runner project folder in the build archive in Frameworks
there are loads of Swift dylib
files in there too that are large. Really all the space is being taken up by these Swift support dylib
files...
Just built the app for Android and it's 8.33MB so quite a difference there, even though both versions of course use Admob.