Crash from `GADApplicationVerifyPublisherInitializedCorrectly + 296`

537 views
Skip to first unread message

Chris Tibbs

unread,
Feb 1, 2023, 3:03:04 PM2/1/23
to Google Mobile Ads SDK Developers
I'm getting this error in my iOS app, which causes a crash. This crash doesn't reproduce when running the app in debug mode, it only happens after I deploy the app to TestFlight and launch it on my device.

From the Xcode crash logs it looks like it's hitting an NSException. I attached a screenshot of the relevant info.


Screenshot 2023-02-01 at 3.01.21 PM.png

Mobile Ads SDK Forum Advisor

unread,
Feb 1, 2023, 4:04:46 PM2/1/23
to google-adm...@googlegroups.com

Hi Chris,

 

Thank you for reaching out to us.

 

For us to further investigate this, can you provide us privately the following information below?

 

  • Sample app project where this behavior is happening
  • Steps to replicate
  • Full stack trace
  • SDK version
  • Mediation adapter use (if any)
  • App ID
  • Device name and versions affected

 

You can provide the following details via reply privately to author option or directly provide it to the link below.

 

If the file(s) you are looking to share are less than 25mb in total you can attach them to this case on your next reply. If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, you can share your files with me by performing the following steps:

 

1. Navigate to

https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=Mobile+Ads+SDK&entry.460850823=5004Q00002iUiiyQAC&entry.80707362=00165628

2. Fill out all fields, and attach your file(s).

3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link.

 

Regards,

Google Logo
Princess Pamela
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2iUiiy:ref

Chris Tibbs

unread,
Feb 2, 2023, 12:57:45 PM2/2/23
to Google Mobile Ads SDK Developers
I was able to reproduce the crash locally, which gave me the following message:

Terminating app due to uncaught exception 'GADInvalidInitializationException', reason: 'The Google Mobile Ads SDK was initialized without an application ID. Google AdMob publishers, follow instructions at https://googlemobileadssdk.page.link/admob-ios-update-plist to set a valid application ID. Google Ad Manager publishers, follow instructions at https://googlemobileadssdk.page.link/ad-manager-ios-update-plist.'

Following those instructions resolved the crash. No further assistance is needed, thanks Princess!

Reply all
Reply to author
Forward
0 new messages