当我尝试安装appodeal pod时出现错误

时间:2017-01-31 10:51:45

标签: macos install cocoapods

我试图用cocoapods安装appodeal,但是我收到了一个错误。

我安装了大约9个框架,但只有这个框架才会出错。这是代码:

od install
Analyzing dependencies
Downloading dependencies
Using AXRatingView (1.0.3)
Installing Appodeal (1.3.3)

[!] Error installing Appodeal
[!] /usr/bin/curl -f -L -o /var/folders/br/56_l2gp52_d7zcv_tqyf_fkw0000gn/T/d20170131-599-1psuk5j/file.zip https://s3-us-west-1.amazonaws.com/appodeal-ios/1.3.3/pods/Appodeal.zip --create-dirs --netrc-optional

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  9  258M    9 23.5M    0     0  23849      0  3:09:22  0:17:14  2:52:08     0curl: (56) SSLRead() return error -9806

以下是错误的图片:

POD INSTALL ERROR

2 个答案:

答案 0 :(得分:0)

经过多次尝试后立即安装

谢天谢地

这是解决方案:pod install --no-repo-update

答案 1 :(得分:0)

要使用Cocoapods将Appodeal iOS SDK下载并整合到您的项目中,请将以下行添加到项目的Podfile中:

platform :ios, '8.0'   

target 'Name' do
pod 'Appodeal', '1.3.7'
end

如果你对pod的版本有问题,请运行

rm -rf "${HOME}/Library/Caches/CocoaPods"
rm -rf "`pwd`/Pods/"
pod update