iOS 5.0.1 升级后,测试 iAds 在 iPad 2 上不可用

发布于 2024-12-15 14:57:46 字数 617 浏览 3 评论 0原文

我的第一个应用程序“Puffer's Train Challenge”的两个版本目前都位于 Apple 队列“审核中”中。周六晚上,我将 iPhone 4 从 5.0 升级到 5.0.1,还在新的 iPad 2 上安装了 5.0.1

。在两台设备上安装了带有 iAds 的精简版应用程序。 5.0.1 最初导致两者崩溃。我能够快速解决这个问题(我的框架调用顺序错误)但是!我花了周日剩下的时间试图找出测试 iAds 被提供到我的 iPhone 上的任何原因(仅使用无线连接来进行比较),但相同的代码和相同的调用失败并显示错误消息“我连接的“仅限无线”iPad 2 上没有可用库存。

应用程序是使用适用于 iphoneos 的 xcode 4.2 构建的,不是通用的,因此我验证了 iAd 框架调用: ADBannerContentSizeIdentifierPortrait 返回应有的 320x50。我“认为”这排除了由不同大小的 iAd 请求引起的任何问题。

还有其他人在使用升级到 5.0.1 的 iPad 2 设备时遇到过与 Apple 测试广告相同的问题吗?如果是这样,我很想知道这一点,这样我就可以停止(或至少放慢)拔头发的速度!

附注当 iAd 不可用时,我用 Google 的 AdMob 广告代替它,效果很好!

Both versions of my first App "Puffer's Train challenge" are currently sitting in the Apple queue "In Review". Saturday night I upgraded my iPhone 4 from 5.0 to 5.0.1 and also installed 5.0.1 on a new iPad 2.

Built & installed Lite versions of my app with iAds onto both devices. 5.0.1 initially caused both to crash. I was able to resolve that quickly (bad order of framework calls on my part) However! I spent the REST of Sunday trying to chase down any reason that test iAds are being served up to my iPhone (using wireless connection only to compare apples-to-apples), but the same code and the same calls fail with the error message "No inventory available" on my connected "wireless only" iPad 2.

App is built using xcode 4.2 for iphoneos, not universal, so I verified that the iAd framework call: ADBannerContentSizeIdentifierPortrait is returning 320x50 as it should. I "think" this rules out any problem that would be caused by different sized iAd requests.

Has anyone else experienced this same issue with Apple's test Ads using an iPad 2 device upgraded to 5.0.1? If so, I'd love to know that so I can stop (or at least slow down) pulling my hair out!

ps. Google's AdMob ads with which I replace iAds when not available, work Just Fine!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

软的没边 2024-12-22 14:57:46

因为你正在做一个构建和构建安装您不使用的应用程序的 Live(阅读:App Store)版本。这就是为什么您看到的是测试广告而不是实际的实时广告。

每当我使用 Xcode 将应用程序安装到设备上时,我都会收到 Apple 的测试广告。我相信这是因为 Apple 会智能地查看您的应用程序(版本号或应用程序中内置的配置文件)并知道它是开发人员版本。

现在,如果您在从 App Store 下载的应用程序版本中看到测试广告,那么这是一个完全不同的问题。我也看到过这个,但这听起来不像你的问题。

Because you're doing a Build & Install you're not using the Live (read: App Store) version of your app. This is why you're seeing Test Ads instead of actual Live ads.

Any time I've ever install an app to a device with Xcode I'm greeted with Test Ads from Apple. I believe this is because Apple intelligently looks at your app (either the version numbers or the provisioning file baked into the app) and knows that it's a developer build.

Now, if you're seeing Test Ads from the version of your app you've downloaded from the App Store then that's an entirely different problem. I've seen this as well but it doesn't sound like your problem.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文