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

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:

$ pod COMMAND

  CocoaPods, the Cocoa library package manager.

Commands:

+ 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

Options:

--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.