Cannot Install Cocoapods - No podfile found in the project directory
<p>I downloaded a sample project to learn how to make a UIPageViewController, and I am trying to essentially fork that project and need to add a third-party library. Right now, it does not look like I have a .xcworkspace file in my project. When I try and install the cocoapods, I first run</p>

<p><code>sudo gem install cocoapods</code> - in the specific project directory in my terminal</p>

<p><code>pod install</code> - in that same directory</p>

<p>I am receiving an error in the terminal "No podfile found in the project directory."</p>

<p>Is this happening because I don't have a .xcworkspace file? Am I installing the podfile correctly?</p>

<p><a href="https://i.stack.imgur.com/6wV1K.png" rel="noreferrer"><img src="https://i.stack.imgur.com/6wV1K.png" alt="enter image description here"></a></p>