Xcode8 pod Install error "Generating Pods project Abort Trap
Today, when writing a new project, use the cocoapods when executing $ pod install
, the terminal promptGenerating Pods project Abort trap: 6
Workaround:
Remove all cocoapods gems,
Execute the following command in turn:
sudo gemUninstallCocoapodssudo GemUninstallCocoapods-Coresudo GemUninstallCocoapods-Deintegratesudo GemUninstallCocoapods-downloadersudo gem uninstall< Span class= "PLN" > Cocoapods-pluginssudo gem uninstall Cocoapods- searchsudo gem uninstall Cocoapods-statssudo gem uninstall Cocoapods-try sudo gem uninstall cocoapods< Span class= "pun" >-trunk
Then install the latest release version:
--pre
The above text link here
-----------------------------I'm a split line-----------------------------
You may be prompted with the following error:
Error:could not find a valid gem ' cocoapods ' (>= 0), where is:
Unable to download data from https://ruby.taobao.org/-ssl_connect returned=1 errno=0 state=sslv3 Read server certificate B:certificate Verify failed (https://ruby.taobao.org/specs.4.8.gz)
Xcode8 pod Install error "Generating Pods project Abort Trap