Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

theprizerevealed

macrumors regular
Original poster
Feb 26, 2016
183
12
I would like to try to make an app with an advertizement inside it. I replicated this tutorial :


However Xcode tells me that there is a SIGAaBRT error somwhere in the Appdelegate.swift :
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)

Also I replicated their examples here for Swift code:




I just can't seem to find the problem. Any ideas?
 

casperes1996

macrumors 604
Jan 26, 2014
7,518
5,686
Horsens, Denmark
Well, you say you used those resources, but I think it'd be much easier to troubleshoot if we can see your own code. - The point of the uncaught exception and anywhere else relevant from the call stack. Have you run through it with the debugger to see if all state is as you expect when you get to the exception?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.