Where is the root of the Xcode application project directory?

I follow the application tutorial and it says:

"Then create an empty file in the root of the Xcode application project directory and call the Podfile file. Open it in your favorite text editor and paste the following line into it:"

I'm confused exactly where is it? is it inside my xcode program? or is it some kind of folder inside my xcode folder in finder?

+4
source share
2 answers

Got it.

Open a terminal, go to the directory in which the project is. Enter it like this:

cd ~/Path/To/Folder/Containing/yourProject

I saved mine on my desktop, so that was easy.

Then enter: pod init

This creates a page file.

Then enter:

open -a Xcode Podfile

This will open the file so you can edit it.

+2

. :

  • type cd ( cd )

  • return. .

  • type touch .Podfile,

  • type open -a TextEdit .Podfile, .Podfile TextEdit

  • .

  • , , ls -a ,

.

0

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


All Articles