根据 WWDC2016 406 Optimizing App Startup Time
http://asciiwwdc.com/2016/sessions/406
" So, I have an app here that currently has 26 dylibs, And it's taking 240 milliseconds just to load those, but if I change it and merge those dylibs into two dylibs, then it only takes 20 milliseconds to load the dylibs.
So I can still have dylibs, I can still use them to share, functionality between my app and my extension, but, limiting them will be very useful."
那么, carthage 中每个依赖都是一个动态库,是否会导致时间变长呢?有没有解决办法?
我在 github 上看到有人讨论
https://github.com/Carthage/Carthage/issues/1379