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
David Klein
Courses Plus Student 1,456 PointsCocoapods can't install in my mac
Please someone help me since i can't install cocoapods in my mac and i can't continue the photobombers track because of this problem. Any help will be appreciate.
Below is pastebin link for error given in my terminal :
2 Answers
Guilherme Juraszek
3,550 PointsHi David. Did you install the XCode command line tools?
Try to install it with the command on the terminal: xcode-select --install
It will prompt a dialog with instructions to install.
After install and reboot, try the command bellow to verify the instalation: xcode-select -p
It should print something like: /Applications/Xcode.app/Contents/Developer/
After that, please try to install cocoapods again.
David Klein
Courses Plus Student 1,456 Pointsi solved this issue by Symlinking llvm as gcc in terminal : sudo ln -s /usr/bin/llvm-gcc /usr/bin/gcc-4.2
David Klein
Courses Plus Student 1,456 PointsDavid Klein
Courses Plus Student 1,456 Pointsyes, i already updated the commmand line tools in xcode but i still get the same problem.