iosswiftiad

Swift: Application has iAd Configuration error


enter image description here

But in the simulator and on the device it gives an error

UserInfo={ADInternalErrorCode=4, NSLocalizedFailureReason=Application has iAd Network configuration error, ADInternalErrorDomain=ADErrorDomain}

Solution

  • iAd was shut down on June 30th. You'll have to use something else such as AdMob.