Adding several pods increases iOS app launch time by 10+ seconds

后端 未结 4 1799
孤城傲影
孤城傲影 2020-12-24 05:30

I\'m doing an iOS app project in Swift 1.2, using Cocoapods 0.37.2, Xcode 6.3.2. After adding around 8 pods in my project, app launch time greatly increases (around 10 secon

4条回答
  •  Happy的楠姐
    2020-12-24 06:01

    Probably there is one Pod which increases launch time (in worst case more Pods). My advice is to remove one by one the Pods to is if your issue is fixed. Maybe it's easier to create another project to make this test.

    If you have a framework or Pod which uses -all_load linker flag, it's a big chance that one to increase a lot the launch time.

提交回复
热议问题