After updating iOS 5.0.1 iAds test is not available on iPad 2

Both versions of my first Puffer Train Task app are currently in the Apple Review lineup. On Saturday night, I upgraded my iPhone 4 from 5.0 to 5.0.1, and also installed 5.0.1 on the new iPad 2.

Lite versions of my application with iAds on both devices were created and installed. Initially, 5.0.1 caused a crash. I was able to quickly solve this (poor order of framework calls on my part). But! I did REST on Sunday trying to chase down any reason iAds are tested before my iPhone (using a wireless connection only for apple-to-apple comparisons), but the same code and the same calls fail with the error message "No resources available "on my connected" wireless only "iPad 2.

The application was built using xcode 4.2 for iphoneos, not universal, so I confirmed that calling the iAd infrastructure: ADBannerContentSizeIdentifierPortrait returns 320x50, as you would expect. I think this eliminates any problem that might be caused by iAd requests of different sizes.

Has anyone else experienced the same issue with Apple test ads using an iPad 2 device upgraded to 5.0.1? If so, I would like to know that I can stop (or at least slow down) hair pulling!

ps. Google AdMob ads that I replace with iAds when they are unavailable work Just Fine!

+4
source share
1 answer

Since you are building and installing, you are not using the Live version (read: App Store) of your application. That's why you see test ads instead of real live ads.

Anytime I have ever installed an app on a device with Xcode, I am greeted by test ads from Apple. I believe this is because Apple intelligently looks at your application (either version numbers or the initialization file, baked in the application), and knows that this is a developer assembly.

Now, if you see test ads from the version of your application that you downloaded from the App Store, this is a completely different problem. I saw it too, but that doesn't seem like your problem.

0
source

Source: https://habr.com/ru/post/1381183/


All Articles