Skip to content

iOS - Error while installing the plugin #601

@jonathangraci

Description

@jonathangraci

When I try to install the plugin in my Cordova app with the following command:

sudo cordova plugin add cordova-plugin-google-analytics --variable GMS_VERSION = 18.0.1

I get the following error:

Failed to install 'cordova-plugin-google-analytics': Error: pod: Command failed with exit code 1 Error output:
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin21/rbconfig.rb:230: warning: Insecure world writable dir / Users / admin / Builds / MyApp in PATH, mode 040777
/Library/Ruby/Gems/2.6.0/gems/claide-1.1.0/lib/claide/command.rb:439:in `help! ': [!] You cannot run CocoaPods as root. (CLAide :: Help)

Can you help me?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions