谷歌的AdMob广告SDK只能在模拟器 [英] Google AdMob Ads SDK only works in simulator

查看:220
本文介绍了谷歌的AdMob广告SDK只能在模拟器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

SDK版本5.0.4,设备有IOS 4.3.2。当建设模拟器,所有的罚款和广告负荷。当改变为'设备',我得到9000+警告(!)意外srelocation型9连接的应用程序本身的时候。当一台设备上运行的应用程序崩溃( EXC_BAD_ACCESS )在viewDidLoad中的第一个电话, [GADBannerView页头] initWithFrame]

SDK version 5.0.4, device has IOS 4.3.2. When building for the simulator, all is fine and the ads load. When changing to 'device', I get 9000+ warnings(!) "unexpected srelocation type 9" when linking the app itself. When run on a device, the app crashes (EXC_BAD_ACCESS) at the first call in viewDidLoad, [[GADBannerView alloc] initWithFrame].

我们有问题是最初,我们使用AdWhirl服务于旧的AdMob(NEE谷歌Admob的)广告。当使用合适的非测试AdWhirl账户,AdMob的广告(仅!)将永远不会出现。

The problem we had was that originally, we used AdWhirl to serve the old AdMob (nee Google Admob) ads. When using the proper non-test AdWhirl account, AdMob ads (only!) would never show up.

我已经试过一次过更新AdWhirl和谷歌Admob的,除去AdWhirl只能使用新的AdMob。对于后者的行为如上面所述,AdWhirl使用时它崩溃时,AdWhirl加载广告几秒钟后。

I've tried updating AdWhirl and Google Admob in one go, and removing AdWhirl only using the new AdMob. With the latter the behavior is as described above, when used with AdWhirl it crashes a few seconds later when AdWhirl has loaded the ad.

当然,其他人得到了这个,你做了什么来解决呢?

Surely someone else got this, what did you do to solve it?

(更新:对另一个iPhone安装它,我奇怪了比EXC_BAD_ACCESS更多信息上面写着:

(Update: on installing it on another Iphone, I strangely got more info than EXC_BAD_ACCESS. It says:

Program received signal:  "EXC_BAD_ACCESS".
Data Formatters temporarily unavailable, will re-try after a 'continue'. (Can't find dlopen function, so it is not possible to load shared libraries.)
Cannot access memory at address 0x2fdfe8c0
Cannot access memory at address 0x2fdfe8c0

我的猜测则是,我必须做出一个共享库静态的(以及它的工作原理上的模拟器,因为它dlopen的())。我怎么做? )

My guess then is that I must make a shared library static (and that it works on the Simulator, because it has dlopen()). How do I do that? )

推荐答案

我相信,随着SDK版本5.0.4,它只会如果你是第X code这是最新版本的工作,我相信4.2 。你对X code中的最新版本?

I believe that that with SDK Version 5.0.4, it will only work if you are on the latest version of XCode which is I believe 4.2. Are you on the latest version of XCode?

这篇关于谷歌的AdMob广告SDK只能在模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆