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!

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