Integrating IMA and DFP ads on the same iOS project

1,290 views
Skip to first unread message

Diogo Balseiro

unread,
Feb 12, 2015, 12:21:55 PM2/12/15
to ima...@googlegroups.com
Hi

I'm creating an iOS app and need to integrate both Interactive Media ads as well as DFP ads. 
I'm using the following podfile:

  pod 'GoogleAds-IMA-iOS-SDK', '~> 3.0.beta.11'
  pod
'Google-Mobile-Ads-SDK', '~> 7.0.0'


However, compiling the xcode project fails due to duplicate symbols:

duplicate symbol _gad_gig in:

    /*/Pods/GoogleAds-IMA-iOS-SDK/GoogleIMASDK3/libGoogleIMA3.a(GADGestureMock.o)

    /*/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.0.0/GoogleMobileAds.framework/GoogleMobileAds(GADGestureMock.o)

duplicate symbol _gad_gmcs in:

    /*/Pods/GoogleAds-IMA-iOS-SDK/GoogleIMASDK3/libGoogleIMA3.a(GADGestureMock.o)

    /*/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.0.0/GoogleMobileAds.framework/GoogleMobileAds(GADGestureMock.o)

duplicate symbol _gad_gmrs in:

    /*/Pods/GoogleAds-IMA-iOS-SDK/GoogleIMASDK3/libGoogleIMA3.a(GADGestureMock.o)

    /*/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.0.0/GoogleMobileAds.framework/GoogleMobileAds(GADGestureMock.o)

duplicate symbol _gad_htg in:

    /*/Pods/GoogleAds-IMA-iOS-SDK/GoogleIMASDK3/libGoogleIMA3.a(GADGestureMock.o)

    /*/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.0.0/GoogleMobileAds.framework/GoogleMobileAds(GADGestureMock.o)

duplicate symbol _OBJC_CLASS_$_GAD_GTMStringEncoding in:

    /*/Pods/GoogleAds-IMA-iOS-SDK/GoogleIMASDK3/libGoogleIMA3.a(GAD_GTMStringEncoding.o)

    /*/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.0.0/GoogleMobileAds.framework/GoogleMobileAds(GAD_GTMStringEncoding.o)

duplicate symbol _OBJC_IVAR_$_GAD_GTMStringEncoding.charMapData_ in:

    /*/Pods/GoogleAds-IMA-iOS-SDK/GoogleIMASDK3/libGoogleIMA3.a(GAD_GTMStringEncoding.o)

    /*/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.0.0/GoogleMobileAds.framework/GoogleMobileAds(GAD_GTMStringEncoding.o)

duplicate symbol _OBJC_IVAR_$_GAD_GTMStringEncoding.charMap_ in:

    /*/Pods/GoogleAds-IMA-iOS-SDK/GoogleIMASDK3/libGoogleIMA3.a(GAD_GTMStringEncoding.o)

    /*/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.0.0/GoogleMobileAds.framework/GoogleMobileAds(GAD_GTMStringEncoding.o)

duplicate symbol _OBJC_IVAR_$_GAD_GTMStringEncoding.doPad_ in:

    /*/Pods/GoogleAds-IMA-iOS-SDK/GoogleIMASDK3/libGoogleIMA3.a(GAD_GTMStringEncoding.o)

    /*/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.0.0/GoogleMobileAds.framework/GoogleMobileAds(GAD_GTMStringEncoding.o)

duplicate symbol _OBJC_IVAR_$_GAD_GTMStringEncoding.mask_ in:

    /*/Pods/GoogleAds-IMA-iOS-SDK/GoogleIMASDK3/libGoogleIMA3.a(GAD_GTMStringEncoding.o)

    /*/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.0.0/GoogleMobileAds.framework/GoogleMobileAds(GAD_GTMStringEncoding.o)

duplicate symbol _OBJC_IVAR_$_GAD_GTMStringEncoding.padLen_ in:

    /*/Pods/GoogleAds-IMA-iOS-SDK/GoogleIMASDK3/libGoogleIMA3.a(GAD_GTMStringEncoding.o)

    /*/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.0.0/GoogleMobileAds.framework/GoogleMobileAds(GAD_GTMStringEncoding.o)

duplicate symbol _OBJC_IVAR_$_GAD_GTMStringEncoding.paddingChar_ in:

    /*/Pods/GoogleAds-IMA-iOS-SDK/GoogleIMASDK3/libGoogleIMA3.a(GAD_GTMStringEncoding.o)

    /*/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.0.0/GoogleMobileAds.framework/GoogleMobileAds(GAD_GTMStringEncoding.o)

duplicate symbol _OBJC_IVAR_$_GAD_GTMStringEncoding.reverseCharMap_ in:

    /*/Pods/GoogleAds-IMA-iOS-SDK/GoogleIMASDK3/libGoogleIMA3.a(GAD_GTMStringEncoding.o)

    /*/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.0.0/GoogleMobileAds.framework/GoogleMobileAds(GAD_GTMStringEncoding.o)

duplicate symbol _OBJC_IVAR_$_GAD_GTMStringEncoding.shift_ in:

    /*/Pods/GoogleAds-IMA-iOS-SDK/GoogleIMASDK3/libGoogleIMA3.a(GAD_GTMStringEncoding.o)

    /*/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.0.0/GoogleMobileAds.framework/GoogleMobileAds(GAD_GTMStringEncoding.o)

duplicate symbol _OBJC_METACLASS_$_GAD_GTMStringEncoding in:

    /*/Pods/GoogleAds-IMA-iOS-SDK/GoogleIMASDK3/libGoogleIMA3.a(GAD_GTMStringEncoding.o)

    /*/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.0.0/GoogleMobileAds.framework/GoogleMobileAds(GAD_GTMStringEncoding.o)

Is the podfile incorrect?

Thanks, 
Diogo

Shawn Busolits (IMA SDK Team)

unread,
Feb 12, 2015, 12:35:56 PM2/12/15
to ima...@googlegroups.com
Hi Diogo,

If you're using IMA with Google Mobile Ads you'll need to use GoogleAds-IMA-iOS-SDK-For-AdMob instead. If you have any other questions let us know!

Thanks,
Shawn Busolits
IMA SDK Team

Diogo Balseiro

unread,
Feb 12, 2015, 12:45:56 PM2/12/15
to ima...@googlegroups.com
Hey, thanks for the quick response.

Changing the above podfile to 'pod 'GoogleAds-IMA-iOS-SDK-For-AdMob', '3.0.beta.11'' successfully removes the compile errors but it install the 6.12.2 version of Google-Mobile-Ads-SDK instead of the latest (7.0.0). 
Is there a more recent version of 'pod 'GoogleAds-IMA-iOS-SDK-For-AdMob' available, or another way to integrate the GMA 7 as well?

Thks

Shawn Busolits (IMA SDK Team)

unread,
Feb 12, 2015, 2:16:56 PM2/12/15
to ima...@googlegroups.com
Hi Diogo,

We are working on making sure Google Mobile Ads 7 still works with IMA the same way version 6 did. Once we've verified this we'll be updating the podspec so that IMA installs the latest GMA.

Thanks,
Shawn Busolits
IMA SDK Team

Diogo Balseiro

unread,
Feb 25, 2015, 10:39:41 AM2/25/15
to ima...@googlegroups.com
Hi 

Do you have a rough estimation of when that release will happen?

Thanks

Shawn Busolits (IMA SDK Team)

unread,
Feb 25, 2015, 10:49:59 AM2/25/15
to ima...@googlegroups.com
Hi Diogo,

Beta 12, which just went out recently, includes AdMob 7, so you should be able to start using that now.

Thanks,
Shawn Busolits
IMA SDK Team

Diogo Balseiro

unread,
Feb 25, 2015, 10:51:00 AM2/25/15
to ima...@googlegroups.com
Just noticed this as well. You guys rock ;)

Dan Morrow

unread,
Apr 9, 2015, 2:44:31 PM4/9/15
to ima...@googlegroups.com
I think I may have misread this... Does this mean that I don't need to include the "Google-Mobile-Ads-SDK" pod anymore, if I'm using Beta-12?

Thanks,
-Dan.

Shawn Busolits (IMA SDK Team)

unread,
Apr 9, 2015, 2:51:43 PM4/9/15
to ima...@googlegroups.com
Hi Dan,

If you're using Cocoapods, GoogleAds-IMA-iOS-SDK-For-AdMob lists Google-Mobile-Ads-SDK as a dependency, so it will be installed automatically when you run `pod install`. If you have any other questions let us know!

Thanks,
Shawn Busolits
IMA SDK Team

Angel Trejo

unread,
Jun 30, 2015, 1:19:10 PM6/30/15
to ima...@googlegroups.com
Hi, I have the same issue!!



I´m using the following podfile:
pod 'Google-Mobile-Ads-SDK', '~> 7.0'
pod 'GoogleAds-IMA-iOS-SDK', '~> 3.0.beta.14'

I get this!! 24 duplicate symbols for architecture arm64

Ld /Users/AngelTrejo/Library/Developer/Xcode/DerivedData/Example_Google_ADS-akpzlbjpmiknqvewabrtueodcurg/Build/Products/Debug-iphoneos/Example\ Google\ ADS.app/Example\ Google\ ADS normal arm64
    cd "/Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS"
    export IPHONEOS_DEPLOYMENT_TARGET=8.0
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk -L/Users/AngelTrejo/Library/Developer/Xcode/DerivedData/Example_Google_ADS-akpzlbjpmiknqvewabrtueodcurg/Build/Products/Debug-iphoneos -F/Users/AngelTrejo/Library/Developer/Xcode/DerivedData/Example_Google_ADS-akpzlbjpmiknqvewabrtueodcurg/Build/Products/Debug-iphoneos -F/Users/AngelTrejo/Documents/Angel\ Trejo/Apps\ Examples/Example\ Google\ ADS/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.3.1 -F/Users/AngelTrejo/Documents/Angel\ Trejo/Apps\ Examples/Example\ Google\ ADS/Pods/GoogleAds-IMA-iOS-SDK/GoogleInteractiveMediaAds/GoogleInteractiveMediaAds-GoogleIMA3 -filelist /Users/AngelTrejo/Library/Developer/Xcode/DerivedData/Example_Google_ADS-akpzlbjpmiknqvewabrtueodcurg/Build/Intermediates/Example\ Google\ ADS.build/Debug-iphoneos/Example\ Google\ ADS.build/Objects-normal/arm64/Example\ Google\ ADS.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -dead_strip -ObjC -framework AVFoundation -framework AdSupport -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework CoreMedia -framework CoreTelephony -framework EventKit -framework EventKitUI -framework GoogleInteractiveMediaAds -framework GoogleMobileAds -framework MessageUI -framework QuartzCore -framework StoreKit -framework SystemConfiguration -framework UIKit -weak_framework AdSupport -weak_framework WebKit -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=8.0 -lPods-Example\ Google\ ADS -Xlinker -dependency_info -Xlinker /Users/AngelTrejo/Library/Developer/Xcode/DerivedData/Example_Google_ADS-akpzlbjpmiknqvewabrtueodcurg/Build/Intermediates/Example\ Google\ ADS.build/Debug-iphoneos/Example\ Google\ ADS.build/Objects-normal/arm64/Example\ Google\ ADS_dependency_info.dat -o /Users/AngelTrejo/Library/Developer/Xcode/DerivedData/Example_Google_ADS-akpzlbjpmiknqvewabrtueodcurg/Build/Products/Debug-iphoneos/Example\ Google\ ADS.app/Example\ Google\ ADS

duplicate symbol _CFStringToCString in:
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/GoogleAds-IMA-iOS-SDK/GoogleInteractiveMediaAds/GoogleInteractiveMediaAds-GoogleIMA3/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds(GADGestureUtil.o)
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.3.1/GoogleMobileAds.framework/GoogleMobileAds(GADGestureUtil.o)
duplicate symbol _GetHintTrace in:
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/GoogleAds-IMA-iOS-SDK/GoogleInteractiveMediaAds/GoogleInteractiveMediaAds-GoogleIMA3/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds(GADGestureUtil.o)
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.3.1/GoogleMobileAds.framework/GoogleMobileAds(GADGestureUtil.o)
duplicate symbol _GetWebSafeEncode in:
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/GoogleAds-IMA-iOS-SDK/GoogleInteractiveMediaAds/GoogleInteractiveMediaAds-GoogleIMA3/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds(GADGestureUtil.o)
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.3.1/GoogleMobileAds.framework/GoogleMobileAds(GADGestureUtil.o)
duplicate symbol _IsReachable in:
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/GoogleAds-IMA-iOS-SDK/GoogleInteractiveMediaAds/GoogleInteractiveMediaAds-GoogleIMA3/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds(GADGestureUtil.o)
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.3.1/GoogleMobileAds.framework/GoogleMobileAds(GADGestureUtil.o)
duplicate symbol _OBJC_CLASS_$_GADGestureUtil in:
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/GoogleAds-IMA-iOS-SDK/GoogleInteractiveMediaAds/GoogleInteractiveMediaAds-GoogleIMA3/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds(GADGestureUtil.o)
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.3.1/GoogleMobileAds.framework/GoogleMobileAds(GADGestureUtil.o)
duplicate symbol _OBJC_METACLASS_$_GADGestureUtil in:
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/GoogleAds-IMA-iOS-SDK/GoogleInteractiveMediaAds/GoogleInteractiveMediaAds-GoogleIMA3/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds(GADGestureUtil.o)
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.3.1/GoogleMobileAds.framework/GoogleMobileAds(GADGestureUtil.o)
duplicate symbol _gbi in:
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/GoogleAds-IMA-iOS-SDK/GoogleInteractiveMediaAds/GoogleInteractiveMediaAds-GoogleIMA3/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds(GADGestureUtil.o)
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.3.1/GoogleMobileAds.framework/GoogleMobileAds(GADGestureUtil.o)
duplicate symbol _govr in:
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/GoogleAds-IMA-iOS-SDK/GoogleInteractiveMediaAds/GoogleInteractiveMediaAds-GoogleIMA3/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds(GADGestureUtil.o)
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.3.1/GoogleMobileAds.framework/GoogleMobileAds(GADGestureUtil.o)
duplicate symbol _OBJC_CLASS_$_GADGestureIdUtil in:
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/GoogleAds-IMA-iOS-SDK/GoogleInteractiveMediaAds/GoogleInteractiveMediaAds-GoogleIMA3/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds(GADGestureIdUtil.o)
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.3.1/GoogleMobileAds.framework/GoogleMobileAds(GADGestureIdUtil.o)
duplicate symbol _OBJC_IVAR_$_GADGestureIdUtil.userDefaults_ in:
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/GoogleAds-IMA-iOS-SDK/GoogleInteractiveMediaAds/GoogleInteractiveMediaAds-GoogleIMA3/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds(GADGestureIdUtil.o)
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.3.1/GoogleMobileAds.framework/GoogleMobileAds(GADGestureIdUtil.o)
duplicate symbol _OBJC_METACLASS_$_GADGestureIdUtil in:
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/GoogleAds-IMA-iOS-SDK/GoogleInteractiveMediaAds/GoogleInteractiveMediaAds-GoogleIMA3/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds(GADGestureIdUtil.o)
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.3.1/GoogleMobileAds.framework/GoogleMobileAds(GADGestureIdUtil.o)
duplicate symbol _cd in:
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/GoogleAds-IMA-iOS-SDK/GoogleInteractiveMediaAds/GoogleInteractiveMediaAds-GoogleIMA3/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds(GADGestureIdUtil.o)
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.3.1/GoogleMobileAds.framework/GoogleMobileAds(GADGestureIdUtil.o)
duplicate symbol _gdid in:
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/GoogleAds-IMA-iOS-SDK/GoogleInteractiveMediaAds/GoogleInteractiveMediaAds-GoogleIMA3/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds(GADGestureIdUtil.o)
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.3.1/GoogleMobileAds.framework/GoogleMobileAds(GADGestureIdUtil.o)
duplicate symbol _kasdik in:
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/GoogleAds-IMA-iOS-SDK/GoogleInteractiveMediaAds/GoogleInteractiveMediaAds-GoogleIMA3/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds(GADGestureIdUtil.o)
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.3.1/GoogleMobileAds.framework/GoogleMobileAds(GADGestureIdUtil.o)
duplicate symbol _OBJC_CLASS_$_GAD_GTMStringEncoding in:
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/GoogleAds-IMA-iOS-SDK/GoogleInteractiveMediaAds/GoogleInteractiveMediaAds-GoogleIMA3/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds(GAD_GTMStringEncoding.o)
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.3.1/GoogleMobileAds.framework/GoogleMobileAds(GAD_GTMStringEncoding.o)
duplicate symbol _OBJC_IVAR_$_GAD_GTMStringEncoding.charMapData_ in:
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/GoogleAds-IMA-iOS-SDK/GoogleInteractiveMediaAds/GoogleInteractiveMediaAds-GoogleIMA3/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds(GAD_GTMStringEncoding.o)
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.3.1/GoogleMobileAds.framework/GoogleMobileAds(GAD_GTMStringEncoding.o)
duplicate symbol _OBJC_IVAR_$_GAD_GTMStringEncoding.charMap_ in:
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/GoogleAds-IMA-iOS-SDK/GoogleInteractiveMediaAds/GoogleInteractiveMediaAds-GoogleIMA3/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds(GAD_GTMStringEncoding.o)
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.3.1/GoogleMobileAds.framework/GoogleMobileAds(GAD_GTMStringEncoding.o)
duplicate symbol _OBJC_IVAR_$_GAD_GTMStringEncoding.doPad_ in:
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/GoogleAds-IMA-iOS-SDK/GoogleInteractiveMediaAds/GoogleInteractiveMediaAds-GoogleIMA3/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds(GAD_GTMStringEncoding.o)
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.3.1/GoogleMobileAds.framework/GoogleMobileAds(GAD_GTMStringEncoding.o)
duplicate symbol _OBJC_IVAR_$_GAD_GTMStringEncoding.mask_ in:
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/GoogleAds-IMA-iOS-SDK/GoogleInteractiveMediaAds/GoogleInteractiveMediaAds-GoogleIMA3/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds(GAD_GTMStringEncoding.o)
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.3.1/GoogleMobileAds.framework/GoogleMobileAds(GAD_GTMStringEncoding.o)
duplicate symbol _OBJC_IVAR_$_GAD_GTMStringEncoding.padLen_ in:
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/GoogleAds-IMA-iOS-SDK/GoogleInteractiveMediaAds/GoogleInteractiveMediaAds-GoogleIMA3/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds(GAD_GTMStringEncoding.o)
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.3.1/GoogleMobileAds.framework/GoogleMobileAds(GAD_GTMStringEncoding.o)
duplicate symbol _OBJC_IVAR_$_GAD_GTMStringEncoding.paddingChar_ in:
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/GoogleAds-IMA-iOS-SDK/GoogleInteractiveMediaAds/GoogleInteractiveMediaAds-GoogleIMA3/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds(GAD_GTMStringEncoding.o)
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.3.1/GoogleMobileAds.framework/GoogleMobileAds(GAD_GTMStringEncoding.o)
duplicate symbol _OBJC_IVAR_$_GAD_GTMStringEncoding.reverseCharMap_ in:
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/GoogleAds-IMA-iOS-SDK/GoogleInteractiveMediaAds/GoogleInteractiveMediaAds-GoogleIMA3/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds(GAD_GTMStringEncoding.o)
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.3.1/GoogleMobileAds.framework/GoogleMobileAds(GAD_GTMStringEncoding.o)
duplicate symbol _OBJC_IVAR_$_GAD_GTMStringEncoding.shift_ in:
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/GoogleAds-IMA-iOS-SDK/GoogleInteractiveMediaAds/GoogleInteractiveMediaAds-GoogleIMA3/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds(GAD_GTMStringEncoding.o)
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.3.1/GoogleMobileAds.framework/GoogleMobileAds(GAD_GTMStringEncoding.o)
duplicate symbol _OBJC_METACLASS_$_GAD_GTMStringEncoding in:
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/GoogleAds-IMA-iOS-SDK/GoogleInteractiveMediaAds/GoogleInteractiveMediaAds-GoogleIMA3/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds(GAD_GTMStringEncoding.o)
    /Users/AngelTrejo/Documents/Angel Trejo/Apps Examples/Example Google ADS/Pods/Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-7.3.1/GoogleMobileAds.framework/GoogleMobileAds(GAD_GTMStringEncoding.o)
ld: 24 duplicate symbols for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Shawn Busolits (IMA SDK Team)

unread,
Jul 1, 2015, 11:10:23 AM7/1/15
to ima...@googlegroups.com, angel...@gmail.com
Hi Angle,

Did you try the solution that originally resolved this case?

"If you're using Cocoapods, GoogleAds-IMA-iOS-SDK-For-AdMob lists Google-Mobile-Ads-SDK as a dependency, so it will be installed automatically when you run `pod install`."

Thanks,
Shawn Busolits
IMA SDK Team

Shawn Busolits (IMA SDK Team)

unread,
Jul 1, 2015, 11:11:16 AM7/1/15
to ima...@googlegroups.com, ima-sdk-ad...@google.com, angel...@gmail.com
Hi Angel,

To be clear, you should be using GoogleAds-IMA-iOS-SDK-For-AdMob instead of GoogleAds-IMA-iOS-SDK.

Thanks,
Shawn Busolits
IMA SDK Team
Message has been deleted

Karen Anne Tolentino

unread,
Jul 14, 2015, 5:01:45 AM7/14/15
to ima...@googlegroups.com
Hi Shawn,

I do not use Pod. I manually add the SDK.
Initially, I have the GoogleMobileAds.framework in the project. Then I added .framework inside GoogleInteractiveMediaAds-GoogleIMA3.
The problem I experience is the same as the one in this thread. What should be the action to solve it?

Thanks,
Karen

Shawn Busolits (IMA SDK Team)

unread,
Jul 14, 2015, 10:07:26 AM7/14/15
to ima...@googlegroups.com, bune...@gmail.com
Hi Karen,

You should have two folders in the zip you downloaded - GoogleInteractiveMediaAds-GoogleIMA3 and GoogleInteractiveMediaAds-GoogleIMA3ForAdMob. You'll want to use the framework from the "ForAdMob" folder. Give that a shot and let me know if it works.

Thanks,
Shawn Busolits
IMA SDK Team

Karen Anne Tolentino

unread,
Jul 16, 2015, 4:29:33 AM7/16/15
to ima...@googlegroups.com, bune...@gmail.com
Yes, it works! Thanks Shawn!

behea...@gmail.com

unread,
Jul 16, 2015, 10:09:14 PM7/16/15
to ima...@googlegroups.com
I'm having a similar problem, but not solved with the adMob version.  My app has successufully used google banner ads and when I add the IMA adMob framework, there are many duplicate symbols GAD_GTMStringEncoding.  I have both frameworks in the project.  If I remove the banner ad framework, i have undefined symbols GADRequest, kGADSimulatorID.  

So...
I can run banner ads (without IMA framework) successfully.  GoogleMobileAds.framework 7.3-2.1
I can run IMA ads (without the banner ads framework) successfully.  IMA 3.0.b14
I cannot run them in the same project.

This is using iOS SDK 8.4.

I must be doing something wrong - any ideas?  Does the banner ad API change with IMA?

thanks
-dave

Shawn Busolits (IMA SDK Team)

unread,
Jul 17, 2015, 10:25:38 AM7/17/15
to ima...@googlegroups.com, behea...@gmail.com
Hi Dave,

Interesting, those are the exact errors we would expect to see if you were using the non-AdMob version of our SDK. Could you double check to make sure your framework search paths list is pointing to the directory with the AdMob version of our framework, and *not* to the directory with the non-AdMob version? If it happens to be pointing to both (which happens sometimes) it could be preferring the non-AdMob version over the AdMob version. There may be other paths there other than the IMA paths - you should leave those alone.



Thanks,
Shawn Busolits
IMA SDK Team

behea...@gmail.com

unread,
Jul 19, 2015, 11:15:51 AM7/19/15
to ima...@googlegroups.com, behea...@gmail.com
Thanks Shawn - of course you are correct!  It was the paths - after my machinations with the frameworks, the linker path had both adMob and non-adMob paths with the non-adMob first.  Seems Xcode did not remove the path from the link PATH after I removed a framework.  When I fixed the link PATH, it worked.   This is probably my fault too - I suspect I may have deleted the framework from the project tree view of files in some manual way, rather than using the "-" method in the project General view. 

Thanks for the fast response!

Mss iOS

unread,
Oct 21, 2016, 1:39:37 AM10/21/16
to Interactive Media Ads SDK, behea...@gmail.com
Hello Shawn Busolits
 i am using google mobile ads frame work and IMA to the same project i am facing the issue like file conflict i am sharing the screen shot as well .I am unable to find the proper frame work kindly help me regarding this and please provide proper links .Thank you 
Screen Shot 2016-10-21 at 11.08.55 AM.png

Veer Arjun Busani

unread,
Oct 21, 2016, 10:57:14 AM10/21/16
to Interactive Media Ads SDK, behea...@gmail.com
Hi there,

We have a Mobile Ads and IMA bundled iOS framework that would eliminate this issue. You can download our IMA iOS SDK and copy the framework in the GoogleInteractiveMediaAds-GoogleIMA3ForAdMob folder if you want to manually integrate the SDK. Alternatively, you can use this pod to integrate both of the SDKs. 

Also, I would like to request to please open a new thread incase you need any more assistance.

Thanks,
Arjun Busani
IMA SDK Team

Mss iOS

unread,
Oct 22, 2016, 7:58:08 AM10/22/16
to Interactive Media Ads SDK, behea...@gmail.com
Hi i install the IMA frame work admit and its working fine for both google mobile ads and IMA but i am facing an issue i want to run the same frame work in iOS 7 swell please provide me the  links as well .
Thank you 

Veer Arjun Busani

unread,
Oct 24, 2016, 9:53:28 AM10/24/16
to Interactive Media Ads SDK, behea...@gmail.com
Hi there,

While the Mobile Ads SDK still supports iOS 6, the IMA SDK (from v3.3.1) has deprecated support for iOS 7 and the minimum supported version is iOS 8.

Thanks,
Arjun Busani
IMA SDK Team

Paul Norton

unread,
Feb 15, 2017, 8:45:51 PM2/15/17
to Interactive Media Ads SDK
Like Karen, I'm trying to add the SDKs without using Cocoapods.
I'm not finding a `GoogleInteractiveMediaAds-GoogleIMA3ForAdMob` folder in the zip, was it removed? Has the approach changed?

Thanks,

Paul

Veer Arjun Busani

unread,
Feb 16, 2017, 10:04:55 AM2/16/17
to Interactive Media Ads SDK
Hi Paul,

The IMA iOS SDK is now a dynamic framework and you do need a special bundle to include the Mobile Ads framework. You can now include our standalone IMA framework and add the Mobile Ads SDK separately.

Thanks,
Arjun Busani
IMA SDK Team

Paul Norton

unread,
Feb 16, 2017, 12:36:29 PM2/16/17
to Interactive Media Ads SDK
Hi Arjun, 

Thank you so much, it didn't work originally, but I think that was just a matter of having older versions of the frameworks.

Thanks,

Paul
Reply all
Reply to author
Forward
0 new messages