
#How to install cocoapods on mac install#
The standard way to install pods into your system is to follow below commands and you must be able to install them without any problem. You might have changed the bin directory path for recent package installation or anything else but it definitely allows you to install cocoapods using the above comment for sure. It could be various reason that by default the gem install command gets failed to identify default bin directory of your system. Sudo gem install cocoapods -n /usr/local/bin By providing the bin directory path of your system resolves the issue and gem gets installed without any issues. The command should as below to install cocoapods or update them. It is very simple and just one parameter in the command that you use to install cocoapods in your system. The solution is also mentioned in the above image.
#How to install cocoapods on mac mac os#
The same error could happen if you try to install packages like Cocoapods into your Mac system that has a newer MAC OS version like El Captain. So I tried to update the pods by specifying the version that I want in the command itself but it still gave me the EPERM error. Here I have discussed a few different scenarios from which you have to find out which is best suitable for you.Īs you can see from above image that I tried to install pods after updating the podfile but it doesn’t allow me because the pods installed on my system already are not up to date. But the issue is that it is not allowing you to install the package and keeps on giving you EPERM error, isn’t it?ĭon’t worry you have come to the right article that could help you to solve the issue and let you move further in your project development process. Hi there, you might have started reading this article because you were trying to install cocoapods for the first time in your Mac system or installing pods after updating the Podfile for your Xcode project.
