Carthage 引用动态库过多是否会导致启动时间变长?

2016-09-10 22:25:00 +08:00
 fly2never
根据 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
2461 次点击
所在节点    iDev
3 条回复
fly2never
2016-09-10 22:50:07 +08:00
另外, 我发现 Cocoapods 也有这个问题
https://github.com/CocoaPods/CocoaPods/issues/5537
Wongzigii
2016-09-11 00:16:41 +08:00
关注
free9fw
2016-09-13 23:59:48 +08:00
carthage 连 update 都慢得要死

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/305354

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX