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
When I type pod on my terminal is gives me...
I also don't get a workspace file? Any ideas?
$ pod CocoaPods, the Objective-C library package manager.
+ help Show help for the given command. + init Generate a Podfile for the current directory. + install Install project dependencies + ipc Inter-process communication + lib Develop pods + list List pods + outdated Show outdated project dependencies + plugins Show available CocoaPods plugins + push Temporary alias for the `pod repo push` command + repo Manage spec-repositories + search Searches 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
--silent Show nothing --completion-script Print the auto-completion script --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
Wayne Knoesen9,435 Points
Well the cocoapods is installed. But what was on the Pod file?
In the directory you have your pod file try "pod install" in the terminal. It should create the workspace and install all the dependancies
Awesome, got it to work. Thanks!
Hello I'm doing the Objective C CocoaPods tutorial and i'm stuck on exactly the same thing. Would you be able to help me with a simple step-by-step guide please?
I seem to have installed CocoaPods via the Terminal. The text read "installing CocoaPods" then, "CocoaPods 39.0 installed", I then closed the Terminal program. However, I didn't see the additional text below as shown in the video.
1) I opened up the "Example" Xcode project, then entered: pod 'SAMGradientView' into the podfile (within the project navigator).
2) I opened up the Terminal, then entered: "cd".
3) I then dragged the "Example" project file to the Terminal, then pressed enter. After pressing enter nothing happened. I expected to see some text below, as shown in the tutorial.
What have I done incorrectly?