PDA

View Full Version : admob integration help




uaecasher
Nov 24, 2009, 06:11 AM
hello,

I'm trying to integrate admob.com ads in my app, I did everything said in the read me file but i got this error.

http://mozymac.com/img/images/36Screen_shot_2009_11_24.png



Darkroom
Nov 24, 2009, 12:26 PM
did you add the framework to your project?

uaecasher
Nov 25, 2009, 09:15 AM
no, but I added the required frameworks now and now i get:

http://mozymac.com/img/images/16Screen_shot_2009_11_25.png

dejo
Nov 25, 2009, 09:55 AM
Maybe this Google Groups post (http://groups.google.com/group/admob-iphone-sdk/browse_thread/thread/93b0f5488172b8e7/7f9596307bbd862b?lnk=gst&q=objc_class_name_AdMobView#7f9596307bbd862b) will help.

uaecasher
Nov 25, 2009, 10:45 AM
the problem was that I added both the simulator and device lib when i was building for the simulator, now it has build successfully but the app runs then shuts down directly, I checked the council and found this.



2009-11-25 20:41:53.990 testPicker[14016:207] *** -[AdViewController superview]: unrecognized selector sent to instance 0x4d1c7e0
2009-11-25 20:41:53.992 testPicker[14016:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[AdViewController superview]: unrecognized selector sent to instance 0x4d1c7e0