- Created a project
Single View Application, - Added
iAd frameworkto the project, - did
import iAdin ViewController.swift, - Added
ADBannerViewto controller in storyboard, - I linked the view with the outlet,
ViewControllercalled the banner delegate,ViewController: UIViewController, ADBannerViewDelegatethatViewController: 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?