Pod 安装需要很长时间



我是第一次在终端上运行 pod 安装,它花了很长时间(超过 20 分钟(。当我运行 pod install 时 - 冗长,它卡在这个上面。不确定是否应该花这么长时间,关于如何解决它的任何想法?在此处输入图像描述

Podfile

use_frameworks!
source 'https://github.com/CocoaPods/Specs.git'
target 'UberEATS' do
pod 'GoogleMaps'
pod 'GooglePlaces'
pod 'SwiftyJSON', '~> 4.0'
pod 'Alamofire', '~> 4.7'
pod 'SDWebImage', '~> 4.0'
pod 'Fabric'
pod 'Crashlytics'
end

从 Podfile 中删除source 'https://github.com/CocoaPods/Specs.git'

最新版本的CocoaPods使用更快的cdn作为默认源位置。

最新更新