iAd Failed implementation

i’ve finished the first version of my app and when trying to compile it the build is successful, however, after the “made with code” comes up I get a crash and this comes up.

2016-01-26 17:26:13.239 HallNotes[604:132532] *** Assertion failure in -[UIApplication _runWithMainScene:transitionContext:completion:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit/UIKit-3512.30.14/UIApplication.m:3315
2016-01-26 17:26:13.244 HallNotes[604:132532] *** Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘Application windows are expected to have a root view controller at the end of application launch’
*** First throw call stack:
(0x183af5900 0x183163f80 0x183af57d0 0x18446899c 0x188a90ac0 0x188a8d5c0 0x1850ab790 0x1850abb10 0x183aacefc 0x183aac990 0x183aaa690 0x1839d9680 0x188856580 0x188850d90 0x10006bc20 0x18357a8b8)
libc++abi.dylib: terminating with uncaught exception of type NSException