Xcode8 pod install 报错 “Generating Pods project Abort trap

今天在写一个新项目的时候,使用cocoapods在执行$ pod install的时候,终端提示Generating Pods project Abort trap: 6

解决办法:

删除所有cocoapods gems,

依次执行以下命令:

sudo gemuninstallcocoapods

sudo gemuninstallcocoapods-core

sudo gemuninstallcocoapods-deintegrate

sudo gemuninstallcocoapods-downloader

sudo gemuninstallcocoapods-plugins

sudo gemuninstallcocoapods-search

sudo gemuninstallcocoapods-stats

sudo gemuninstallcocoapods-try

sudo gemuninstallcocoapods-trunk

然后安装最新发布版本:

sudo geminstallcocoapods--pre

你可能感兴趣的:(Xcode8 pod install 报错 “Generating Pods project Abort trap)