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 trialshengyeong chia
3,093 Points"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:
''' Usage:
$ pod
CocoaPods, the Objective-C library package manager.
Commands:
+ 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
Options:
--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.
5 Answers
Sabine Geithner
3,264 Pointsyou have to type in "pod install"
shengyeong chia
3,093 PointsThank you for your help. Really appreciate it. Below is the outcome.
'''
ChickenSmitten:photo bombers shengyeong$ pod install
[!] Invalid Podfile
file: undefined local variable or method `‘SimpleAuth' for #<Pod::Podfile:0x007fd3823cbd08>. Updating CocoaPods might fix the issue.
from /Users/.../Podfile:1
pod ‘SimpleAuth/Instagram
'''
Sabine Geithner
3,264 PointsYou might just be missing the closing '
It should be
pod ‘SimpleAuth/Instagram'
shengyeong chia
3,093 PointsHave tried again based on the recommendation, but the same problem still persist.
'''
[!] Invalid 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 Geithner
3,264 PointsHmm 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.