简体   繁体   中英

Unable to init the pod in Xcode Project

Can anybody help me to solve this issue?

I got this error when i want to init pods in my xcode project:

/Library/Ruby/Site/2.3.0/rubygems.rb:242:in `activate': can't activate activesupport (>= 4.0.2, < 5, runtime) for ["cocoapods-1.5.3"], 

already activated activesupport-5.2.2 for ["cocoapods-core-1.5.3", "cocoapods-1.5.3"] (Gem::LoadError)

    from /Library/Ruby/Site/2.3.0/rubygems.rb:258:in `block in activate'
    from /Library/Ruby/Site/2.3.0/rubygems.rb:257:in `each'
    from /Library/Ruby/Site/2.3.0/rubygems.rb:257:in `activate'
    from /Library/Ruby/Site/2.3.0/rubygems.rb:1146:in `gem'

Try to uninstall the gem activesupport. this may help

gem uninstall activesupport

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM