I'm following a app tutorial and it says:
"Next, create an empty file in the root of the Xcode app project directory and call the file Podfile. Open it with your favorite text editor and paste the following line in it:"
I'm confused exactly where this is? is it inside my Xcode program? or is it some folder inside my Xcode folder in finder?
Got it.
Open Terminal, navigate to the directory that has your project. Type it like this:
cd ~/Path/To/Folder/Containing/yourProject
I saved mine on my desktop so it was simple.
Then type: pod init
This creates the pod file.
Then type:
open -a Xcode Podfile
This will open the file so that you can edit it.
You should do it in Terminal. Once in Terminal:
type cd
(there is a space after cd)
drag your project to the Terminal window and press return. It points Terminal to your project.
type touch .Podfile
, which will create an empty file in your project
type open -a TextEdit .Podfile
, which will open the .Podfile file in TextEdit
paste your code in it and then save.
you can check that your Podfile has been created by typing ls -a
in Terminal, which will show you all files and folders in your project
This should work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With