miukal
V2EX  ›  问与答

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

  •  
  •   miukal · Oct 6, 2014 · 4155 views
    This topic created in 4414 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
    Elethom
    Oct 6, 2014 via iPhone
    1
    第三方 SDK 大多會在 CocoaPods 中有.
    miukal
    miukal
    OP
    Oct 6, 2014
    2
    嗯,只考虑 CocoaPods 中没有的。而且,在 CocoaPods 出现前这个问题怎么解决的?
    LINAICAI
    LINAICAI
    Oct 6, 2014
    3
    add吧。
    Elethom
    Elethom
    Oct 6, 2014❤️1
    4
    @miukal
    單獨開一個 repository 進行管理, 使用 submodule 添加. 現在對於 pod 中沒有的, 單獨開一個 pod 進行管理.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2191 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 13:22 · PVG 21:22 · LAX 05:22 · JFK 08:22
    ♥ Do have faith in what you're doing.