在 Xcode 中打开 Podfile

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/32746068/
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 07:55:24  来源:igfitidea点击:

Opening Podfile in Xcode

xcodeidecocoapods

提问by Yeis Gallegos

Such a trivial concern should show up first on google, but the answer isn't on SO.

这样一个微不足道的问题应该首先出现在谷歌上,但答案不在SO上。

I am tired of using vim when Xcode is supposed to be an IDE (emphasis on I)

当Xcode应该是一个IDE时,我已经厌倦了使用vim(强调I)

How do I open a Podfile in Xcode?

如何在 Xcode 中打开 Podfile?

回答by Yeis Gallegos

you can open with Xcode just get into your directory on the terminal and then just type

您可以使用 Xcode 打开,只需进入终端上的目录,然后输入

open -a Xcode <podfile>

回答by mokagio

The Podfileis located in the root of the Pods project.

Podfile位于吊舱项目的根。

enter image description here

在此处输入图片说明

An easy way to open it is via "Open Quickly" (Shift Cmd O) typing Podfile.

打开它的一种简单方法是通过“快速打开”(Shift Cmd O)键入 Podfile。

回答by mipadi

If it's been added to the project, you can just click on it. Otherwise, open it using the File menu or drag its icon on top of Xcode's.

如果它已添加到项目中,您只需单击它即可。否则,使用文件菜单打开它或将其图标拖到 Xcode 的顶部。