版权归作者所有,转载请注明出处
The simplest way to import the SDK into an iOS project is to use CocoaPods.
Open your project's Podfile and add this line to your app's target:
pod 'Google-Mobile-Ads-SDK'
[!] `Google-Mobile-Ads-SDK` requires CocoaPods version `>= 1.9.0`, which is not satisfied by your current version, `1.8.3`.
gem sources -l
*** CURRENT SOURCES ***
https://rubygems.org/
Then from the command line run:
sudo gem install cocoapods
pod install --repo-update