Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error installing Google-Mobile-Ads-SDK

Hi any one faced this error while installing Admob.

[!] /usr/bin/curl -f -L -o /var/folders/_r/thfyvgfn1f19wtmqttvwfpxh0000gn/T/d20161213-1890-nik74x/file.tgz https://dl.google.com/dl/cpdc/b8337da55c97ec54-Google-Mobile-Ads-SDK-7.14.0.tar.gz --create-dirs --netrc-optional

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:03:02 --:--:--     0curl: (56) SSLRead() return error -9806

Here is my podfile.

# Pods for admobintegration

pod 'Firebase/Core'
pod 'Firebase/AdMob'
like image 485
Mad Burea Avatar asked Dec 13 '16 06:12

Mad Burea


People also ask

How do I find my Google Ads SDK on my phone?

The deprecation is only for Android Mobile Ads SDK and not for iOS. In any case, the easiest way to know your Mobile Ads SDK version would be to record a Charles session with your app and look at the request response. It would have your SDKs version number.

What is Google Mobile Ads SDK?

The SDK exposes the capabilities of the in-app browsers available on iOS and Android. This allows developers to access device capabilities such as the accelerometer, gyroscope and compass via HTML5 where the platform supports them. Learn more about these capabilities for Android and iOS. App events.

How do I know what version of Admob is unity?

Open AdRequest. cs (in GoogleMobileAds Api) Look for the Version field parameter (IE public const string Version = "3.18. 0")


1 Answers

It wasted 5 hours to reach the solution. Now in my XCode project it work fine. The issue was because of Ethernet Network Proxy OR Firewall something like that were blocking firebase download urls.

When connect my macbook with Mobile Network, then it worked, And finally "pod install" command work successfully.

I have informed my Office Network Admin person to fix and allow firebase url https://dl.google.com/dl/cpdc/bf4dd8c5ac4d8ac9/Firebase-3.10.0.tar.gz from terminal. Hope they will fix this issue asap.

But for the time I have installed successfully firebase pod on Mobile Network. Hope this can solve your problem also.

like image 184
vnaren001 Avatar answered Sep 29 '22 21:09

vnaren001