需要先在podfile里添加数据源 在target上面添加

source 'https://github.com/CocoaPods/Specs.git'


 然后移除本地truck

pod repo remove trunk




:Chu