I’ve added IAdsAddOn.h and IAdsAddOn.m as well as required changes
to both AppDelegate.h and AppDelegate.mm and now I’m getting this error:
Undefined symbols for architecture i386:
“OBJC_CLASS$_IAdsAddOn”, referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Any ideas what to look for,- code compiles fine without the iAd add-on …
I think I’ve managed to solve it, went to Target, Build Phases,
and Compile Sources, and added IAdsAddOn.m to the list …
Now I’m getting another error in the simulator to do with ads …
[2899:70b] bannerview failed to receive iAd error: The operation couldn’t be completed. Ad inventory unavailable
[2899:70b] bannerview failed to receive iAd error: The operation couldn’t be completed. Application has iAd Network configuration error
Escape, I am in the exact same situation. I get Network Configuration Error and can’t figure out why. When I do the test adds in simulator, nothing shows, but it works fine on real device. I published the app and my app is not making any ad requests, so I hope to figure out this problem soon.
The ads were working on a test device, and not in a simulator.
The I tested my already released app (i.Map Lite) and the ads didn’t
work in the simulator either, but I know it works in the released app.
Possibly something has changed in the simulator lately …
I published the game anyways and it’s awaiting approval so we will see.
I also did some minor changes to the ad library IAdsAddOn.m
to prevent the deprecated errors.
Thanks for the admob tip, I’ve already used iAds before so it was easier
to just go with that, does admob also pay if you’re just viewing the banner,
and not necessarily click on it?
My app just got released, so far no ads showing even though they
were showing on my iPad while testing the app, but not in simulator.
Hopefully this is just because the app just got approved, but we’ll see …