1. Created a project Single View Application ,
  2. Added iAd framework to the project,
  3. did import iAd in ViewController.swift,
  4. Added ADBannerView to controller in storyboard,
  5. I linked the view with the outlet,
  6. ViewController called the banner delegate,
  7. ViewController: UIViewController, ADBannerViewDelegate that ViewController: UIViewController, ADBannerViewDelegate

I run a project and always catch a mistake

Error Domain = ADErrorDomain Code = 4 "Application has iAd Network configuration error" UserInfo = {ADInternalErrorCode = 4, NSLocalizedFailureReason = Application has iAd Network Address error, ADInternalErrorDomain = ADErrorDomain}

Can I do such test applications without a developer account, or should I configure iAd display?

    1 answer 1

    Because iAd are closed from June 30th. Link to official news

    Use other advertising platforms. For example, admob

    • and they forever close, or redo and then again give the opportunity to use? - user204104
    • @DotProx judging by the wording, forever. But maybe later something else will be rolled out, who knows them. And if they roll it out, then I am sure that many moments will be changed. - VAndrJ