Unity iOS construct containing Admob causes error in Xcode

My mission makes use of Admob to show adverts. It really works on Android however not on iOS. Construct with Xcode is profitable. When working the app in Xcode on simulator, I get the next runtime error:

Image not discovered: OBJC_CLASS$_GADInterstitialAd

Used the newest variations of:
Unity 2021.3.18f1
Xcode Model 12.4 (12D4e)

Contents of Belongings/ExternalDependencyManager/Editor/1.2.175/AdMob_Dependencies.xml embrace iOS configuration:

  <!-- iOS Cocoapod dependencies might be specified by every iosPod aspect. -->
    <iosPod identify="Google-Cellular-Adverts-SDK" model="~> 7.4" bitcodeEnabled="true"
            minTargetSdk="14.0" addToAllTargets="false" />
      <!-- Set of supply URIs to seek for this Cocoapod spec.
           By default Cocoapods will try and fetch the pod specs from:
           * $HOME/.cocoapods/repos
           * https://github.com/CocoaPods/Specs

I attempted all variations of GoogleMobileAds from v7.0 to v7.4 unsuccessfully.

Leave a Reply