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 trialAravind voruganti
437 Pointsunable to install pods
while trying to install pod file im stucking here
MacBook-Pro:teja saiteja$ pod init MacBook-Pro:teja saiteja$ pod install Setting up CocoaPods master repo
3 Answers
Spencer Alderson
2,132 PointsHey there,
have you changed directories first? "cd /Users/yourusernamehere/yourfoldernamehere/yourFoldernamehere\ yourProjectnamehere"
1.then you do your pod init, where it creates the pod file
- you select the pods you wish to install i.e. " pod alamoFire"
- then pod install
hope that helps
Spencer Alderson
2,132 Pointswhy don't you try this rather than try to use terminal, if you're having trouble
Spencer Alderson
2,132 Pointsalternatively if you really want to use the terminal you need to type "cd " and then you can drab and drop the project file in to the terminal window then hit enter, then do your pod init etc,
Aravind voruganti
437 PointsAravind voruganti
437 Pointshey thanks il try
Aravind voruganti
437 PointsAravind voruganti
437 Pointsbut where should i change the directories??
Aravind voruganti
437 PointsAravind voruganti
437 Pointsis this enough..???? MacBook-Pro:~ saiteja$ cd desktop MacBook-Pro:desktop saiteja$ cd teja MacBook-Pro:teja saiteja$ pod init MacBook-Pro:teja saiteja$ pod install Setting up CocoaPods master repo