Can not perform `pod install` under el capitan (15A279b)

后端 未结 6 584
独厮守ぢ
独厮守ぢ 2020-12-12 12:10

I ran pod install with El Capitan and got this error:

Errno::EPERM - Operation not permitted - /Users/../Pods/Pods.xcodeproj/xcuserdata/root.xcu         


        
6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-12 12:44

    I had to update the system before 'gem install' otherwise I got this:

    ERROR: Error installing cocoapods: activesupport requires Ruby version >= 2.2.2.:

    Here's what worked for me:

    gem update --system
    sudo gem install -V -n /usr/local/bin cocoapods
    pod install
    

    I actually needed to just update:

    pod update
    

提交回复
热议问题