I'm doing the Ray Wenderlich tutorial called SimpleWeather.
The podfile is in the same folder as the project. Here's my code from the podfile:
platform :ios, '7.0' xcodeproj 'SimpleWeather' pod 'Mantle' pod 'LBBlurredImage' pod 'TSMessages' pod 'ReactiveCocoa'
The error message is this: [!] Unable to find the Xcode project /Users/myName/Developer/SimpleWeather.xcodeproj
for the target Pods
.
The name of the project is SimpleWeather.
You can manually create a Podfile with a text editor or execute the pod init command at the root of your Xcode project. This command creates a Podfile at the root of your Xcode project. Open the file in your favorite text editor.
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:
$ sudo gem install cocoapods
cd /Users/myName/Developer/SimpleWeather/SimpleWeather.xcodeproj
).pod setup
touch Podfile
open -e Podfile
and insert your code for Podfilepod install
If you follow this instructions everything should work. When opening your project make sure to open the .xworkspace
file.
For more information, see this.
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