Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8309161
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T19:01:30+00:00 2026-06-08T19:01:30+00:00

because the iAd does not work all around the world i decided to try

  • 0

because the iAd does not work all around the world i decided to try out the AdMob

the problem is that when i start the app there are no errors but when i press play game
the whole app crashes

error ->

[GADBannerView private]: unrecognized selector sent to instance 0x9159e50 2012-07-30 09:14:12.676 app[1323:c07] * Terminating app
due to uncaught exception ‘NSInvalidArgumentException’, reason:
‘-[GADBannerView private]: unrecognized selector sent to instance
0x9159e50’

code ->

.h

#import "GADBannerView.h"
GADBannerView *_AbMob;
@property(nonatomic,retain) GADBannerView *AbMob; 

.m

_AbMob =[[GADBannerView alloc]initWithFrame:CGRectMake(0.0,self.view.frame.size.height-195, 320, 50)];

    _AbMob.adUnitID = @"myNumber";
    _AbMob.rootViewController = self;
    [self.view addSubview:_AbMob];



    GADRequest *r = [[GADRequest alloc] init];
    r.testing = YES;

breakpoint->

app`-[GADBannerView adSize] at GADBannerView.m:100:
0x1f5c2:  pushl  %ebp
0x1f5c3:  movl   %esp, %ebp
0x1f5c5:  pushl  %esi
0x1f5c6:  subl   $20, %esp
0x1f5c9:  calll  0x1f5ce                   ; -[GADBannerView adSize] + 12 at GADBannerView.m:101
0x1f5ce:  popl   %esi
0x1f5cf:  movl   217414(%esi), %eax
0x1f5d5:  movl   %eax, 4(%esp)
0x1f5d9:  movl   12(%ebp), %eax
0x1f5dc:  movl   %eax, (%esp)
0x1f5df:  calll  0x32022                   ; symbol stub for: objc_msgSend
0x1f5e4:  movl   217442(%esi), %ecx
0x1f5ea:  movl   %ecx, 4(%esp)
0x1f5ee:  movl   %eax, (%esp)
0x1f5f1:  calll  0x32022                   ; symbol stub for: objc_msgSend
0x1f5f6:  movl   8(%ebp), %ecx
0x1f5f9:  testl  %eax, %eax
0x1f5fb:  je     0x1f618                   ; -[GADBannerView adSize] + 86 at GADBannerView.m:101
0x1f5fd:  movl   217402(%esi), %edx
0x1f603:  movl   %edx, 8(%esp)
0x1f607:  movl   %eax, 4(%esp)
0x1f60b:  movl   %ecx, (%esp)
0x1f60e:  calll  0x32034                   ; symbol stub for: objc_msgSend_stret
0x1f613:  addl   $16, %esp
0x1f616:  jmp    0x1f62f                   ; -[GADBannerView adSize] + 109 at GADBannerView.m:101
0x1f618:  movl   $0, 4(%ecx)
0x1f61f:  movl   $0, (%ecx)
0x1f625:  movl   $0, 8(%ecx)
0x1f62c:  addl   $20, %esp
0x1f62f:  popl   %esi
0x1f630:  popl   %ebp
0x1f631:  ret    $4

exception at 0x1f5e4: movl 217442(%esi), %ecx

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T19:01:31+00:00Added an answer on June 8, 2026 at 7:01 pm

    I just ran into this problem too. I used the -all_load linker flag.

    Here is the link you need.

    https://developers.google.com/mobile-ads-sdk/docs/#incorporating

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Because libeigen does special work to adjust the memory alignment of all of its
Because I am a newbie I am trying to log out any errors that
Because source code can not be accessed by all users, I want to remove
Because I have a tool that needs to do a lot of work at
Because shells other than ksh do not support pass-by-reference, how can multiple arrays be
because when I use the function getUser () do not get the correct id?
Because this is my first attempt at an extension method that seems quite useful
I got a problem to integrate iAd in my iPhone apps -- the banner
Because xlsx file may contain million rows, I decided to use poi event model,
Because the the UISwitch is not so easy to customize i decide i wanna

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.