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.
"pod" command does not start Analyzing dependencies and Downloading dependencies.
Facing a problem whereby "pod" command does not start Analyzing dependencies and Downloading dependencies. It only loads the following:
$ 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
I have made sure
1) File directory is in Photo Bombers. 2) Retested by Uninstalling and reinstalling cocoapods. 3) "Podfile" was created as per video instructions.
Hope to get help on this. Will provide an update once I found the solution.
Thank you for your help. Really appreciate it. Below is the outcome.
ChickenSmitten:photo bombers shengyeong$ pod install
Podfile file: undefined local variable or method `‘SimpleAuth' for #<Pod::Podfile:0x007fd3823cbd08>. Updating CocoaPods might fix the issue.
Sabine Geithner3,264 Points
You might just be missing the closing '
It should be
Have tried again based on the recommendation, but the same problem still persist.
Podfile file: undefined local variable or method `‘SimpleAuth' for #<Pod::Podfile:0x007ff4e24fc7c8>. Updating CocoaPods might fix the issue.
# from /Users/shengyeong/Dropbox/Welcome to the Future/DevelopmentWork/iPhone Application/Photo Bombers/Podfile:1 # -------------------------------------------
pod ‘SimpleAuth/Instagram’ # -------------------------------------------
Sabine Geithner3,264 Points
Hmm that's weird, can you open and paste the content of your Podfile here?
It should look like that:
platform :ios, '7.0' pod 'SimpleAuth/Instagram'
I tried it and it worked for me.