I have read plenty of questions and answers here about weak linking, checking if a class is valid before executing code etc. My app is basically finished and ready (at least I thought it was, my first app for the store) but I need to fix this problem so my app natively runs on the iPad.
The error I'm receiving is the following: * Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: '* -[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class (ADBannerView)'
My question to you pro's out there is, I am setting some IBOutlet properties in my class header. For example; @property (nonatomic, retain) IBOutlet ADBannerView *tollBanner;
Is this property causing the problem when trying to run the app on the iPad? I have added some conditionals in my viewDidLoad method if the ADBannerView class not nil. Also in my dealloc method I'm releasing these ADBannerView objects.
I would appreciate any help with this and TIA.
T