0

This is iOS & Cocoapods question.

My iOS App launching speed was too slow.
So, to reduce the dylib loading time, I changed the dynamic frameworks in Pods to static frameworks by using cocoapods-static-frameworks.

And then,
as I wanted, reduced the app launch time and everything work well as before.
However, unexpectedly the app's binary size has been reduced 20MB. (80MB to 60MB)

Does when using dynamic framework increase binary size than using static framework?

JeHeon Choi
  • 3
  • 1
  • 2

1 Answers1

0

it dose, because dynamic frameworks only links what you actually need.

"When dynamic libraries are linked, none of the library's code is included directly into the linked target. Instead, the libraries are loaded into memory at runtime prior to having symbols getting resolved."

Omar Masri
  • 349
  • 1
  • 8