无法为Swift / Xcode正确设置可可粉盒?

时间:2018-10-06 16:06:39

标签: ios swift terminal cocoapods

我最近尝试安装可可豆荚。我在终端输入了

sudo gem install cocoa pods

它返回:

...
Done installing documentation for pods after 0 seconds
8 gems installed

所以我输入了:

 pod setup --verbose

它返回了这个:

-bash: pod: command not found

有人处理过吗?

1 个答案:

答案 0 :(得分:0)

应该是

sudo gem install cocoapods

而不是

sudo gem install cocoa pods