How to run pod install in the project directory

In the tutorial, I am invited to run pod installin the project directory. Can someone tell me how to do this?

+3
source share
2 answers
  • Open a terminal.

  • If you have not already done so, run this command:

    sudo gem install cocoapods
    

    Wait for it to finish.

  • Find the project directory in Finder. This should be the folder in which the Xcode project is located.

  • Enter cdin the terminal, then a space.

  • Drag the project directory into the terminal window. Now he should say something like this:

    cd /Users/someone/Downloads/WonderfulProject
    
  • Press return.

  • Now enter pod install. Wait for it to end. It can take some time.

Done!

+10

Xcode, .

  • , cocoapods. pod --version , ., 3.
  • , cocoapods, sudo gem install cocoapods .
  • cd Xcode
  • pod init . podfile , .
  • pod install.

, Podfile Xcode, , , 5, cd-ed Xcode.

+4

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


All Articles