When adding the IMA3 SDK to an AdMob project, the app compiles fine but crashes always on all devices with:
dyld: Library not loaded: @rpath/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds
Referenced from: *REMOVED*
Reason: image not found
Podfile:
pod 'Google-Mobile-Ads-SDK','7.17.0'
pod 'GoogleAds-IMA-iOS-SDK'
When switching to the IMA3-SDK, app runs fine:
pod 'Google-Mobile-Ads-SDK','7.17.0'
pod 'GoogleAds-IMA-iOS-SDK', '3.3.1'
Xcode is 8.2.1.
Thank ahead,
Nitzan
--
You received this message because you are subscribed to a topic in the Google Groups "Interactive Media Ads SDK" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ima-sdk/QrwiC1JWyD0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ima-sdk+unsubscribe@googlegroups.com.
To post to this group, send email to ima...@googlegroups.com.
Visit this group at https://groups.google.com/group/ima-sdk.
For more options, visit https://groups.google.com/d/optout.
`pod 'GoogleAds-IMA-iOS-SDK', '~> 3.4'`
Error message:
dyld: Library not loaded: @rpath/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds
Reason: image not found
pod 'GoogleAds-IMA-iOS-SDK-For-AdMob'
pod 'GoogleAds-IMA-iOS-SDK-For-AdMob', '3.3.1'
--
Hi Veer.Thanks for your time and effort.1. It seems that my original solution causes the dreaded "duplicate symbol _OBJC_CLASS_$_GAD_GTMStringEncoding" error. I have no idea why it did compile one.2. Your solution still causes the afformentioned "library not loaded" error.3. The only solutiuon that seems to work is reverting to the old 3.3.1 version of the bundled SDK:pod 'GoogleAds-IMA-iOS-SDK-For-AdMob', '3.3.1'
Your thoughts?
On Tuesday, February 7, 2017 at 6:31:50 PM UTC+2, Veer Arjun Busani wrote:
Hi Nitzan,You need to use a bundled version of both the frameworks and you can either download it manually and integrate it or use this pod spec. Let us know if that fixes the issue.
Thanks,Arjun BusaniIMA SDK Team
To unsubscribe from this group and all its topics, send an email to ima-sdk+u...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to ima-sdk+unsubscribe@googlegroups.com.
objc[27471]: Class PLBuildVersion is implemented in both /Applications/Xcode_8.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x11c37c998) and /Applications/Xcode_8.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x11c19e880). One of the two will be used. Which one is undefined.
objc[27471]: Class GAD_GTMStringEncoding is implemented in both /Users/gareth/Library/Developer/CoreSimulator/Devices/F29E29BF-1AC1-4800-8CD6-5B7FFE34B8C3/data/Containers/Bundle/Application/BD705399-64B6-410B-88A2-7F3BD0BE9251/BasicExample.app/Frameworks/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds (0x107d50b68) and /Users/gareth/Library/Developer/CoreSimulator/Devices/F29E29BF-1AC1-4800-8CD6-5B7FFE34B8C3/data/Containers/Bundle/Application/BD705399-64B6-410B-88A2-7F3BD0BE9251/BasicExample.app/BasicExample (0x1063944d8). One of the two will be used. Which one is undefined.
objc[27471]: Class GADGestureRecognizer is implemented in both /Users/gareth/Library/Developer/CoreSimulator/Devices/F29E29BF-1AC1-4800-8CD6-5B7FFE34B8C3/data/Containers/Bundle/Application/BD705399-64B6-410B-88A2-7F3BD0BE9251/BasicExample.app/Frameworks/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds (0x107d515b8) and /Users/gareth/Library/Developer/CoreSimulator/Devices/F29E29BF-1AC1-4800-8CD6-5B7FFE34B8C3/data/Containers/Bundle/Application/BD705399-64B6-410B-88A2-7F3BD0BE9251/BasicExample.app/BasicExample (0x106398b28). One of the two will be used. Which one is undefined.
objc[27471]: Class PLBuildVersion is implemented in both /Applications/Xcode_8.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x11c37c998) and /Applications/Xcode_8.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x11c19e880). One of the two will be used. Which one is undefined.
objc[27471]: Class GAD_GTMStringEncoding is implemented in both /Users/gareth/Library/Developer/CoreSimulator/Devices/F29E29BF-1AC1-4800-8CD6-5B7FFE34B8C3/data/Containers/Bundle/Application/BD705399-64B6-410B-88A2-7F3BD0BE9251/BasicExample.app/Frameworks/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds (0x107d50b68) and /Users/gareth/Library/Developer/CoreSimulator/Devices/F29E29BF-1AC1-4800-8CD6-5B7FFE34B8C3/data/Containers/Bundle/Application/BD705399-64B6-410B-88A2-7F3BD0BE9251/BasicExample.app/BasicExample (0x1063944d8). One of the two will be used. Which one is undefined.
objc[27471]: Class GADGestureRecognizer is implemented in both /Users/gareth/Library/Developer/CoreSimulator/Devices/F29E29BF-1AC1-4800-8CD6-5B7FFE34B8C3/data/Containers/Bundle/Application/BD705399-64B6-410B-88A2-7F3BD0BE9251/BasicExample.app/Frameworks/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds (0x107d515b8) and /Users/gareth/Library/Developer/CoreSimulator/Devices/F29E29BF-1AC1-4800-8CD6-5B7FFE34B8C3/data/Containers/Bundle/Application/BD705399-64B6-410B-88A2-7F3BD0BE9251/BasicExample.app/BasicExample (0x106398b28). One of the two will be used. Which one is undefined.
And here's the start of the log when running the app ON DEVICE (iPhone 7, iOS 10.2). Note the additional conflict.
objc[925]: Class GAD_GTMStringEncoding is implemented in both /private/var/containers/Bundle/Application/B75B0DCA-BB87-42CF-B07C-8FFAF4A9485D/BasicExample.app/Frameworks/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds (0x1007f8f88) and /var/containers/Bundle/Application/B75B0DCA-BB87-42CF-B07C-8FFAF4A9485D/BasicExample.app/BasicExample (0x10026e568). One of the two will be used. Which one is undefined.
objc[925]: Class GADGestureUtil is implemented in both /private/var/containers/Bundle/Application/B75B0DCA-BB87-42CF-B07C-8FFAF4A9485D/BasicExample.app/Frameworks/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds (0x1007f99d8) and /var/containers/Bundle/Application/B75B0DCA-BB87-42CF-B07C-8FFAF4A9485D/BasicExample.app/BasicExample (0x100272bb8). One of the two will be used. Which one is undefined.
objc[925]: Class GADGestureIdUtil is implemented in both /private/var/containers/Bundle/Application/B75B0DCA-BB87-42CF-B07C-8FFAF4A9485D/BasicExample.app/Frameworks/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds (0x1007f9a28) and /var/containers/Bundle/Application/B75B0DCA-BB87-42CF-B07C-8FFAF4A9485D/BasicExample.app/BasicExample (0x100272c08). One of the two will be used. Which one is undefined.
objc[925]: Class GADGestureRecognizer is implemented in both /private/var/containers/Bundle/Application/B75B0DCA-BB87-42CF-B07C-8FFAF4A9485D/BasicExample.app/Frameworks/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds (0x1007f9a78) and /var/containers/Bundle/Application/B75B0DCA-BB87-42CF-B07C-8FFAF4A9485D/BasicExample.app/BasicExample (0x100272c58). One of the two will be used. Which one is undefined.
objc[14453]: Class GAD_GTMStringEncoding is implemented in both /private/var/containers/Bundle/Application/E240884D-FF6A-4F51-9905-B767DBC3F7E5/MyApp.app/Frameworks/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds (0x100edcfb0) and /var/containers/Bundle/Application/E240884D-FF6A-4F51-9905-B767DBC3F7E5/MyApp.app/MyApp (0x100734da0). One of the two will be used. Which one is undefined.
objc[14453]: Class GADGestureUtil is implemented in both /private/var/containers/Bundle/Application/E240884D-FF6A-4F51-9905-B767DBC3F7E5/MyApp.app/Frameworks/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds (0x100edda00) and /var/containers/Bundle/Application/E240884D-FF6A-4F51-9905-B767DBC3F7E5/MyApp.app/MyApp (0x1007393f0). One of the two will be used. Which one is undefined.
objc[14453]: Class GADGestureIdUtil is implemented in both /private/var/containers/Bundle/Application/E240884D-FF6A-4F51-9905-B767DBC3F7E5/MyApp.app/Frameworks/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds (0x100edda50) and /var/containers/Bundle/Application/E240884D-FF6A-4F51-9905-B767DBC3F7E5/MyApp.app/MyApp (0x100739440). One of the two will be used. Which one is undefined.
objc[14453]: Class GADGestureRecognizer is implemented in both /private/var/containers/Bundle/Application/E240884D-FF6A-4F51-9905-B767DBC3F7E5/MyApp.app/Frameworks/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds (0x100eddaa0) and /var/containers/Bundle/Application/E240884D-FF6A-4F51-9905-B767DBC3F7E5/MyApp.app/MyApp (0x100739490). One of the two will be used. Which one is undefined.
Thanks
Rahat
To unsubscribe from this group and all its topics, send an email to ima-sdk+unsubscribe@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to ima-sdk+unsubscribe@googlegroups.com.