Learn Courses My Dashboard

Database Lesson 2 Error

That looks like an issue with Cocoapods on your machine. I’d try to uninstall it and reinstall it

So I tried to uninstall CocoaPods but it says the uninstall command doesn’t exist.

ericbeecroft@Erics-iMac ~ % uninstall Cocoapods
zsh: command not found: uninstall
ericbeecroft@Erics-iMac ~ % pod uninstall
[!] Unknown command: `uninstall`
Did you mean: install?


    $ pod COMMAND

      CocoaPods, the Cocoa library package manager.


    + cache         Manipulate the CocoaPods cache
    + deintegrate   Deintegrate CocoaPods from your project
    + env           Display pod environment
    + init          Generate a Podfile for the current directory
    + install       Install project dependencies according to versions from a
    + ipc           Inter-process communication
    + lib           Develop pods
    + list          List pods
    + outdated      Show outdated project dependencies
    + plugins       Show available CocoaPods plugins
    + repo          Manage spec-repositories
    + search        Search 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 and create new


    --allow-root    Allows CocoaPods to run as root
    --silent        Show nothing
    --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

Hi @ebeecroft

Try the suggestion from this post.

Okay I just got CocoaPods uninstalled. It kind of prompted me to delete a weird file along with CocoaPods and I said yes to it. I am not sure if it deleted an important functional piece to Xcode or another file.

ericbeecroft@Erics-iMac ~ % sudo gem uninstall cocoapods


Remove executables:

pod, sandbox-pod

in addition to the gem? [Yn] Y

Removing pod

Removing sandbox-pod

Successfully uninstalled cocoapods-1.11.2

ericbeecroft@Erics-iMac ~ %