The following error will appear when I add in InMobi iOS:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[IMAdView initWithFrame:imAppId:imAdUnit:rootViewController:]: unrecognized selector sent to instance 0xb9e2080'
I have the following:
・ AdMob Mediation SDK add
・ InMobi adapter and SDK add
・ Other Linker Flags add -ObjC and -all_load**
Still missing something? Do you need or import?
It looks like you aren't calling this method on a proper
IMAdView
object. As per the documentation, this works:You have to allocate an object with
alloc
before initializing it.