V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
miukal
V2EX  ›  问与答

iOS 开发的时候,用到的第三方 SDK 中的 .a 文件,大家是 add 到 git 里,还是 .gitignore?

  •  
  •   miukal · Oct 6, 2014 · 3785 views
    This topic created in 4234 days ago, the information mentioned may be changed or developed.
    add 一个二进制文件到 git 里总觉得不对,而且各个 SDK 也算更新比较频繁,这样 repo 以后可能会变得很大?
    但是 gitignore 的话,多人开发又很不方便,有时甚至不知其他人是否已经更新了 .a
    4 replies    2014-10-06 19:47:54 +08:00
    Elethom
        1
    Elethom  
       Oct 6, 2014 via iPhone
    第三方 SDK 大多會在 CocoaPods 中有.
    miukal
        2
    miukal  
    OP
       Oct 6, 2014
    嗯,只考虑 CocoaPods 中没有的。而且,在 CocoaPods 出现前这个问题怎么解决的?
    LINAICAI
        3
    LINAICAI  
       Oct 6, 2014
    add吧。
    Elethom
        4
    Elethom  
       Oct 6, 2014   ❤️ 1
    @miukal
    單獨開一個 repository 進行管理, 使用 submodule 添加. 現在對於 pod 中沒有的, 單獨開一個 pod 進行管理.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1086 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 23:15 · PVG 07:15 · LAX 16:15 · JFK 19:15
    ♥ Do have faith in what you're doing.