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

Ghaz Sabh
Ghaz Sabh
5,005 Points

CocoaPods

Please for love of god someone help me.

I'm getting error when i want to do the introducing API and OAuth 2.0

  • Fixed the Podfile default_subspec attribute in nested subspecs.
    [Fabio Pelosin][irrationalfab] #2050

Successfully installed cocoapods-0.32.1 Parsing documentation for cocoapods-0.32.1 1 gem installed

Ghazouans-MacBook-Pro:~ ghaz$ pod

[!] No `Podfile' found in the current working directory.

Ghazouans-MacBook-Pro:~ ghaz$ cd /Users/ghaz/Desktop/Photo\ Bombers/Photo\ Bombers/PodFile

-bash: cd: /Users/ghaz/Desktop/Photo Bombers/Photo Bombers/PodFile: Not a directory

Ghazouans-MacBook-Pro:~ ghaz$ pod

[!] No `Podfile' found in the current working directory.

I really don't know what to do..........

1 Answer

Stone Preston
Stone Preston
42,016 Points

you probably dont have ( or shouldnt have ) a directory called Podfile. you need to cd to your photobombers directory. your podfile should be inside that directory

$ cd /Users/ghaz/Desktop/Photo\ Bombers/Photo\ Bombers/

then run the pod command

$ pod