Cocoapods Installation Error on macOS Sierra 10.12.1

前端 未结 4 639
温柔的废话
温柔的废话 2021-02-15 23:47

I\'m getting this error when i\'m trying to install cocoapods:

$ sudo gem install cocoapods
ERROR:  While executing gem ... (Errno::EPERM)
    Opera         


        
4条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-16 00:18

    On MAC OS Sierra10.12.2, the following steps solve my problem:-

    steps:

    1. sudo reboot
    2. sudo gem install -n /usr/local/bin cocoapods
    3. pod setup
    4. cd specific path
    5. pod update

提交回复
热议问题