[Solved-3 Solutions] Pod install displaying error in cocoapods version 1.0.0.beta.1
Error Description:
- Podfile is working but after updating to cocoapods version 1.0.0.beta.1,pod install displays following error
Solution 1:
- You have to specify a target for each pod.
- e.g. if before you had your Podfile written like this:
- just change it to
Solution 2:
- After the new changes to cocoapods, you have to add the following lines to your podfile.
Solution 3:
- gem uninstall cocoapods
- rvm get stable --auto-dotfiles
- rvm use ruby-2.1.2
- rvm osx-ssl-certs update all
- rvm rubygems latest
- sudo gem sources -r https://rubygems.org/
- sudo gem sources -a http://rubygems.org/
- gem install cocoapods -v 1.0.0.beta.1 --pre -V