简体   繁体   English

仓库管理和Pod文件:cocoapods

[英]Repository management and pod files:cocoapods

I am using cocoapods dependency manager in the iOS project. 我在iOS项目中使用cocoapods依赖管理器。

The question is what is the proper way to manage the complete project in the repository [ mercurial] 问题是在存储库中管理整个项目的正确方法是什么?

Do I need to add all the cocoapods installed files into the repo? 我需要将所有cocoapods安装的文件添加到仓库中吗? Or is there a way to avoid all these files from adding repository? 还是有办法避免所有这些文件添加存储库?

What is the right way to manage the files? 什么是管理文件的正确方法?

If i understand your question correctly, 如果我正确理解您的问题,

No, you should not commit your pods/ folder. 不,您不应该提交pods/文件夹。

source: the Cocoapods example project .gitignore 来源:Cocoapods 示例项目.gitignore

Im not sure on the specific details on how to ignore things in mercurial, but that .gitignore in the example is a safe guide on what should be ignored. 我不确定如何忽略水银中的特定细节,但是示例中的.gitignore是有关应忽略的内容的安全指南。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM