How much size will increased for the iOS Test app (downloaded from the App Store?)
nixzhu opened this issue · 3 comments
Thanks for the scripts!
The libcrypto.a
is 61.1MB, libcurl.a
is 14.5MB, libnghttp2.a
is 9.4MB, libssl.a
is 12.9MB,but I don't know how much cellular data a user will need to download from the App Store?
Are there any numbers that can be inferred?
Is there any way to reduce the lib size? Maybe discard some protocols? And I'm wondering why libcrypto.a is so big.
Yes, these libraries include a lot of functions that may not be needed for your project. I use all of the libraries for my iOS app, iCurlHTTP which is why I created the builds scripts to begin with. The iOS app is only 8.1MB.
When you build an executable with these libraries, the linker will only pull in the objects from the library that it needs to satisfy unresolved symbols. That greatly reduces the size of the final executable file.
@jasonacox Thank you for the number!