Flutter Doctor: CocoaPods installed but not working.

90 views
Skip to first unread message

Daniel

unread,
Apr 23, 2020, 1:11:42 PM4/23/20
to Flutter Development (flutter-dev)
I'm trying to run Pod Setup after installing cocoapods and getting this error:

/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/executable.rb:97:in `expand_path': user flutter doesn't exist (ArgumentError)

from /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/executable.rb:97:in `block in which'

from /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/executable.rb:96:in `each'

from /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/executable.rb:96:in `which'

from /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/executable.rb:117:in `which!'

from /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/executable.rb:143:in `capture_command'

from /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/command.rb:116:in `git_version'

from /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/command.rb:130:in `verify_minimum_git_version!'

from /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/command.rb:49:in `run'

from /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/bin/pod:55:in `<top (required)>'

from /usr/local/bin/pod:22:in `load'

from /usr/local/bin/pod:22:in `<main>'


I've googled the "user flutter doesn't exist (ArgumentError)" but not finding much help. Most of the comments say to reinstall cocoapods or do version 1.7.5. I continue to get the same error after reinstalling and trying various things. 


Any thoughts??

Reply all
Reply to author
Forward
0 new messages