how to run pod install in project directory

后端 未结 2 2032
庸人自扰
庸人自扰 2021-01-04 01:15

A tutorial tells me to run pod install in the project directory. Can anyone tell me how to do that?

2条回答
  •  渐次进展
    2021-01-04 01:27

    1. Open Terminal.

    2. If you haven't already done so, run this command:

      sudo gem install cocoapods
      

      Wait for it to finish before proceeding.

    3. Find the project directory in the Finder. This should be the folder that has the Xcode project in it.

    4. Type cd into the terminal, followed by a space.

    5. Drag and drop the project directory into the terminal window. It should now say something like this:

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

    7. Now type pod install. Wait for that to finish. It could take a while.

    Done!

提交回复
热议问题