CRASH: The Google Mobile Ads SDK was initialized without Appeasurement. IOS Admob

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hello Fernando, please help me when I try to export I have this problem, I already did everything that is normal, everything that appears to be done in the Google results I did, please could you help me. Problem is with Google Admob

    Please login to see this attachment.Please login to see this attachment.

    Edited once, last by lospropiosinc (October 1, 2023 at 5:56 PM).

  • Hello Fernando, please help me when I try to export I have this problem, I already did everything that is normal, everything that appears to be done in the Google results I did, please could you help me. Problem is with Google Admob

    Please login to see this attachment.Please login to see this attachment.

    Admob only does banners/interstitial/rewardedvideos and no app measurement so adding this id will bring this problem since there is nothing in the code, beside what internally the sdk can do.

    also please check that you are following this link steps for Please login to see this link.

    for what is tracking app and of course add the missing framework for this.

  • Thread 4: "The Google Mobile Ads SDK was initialized incorrectly. Google AdMob publishers, follow instructions here: Please login to see this link. to include the AppMeasurement framework, set the -ObjC linker flag, and set GADApplicationIdentifier with a valid app ID. Google Ad Manager publishers, follow instructions here: Please login to see this link."


    Friend, I have already done everything that can be done, could you tell me what my problem is?

  • Add all frameworks, use -ObC, add GAVApplicationIdentifier
    What's happening?

    Did you follow these steps (manual download) and this value in info.plist GADApplicationIdentifier

    Please login to see this link.

    then the other one link to check in the one posted above for permission regarding iOS 14

    please show us image from your left project view, framework list in General tab and other link flags, only way to see if you fulfill all what is required

    Regards,


    Fernando Vivolo

    ... new things are coming ...

  • I am facing a similar issue. Whenever I import the GoogleMobileAds libraries into the project, I get 2 errors:
    - "Undefined symbols:"
    - "Linker command failed with exit code 1 (use -v to see invocation)"

    Currently following these guides (Please login to see this link. and Please login to see this link.), which are the ones Fernando provided earlier.

    I feel like it could have something to do with the "Other Linker Flags" part, so I'm attaching a screenshot showing my implementation of this.

    What could I be missing or doing wrong? Thanks in advance :)

    Please login to see this attachment.

  • Please login to see this attachment.

    problem?

    It will be difficult to fix if you add values in the info that are not covered in the 10.2+ version, Not sure why you add this GAVIsManagerApp.

    There isn't intended to use FBLPromises, instead the one that comes with the sdk 10.2, promisesObjC.framework is the one to add in General tab, also you need to add AppTracking as mentioned for iOS 14+ and also JavaScriptCore.

    Regards,


    Fernando Vivolo

    ... new things are coming ...

  • To add admob correctly to iOS:

    From XCODE:
    1. Adds all files from the SDK folder into framework (ignore the Licenses folder), be sure to select "create groups" and to check "Copy Items if needed" and target your game (not Box2D)
    2. Adds the needed frameworks into: General > Frameworks, Librairies, etc..:
    - AdSupport
    - AppTrackingTransparency
    - CFNetwork
    - CoreTelephony
    - CoreVideo
    - GLKit
    - JavascriptCore
    - MessageUI
    - Security
    3. Adds -ObjC into: Build Settings > Linking > Other Linker Flags
    4. Adds your GADApplicationIdentifier into the .plist file
    5. Adds Privacy > Tracking Usage description into the .plist file
    6. Optionnal: Adds all Networks Items into SKAdNetworksItems as Array

    I currently use Admob iOS SDK 10.10 but it also works with previous versions.

    More info can be found on Admob website here: Please login to see this link.

    Edited 2 times, last by Dobermann (October 6, 2023 at 6:28 PM).

  • I was missing the AppTrackingTransparency library, that fixed my issue. Thank you :)

    Although there was literally no mention of it anywhere, neither on the older community threads dealing with similar issues or the admob help object. The latter should be updated with these libraries list so people don't go crazy like us

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!