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 trial

iOS Build a Photo Browser iPhone App Connecting to an API using OAuth Introducing API and OAuth 2.0

Hamish Jackson-Mee
Hamish Jackson-Mee
3,967 Points

CocoaPods

CocoaPods is installing fine but it seems to be having trouble finding the 'SimpleAuth/Instagram specification. Heres the issue:

http://pastebin.com/ENXnKhhz

I have installed the X-code command line tools, installed Git, Installed CocoaPods.. Not sure on how to resolve this?

Any help would be great, Thanks!

2 Answers

Stone Preston
Stone Preston
42,016 Points

can you post what you have in your podfile?

Hamish Jackson-Mee
Hamish Jackson-Mee
3,967 Points
pod 'SimpleAuth/Instagram' 

Also tried using the twitter specification etc and got the same issue

harpreet grewal
harpreet grewal
19,018 Points

i had the exact problem... when you create the pod file you need to save it in the folder the project is in and not in the folder where the project files are are in.. like you know how the main project file resides outside the project files folder.

Hamish Jackson-Mee
Hamish Jackson-Mee
3,967 Points

I've tried multiple solutions including that one.. turns out it just won't work within a virtual machine. Works fine otherwise