V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
iOS 开发实用技术导航
NSHipster 中文版
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
http://www.cocos2d-iphone.org/
CocoaPods
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
http://code.google.com/mobile/analytics/
WWDC
https://developer.apple.com/wwdc/
Design Guides and Resources
https://developer.apple.com/design/
Transcripts of WWDC sessions
http://asciiwwdc.com
Cocoa with Love
http://cocoawithlove.com/
Cocoa Dev Central
http://cocoadevcentral.com/
NSHipster
http://nshipster.com/
Style Guides
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Useful Tools and Services
Charles Web Debugging Proxy
Smore
fly2never
V2EX  ›  iDev

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

  •  
  •   fly2never · 2016-09-10 22:25:00 +08:00 · 2569 次点击
    这是一个创建于 2997 天前的主题,其中的信息可能已经有所发展或是发生改变。
    根据 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
    3 条回复    2016-09-13 23:59:48 +08:00
    fly2never
        1
    fly2never  
    OP
       2016-09-10 22:50:07 +08:00
    另外, 我发现 Cocoapods 也有这个问题
    https://github.com/CocoaPods/CocoaPods/issues/5537
    Wongzigii
        2
    Wongzigii  
       2016-09-11 00:16:41 +08:00
    关注
    free9fw
        3
    free9fw  
       2016-09-13 23:59:48 +08:00
    carthage 连 update 都慢得要死
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   927 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 19:54 · PVG 03:54 · LAX 11:54 · JFK 14:54
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.