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.