localhost:PodTest3 haiwang$ pod install
Analyzing dependencies
Downloading dependencies
Installing MBProgressHUD (0.9.2)
Installing Masonry (1.0.2)
Generating Pods project
Abort trap: 6
After upgrading to Xcode 8, cocoapods
doesn't work anymore. I have tried to uninstall and install, but it still doesn't work.
I solved this issue by updating the ruby with \curl -sSL https://get.rvm.io | bash -s stable --ruby.
For me, I solved this issue by uninstalling and then again installing CocoaPods with
--pre
with the commandHopefully this will solve your problem.
Update
CocoaPods has released version 1.2.0, so you can now install using
And you will get version 1.2.0 installed
If the simple uninstall by @haider_kazal doesn't work like it didn't for me, try to install RVM with ruby 2.5.5, then purge CocoaPods completely:
And then install once again:
This should definitely help you.
However I'm not pleased with the previous version of Cocoapods as it has a few other issues.
I'm having the same issue with Cocoapods 1.1.1 on rvm ruby (tried 2.2.4p230, and 2.0.0p648 which is the equal to system ruby version), with Xcode 8.1 (8B62), macOS 10.12.1 (16B2657), and only thing that helps me is updating to Cocoapods 1.2.0.beta.1, or using system ruby:
and of course if you don't have cocoapods installed in system gemset: