Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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

the pod command is not getting me any where. Please advise.

Tims-MacBook-Air:~ timpolehn$ cd /Users/timpolehn/Desktop/PhotoBombers Tims-MacBook-Air:PhotoBombers timpolehn$ pod -bash: pod: command not found Tims-MacBook-Air:PhotoBombers timpolehn$

2 Answers

Anthony Martinez
Anthony Martinez
13,111 Points

You need to install cocoapods first --> cocoapods.org

Hi, did you proceed on this.?

I am stuck. I have installed cocoapods and now I am getting following usage messae.

$ pod Usage:


  CocoaPods, the Cocoa library package manager.


+ cache      Manipulate the CocoaPods cache
+ init       Generate a Podfile for the current directory.
+ install    Install project dependencies to Podfile.lock versions
+ ipc        Inter-process communication
+ lib        Develop pods
+ list       List pods
+ outdated   Show outdated project dependencies
+ plugins    Show available CocoaPods plugins
+ repo       Manage spec-repositories
+ search     Search for pods.
+ setup      Setup the CocoaPods environment
+ spec       Manage pod specs
+ trunk      Interact with the CocoaPods API (e.g. publishing new specs)
+ try        Try a Pod!
+ update     Update outdated project dependencies and create new Podfile.lock


--silent     Show nothing
--version    Show the version of the tool
--verbose    Show more debugging information
--no-ansi    Show output without ANSI codes
--help       Show help banner of specified command
Pablo Alfaro
Pablo Alfaro
Courses Plus Student 6,923 Points

Run pod install . That should install the dependencies.