I cannot install Cocoapods

Hello,

I cannot install cocoapods due to the following error: 'You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory.'

Does anyone know how to fix this?

Thank you

Thank you for your post. Cocoapods is a third-party component. I am confident that many developers here may have ideas on how to resolve your installation of cocoapods, as the error suggests that this is the issue. As I don’t have much experience with that.

However, I wanted to bring to your attention the announcement regarding that component from last year on their blog about the future of that component. I would encourage you to go and read their announcements.

I would encourage you to look into Xcode packages to consume external libraries. But this is a personal suggestion.

Hope your installation of cocoapods gets fixed, I would recommend you to re-install it.

Albert Pascual
  Worldwide Developer Relations.

I cannot install Cocoapods
 
 
Q