What you do n’t know

Building succeeds on the actual iPhone machine
Build fails on a simulator on Mac.

Current status

Enable AdMod in iOS apps

I made an application that only displays banner advertisements by following the steps above.

This code
import UIKit
import GoogleMobileAds
class ViewController: UIViewController {
    @IBOutlet weak var bannerView: GADBannerView!
    override func viewDidLoad () {
        super.viewDidLoad ()
        bannerView.adUnitID = "ca-app-pub-3940256099942544/2934735716"
        bannerView.rootViewController = self
        bannerView.load (GADRequest ())
Error description


Xcode: 11.2.1
Swift: 5.1.2