I attempted to install AdMob support via cocoapods with the following podfile:
use_frameworks!
pod 'mopub-ios-sdk'
pod 'mopub-ios-sdk/AdMob'
..and received the following error:
[!] The 'Pods' target has transitive dependencies that include static binaries: (/Users/<username>/Documents/Developer/<app>/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.1.0/GoogleMobileAds.framework)
Any idea why that's happening? I'm running El Capitan 10.11.4, CocoaPods 0.39.0, and XCode 7.3.
This is the answer I received from MoPub support (on 3/29/2016):
Thanks for reaching out! Unfortunately, the AdMob cocoa pod
integration is currently broken. Our team is aware of the problem and
is investigating it, but we do not have an ETA for when it will be
resolved. I would recommend integrating AdMob by following these
steps:
- Download the desired third party SDK and add the header files and
static libraries to your project. (For iAd you simply need to link
against the iAd framework, there is nothing to download).
- Add the desired custom event to your project. You do this by cloning the
mopub-ios-sdkrepo and dragging the custom event .h and .m files from
the relevant SDK folder underAdNetworkSupport.
We are so sorry for the inconvenience!