xcode “pod install”命令在 Mac OS X 上有什么作用?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/22097170/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 04:42:37  来源:igfitidea点击:

What does the "pod install" command do on Mac OS X?

iosxcodemacosherokuzsh

提问by Simon Bosley

I was watching a video on creating an iOS App using XCode and Heroku. The following command was typed in zsh:

我正在观看有关使用 XCode 和 Heroku 创建 iOS 应用程序的视频。在 zsh 中键入以下命令:

pod install

I was wondering if someone could explain what this does and what is it used for? A simple overview would be sufficient.

我想知道是否有人可以解释它的作用以及它的用途?一个简单的概述就足够了。

回答by Wain

It installs the dependencies as specified by the pod file in the Xcode project folder. See cocoapods.orgfor details.

它安装 Xcode 项目文件夹中的 pod 文件指定的依赖项。有关详细信息,请参阅cocoapods.org