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:
platfo
This error also occurs when you have multiple .xcodeproj
in your Xcode project.
You don't need more than one .xcodeproj
in general cases. Remove unnecessary .xcodeproj
, and Cocoapods should get the correct path automatically afterwards.
Hey your path for the project might be wrong. Go to the project and right click on SimpleWeather.xcodeproj and select Get Info as show in the image below(The right side window is for Get Info here). Copy this path from the details window and paste it into the Podfile. After that append /SimpleWeather.xcodeproj to that pasted path. This might solve the problem(Note: It is a snap shot for my project). In your case the solution might be replacing the path with this /Users/myName/Developer/SimpleWeather/SimpleWeather.xcodeproj
You installed your Xcode..in application use this command to execute
sudo xcode-select -switch /Applications/Xcode.app
Maybe you have two project .xcodeproj
, remove one.
Remove Podfile.lock
, folder Pods
. On Terminal cd /Users/myName/Developer/SimpleWeather
and pod install