Google sdk not initialize peroperly

679 views
Skip to first unread message

Abdur Rehman

unread,
Apr 15, 2019, 1:58:39 AM4/15/19
to Google Mobile Ads SDK Developers
After implement google ad mob sdk ... App goes to crash ... And message shown in xcode ... Google sdk not initialized properly

mobileadssdk...@google.com

unread,
Apr 15, 2019, 4:36:30 AM4/15/19
to Abdur Rehman, Google Mobile Ads SDK Developers
Hello Abdur,

I'm James from the Mobile Ads SDK team. Thank you for contacting us. I'm here to assist you.

Could you confirm to us if you are using the latest SDK version? if so, could you please follow this guide and let us know if you are experiencing the same error.

Regards,
James Howell
Mobile Ads SDK Team

On 04/15/19 13:58:38 abdurre...@gmail.com wrote:
After implement google ad mob sdk ... App goes to crash ... And message shown in xcode ... Google sdk not initialized properly

--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
To post to this group, send email to google-admob-ads-sdk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-admob-ads-sdk/4816fbc2-5a8c-495b-b7a5-10d9056e8f69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

bangtguh

unread,
Apr 15, 2019, 1:42:02 PM4/15/19
to google-adm...@googlegroups.com
Hi James, I too have the same problem.
I already follow the instructions. I add my App ID to my plist.
I'm using version 7.42.2. I installed it with cocoapods.
This is the log. Can you please help?

2019-04-16 00:39:58.344688+0700 GymCalculator[4058:117869] [MC] Reading from private effective user settings.


2019-04-16 00:39:58.445538+0700 GymCalculator[4058:117770] *** Terminating app due to uncaught exception 'GADInvalidInitializationException', reason: 'The Google Mobile Ads SDK was initialized incorrectly. Google AdMob publishers should follow instructions here: https://googlemobileadssdk.page.link/admob-ios-update-plist to include the AppMeasurement framework, set the -ObjC linker flag, and set GADApplicationIdentifier with a valid App ID. Google Ad Manager publishers should follow instructions here: https://googlemobileadssdk.page.link/ad-manager-ios-update-plist'


*** First throw call stack:


(


        0   CoreFoundation                      0x00000001136c66fb __exceptionPreprocess + 331


        1   libobjc.A.dylib                     0x0000000112c72ac5 objc_exception_throw + 48


        2   CoreFoundation                      0x00000001136c6269 -[NSException raise] + 9


        3   GymCalculator                       0x000000010d3c9433 GADVerifyApplicationID + 148


        4   GymCalculator                       0x000000010d3ca059 GADVerifyApplicationID + 3258


        5   libdispatch.dylib                   0x00000001146c5d7f _dispatch_call_block_and_release + 12


        6   libdispatch.dylib                   0x00000001146c6db5 _dispatch_client_callout + 8


        7   libdispatch.dylib                   0x00000001146d4080 _dispatch_main_queue_callback_4CF + 1540


        8   CoreFoundation                      0x000000011362d8a9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9


        9   CoreFoundation                      0x0000000113627f56 __CFRunLoopRun + 2310


        10  CoreFoundation                      0x0000000113627302 CFRunLoopRunSpecific + 626


        11  GraphicsServices                    0x00000001161e02fe GSEventRunModal + 65


        12  UIKitCore                           0x000000011c083ba2 UIApplicationMain + 140


        13  GymCalculator                       0x000000010d2927bb main + 75


        14  libdyld.dylib                       0x000000011473b541 start + 1


        15  ???                                 0x0000000000000001 0x0 + 1


)


libc++abi.dylib: terminating with uncaught exception of type NSException


(lldb)

mobileadssdk...@google.com

unread,
Apr 16, 2019, 2:52:29 AM4/16/19
to bangtguh, Google Mobile Ads SDK Developers
Hi there,

Thank you for reaching out your concern to us.

For us to conduct an investigation to the issue that you're currently facing, could you provide us your sample project app (or test app) wherein this issue is being reproducible, reply it via Reply privately to author option.

Regards,
James Howell
Mobile Ads SDK Team


To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsubscrib...@googlegroups.com.

--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
To post to this group, send email to google-admob-ads-sdk@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages