Mobile Ad SDK in Podspec Library

130 views
Skip to first unread message

agor...@1up.fm

unread,
Feb 25, 2015, 1:13:49 PM2/25/15
to google-adm...@googlegroups.com
Greetings,

I have a CocoaPods Podspec Library that uses the Mobile Ad, Analytic, and IMA SDK as dependencies as so:

s.dependency "GoogleAnalytics-iOS-SDK", "~> 3.0"
s.dependency 'Google-Mobile-Ads-SDK', '~> 7.0'
s.dependency 'GoogleAds-IMA-iOS-SDK-For-AdMob', '3.0.beta.12'

After updating to version 7 of the Mobile Ads SDK, I can no longer import neither the module nor any of the individual framework headers to any of the classes within that Podspec Library nor any other Podspec Library that my Target uses.  Only the classes that are part of my Build Target are able to import the module or the individual framework files.  My target builds for iOS 7 using the iOS 8 SDK.  My CocoaPods install is version 0.35.0.  Any help would be appreciated.

Eric Leichtenschlag (Mobile Ads SDK Team)

unread,
Mar 3, 2015, 12:27:31 AM3/3/15
to google-adm...@googlegroups.com
Hello,

I think you may be affected by this cocoapods bug. Care to see if this workaround works?

Thanks,
Eric

agor...@1up.fm

unread,
Mar 3, 2015, 12:53:19 PM3/3/15
to google-adm...@googlegroups.com
Thank you for the response.  This issue: https://github.com/CocoaPods/CocoaPods/issues/3161 is what I'm experiencing.  I already tried modifying the xcodeconfig to no avail.


On Wednesday, February 25, 2015 at 1:13:49 PM UTC-5, agor...@1up.fm wrote:

Eric Leichtenschlag (Mobile Ads SDK Team)

unread,
Mar 4, 2015, 9:55:05 PM3/4/15
to google-adm...@googlegroups.com
Bummer.

Does the same problem happen if the app using your spec also specifies 'Google-Mobile-Ads-SDK' as a direct dependency themselves?
Reply all
Reply to author
Forward
0 new messages