I've build an ipa package from my iOS app project.
After open the .ipa file with zip
.
I find that here's so many swift support dynamic libraries.
I want to know what do libswiftFoundation.dylib
and libswiftcore.dylib
do?
I've build an ipa package from my iOS app project.
After open the .ipa file with zip
.
I find that here's so many swift support dynamic libraries.
I want to know what do libswiftFoundation.dylib
and libswiftcore.dylib
do?
libSwiftCore
contains Swift standard library functions and structures. The size probably caused by embedded bitcode.
All the other files are the Swift wrappers for Objective-C libraries, e.g. NSFoundation
, UIKit
etc. I am surprised by the size of the Foundation wrapper but that's probably the most complex library there.
After switching to Xcode 7, app size grew from 9 MB to 60 MB, is there a fix? could be connected here.
They are Swift standard libraries. Basically, that comes with swift like arrays, dictionaries etc.