I’m pretty sure you are not in the right directory. Are you sure your .xcodeproj is in the Developer folder? There might be a subfolder you need to navigate to.
The right way to enable CocoaPods in your Project is:
- Open Terminal and execute:
$ sudo gem install cocoapods - Navigate to your Project folder (I assume in your case it’s
cd /Users/myName/Developer/SimpleWeather/SimpleWeather.xcodeproj). - Setup Cocoapod
pod setup - Create the Podfile
touch Podfile - Open the Podfile
open -e Podfileand insert your code for Podfile - Finally install the Podfile
pod install
If you follow this instructions everything should work. When opening your project make sure to open the .xworkspacefile.
For more information, see this.