Error installing Google-Mobile-Ads-SDK

Hello to everyone who encountered this error when 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'
+4
source share
2 answers

He spent 5 hours to reach a solution. Now in my Xcode project it works fine. The problem was that the Ethernet network proxy or firewall was blocked from loading firebase URLs.

macbook Mobile Network, , , , "pod install" .

Office Network Admin , URL- firebase https://dl.google.com/dl/cpdc/bf4dd8c5ac4d8ac9/Firebase-3.10.0.tar.gz . , .

firebase pod Mobile Network. , .

+4

FCM pods.try, , , , sceen. < `pod 'Firebase/Core', pod 'Firebase/Messaging' >

 # Uncomment the next line to define a global platform for your project
 # platform :ios, '9.0'

 target 'ChkdIn' do
  # Uncomment the next line if you're using Swift or would like to use  dynamic frameworks
 # use_frameworks!

 # Pods for ChkdIn
 pod 'Firebase/Core'
 pod 'Firebase/Messaging'
 pod 'CarbonKit'
 pod 'SDWebImage', '~>3.8'
 pod 'RKCardView'
 pod 'HTHorizontalSelectionList', '~> 0.7.4'
 pod 'DGActivityIndicatorView'
pod 'ASJTagsView'


target 'ChkdInTests' do
inherit! :search_paths
# Pods for testing
end

target 'ChkdInUITests' do
inherit! :search_paths
# Pods for testing
end

 end
+1

Source: https://habr.com/ru/post/1663585/


All Articles