• 请不要在回答技术问题时复制粘贴 AI 生成的内容
callmexiaoliu
V2EX  ›  程序员

为什么会有那么多人用 Carthage?

  •  
  •   callmexiaoliu · Oct 19, 2017 · 5010 views
    This topic created in 3134 days ago, the information mentioned may be changed or developed.
    Carthage 只支持动态库,而使用动态库的应用会被 apple store 审核不通过,无法上线。
    所以什么项目会用 Carthage 呢?
    8 replies    2017-10-19 15:13:01 +08:00
    akring
        1
    akring  
       Oct 19, 2017
    理解有误,Alamofire,Kingfisher 都支持 Carthage,怎么可能会导致无法上线。。。
    0SJViNJF1Dm1pxm0
        2
    0SJViNJF1Dm1pxm0  
       Oct 19, 2017
    你知不知道自己在说什么……………………
    callmexiaoliu
        3
    callmexiaoliu  
    OP
       Oct 19, 2017 via iPhone
    @KylinRoc 额,第一次接触,但是看到的文章都说用了动态库会不通过,就有点不明白…
    WildCat
        4
    WildCat  
       Oct 19, 2017
    世界错了我是对的系列。
    xingheng
        5
    xingheng  
       Oct 19, 2017
    没用过 Carthage,只见过 Carthage 最终是把 library 编译成 framework。
    1. 不确定这里的 framework 是动态库还是静态库;
    2. iOS8 以上就开始支持动态库了;
    callmexiaoliu
        6
    callmexiaoliu  
    OP
       Oct 19, 2017
    @WildCat 不不不,是我不懂。。。
    Obelly
        7
    Obelly  
       Oct 19, 2017
    Carthage 不修改 project ---> 洁癖
    模块化工程的时候不用构建独立的 Spec.git ,不用写 podspec,直接 shared scheme 就好 ---> 懒
    开工的时候 pod repo update 总是失败 ---> 还是懒
    Carthage 和 Cocoapods 有没有冲突,作为使用者切换没啥难度

    appstore 审核不过的问题通过 copy-frameworks 解决 ---> 虽然我不知道我们碰到的是不是同一个问题
    jinking13579
        8
    jinking13579  
       Oct 19, 2017
    Carthage 没用过,动态库如果是一般指的 cocoa framework,应当是不会影响上 架的

    另外补充下,在 iOS8 时代以前就可以通过脚本形式自己编译 framework, 但是在当时对于上架的影响不是很确定。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5731 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 67ms · UTC 03:02 · PVG 11:02 · LAX 20:02 · JFK 23:02
    ♥ Do have faith in what you're doing.