Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialFrancisco Navarro
14,185 PointsCocoapod error in SimpleAuth/Instagram
I'm trying to use dependencies for Photo Bombers app and I'm getting next error:
"[!] Unable to find a specification for SimpleAuth/Instagram
.
"
I've just followed steps in video.What Am I doing wrong? thanks for helping
My Podfile looks like this:
target "Photo Bombers" do
pod 'SimpleAuth/Instagram'
end
2 Answers
Austin Whitelaw
9,065 PointsSo heres a few things I notice/did.
My pod file only has the line pod 'SimpleAuth/Instagram' , meaning I don't have the other line you have.
When he types pod in the terminal window, and it starts installing things, that is cool, but for me that does not work. Typing just pod simply gives me a list of options/commands that are available for pods. What I had to do was type pod install and then it analyzed the pods and installed everything.
That being said, the first time I tried typing pod install it got stuck at analyzing dependencies. What I had to do was go back to terminal and type the following lines.
$ pod repo remove master
$ pod setup
$ pod install
So after doing the first two lines, you can then retry the third line. Something about redoing the setup fixed it for me, and it worked perfectly after this.
Hope some of this info helped you out!
Adam Cooper
9,280 PointsIt looks like there are a couple problems with the most recent version of Ruby and Apple's Developer Tools.
I would recommend following the steps listed below:
Open your terminal and immediately run: $ rvm install ruby-2.0.0-p481 Once that's done run: $ sudo gem install cocoa pods Navigate to your project file and run: $ pod install.
I hope this helps.
Francisco Navarro
14,185 PointsFrancisco Navarro
14,185 PointsDefinitely the third step worked for me! Thanks for such a good help!
Justin Montgomery
2,088 PointsJustin Montgomery
2,088 PointsWhen I type pod install in step 2, I get the error "No `Podfile' found in the project directory." What are the steps for cd (changing the directory)?