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 iOS Tools CocoaPods CocoaPods

Installing SAMGradientView

I'm not sure if anyone else had this problem, but when I was trying to install the pod SAMGradientView via terminal, I typed 'pod' (in the right directory) and was given a list of commands instead of the install process running.

After looking at some documentation, I determined that 'pod install' was the correct command to try & it worked! I'm not sure if CocoaPods updated their commands but I wanted to document this for the forums!

3 Answers

Caleb Abraham
Caleb Abraham
15,158 Points

I have always used pod install. Did 'pod' work previously?

It never has for me, but it is the method Sam uses to install in the video. It seems for work for him, but it did not for me.

Eric Hodgins
Eric Hodgins
29,207 Points

Thank you! I was having that problem.