Could not find Cocoapods terminal command "edit" command?

I am trying to install an installation using Cocoapods for my iOS Xcode project.

cocoapods.org

When I get to the point where I need to edit my subfile, this will not work. I try to execute the edit Podfile command in the correct directory, but I get:

-bash: edit: command not found

I'm not quite sure what to do, and the implementation of this line is very important for the proper use of cocoapod.

I tried restarting the terminal and my computer, and also no luck.

+4
source share
1 answer

Cocoapods, edit, OS X, . , , " ", , TextWrangler (. ). , , ...

TextEdit

open -a TextEdit Podfile

Podfile TextEdit. "TextEdit" , .

SublimeText TextWrangler

SublimeText TextWrangler .

TextWrangler , , . Sublime Text :

ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" ~/bin/subl

(, , , ​​ ST 2 3)

, , :

  • subl Podfile - SublimeText
  • edit Podfile - TextWrangler

, , Vim Nano. , , . nano Podfile .

+7

Source: https://habr.com/ru/post/1524009/


All Articles