0

有没有人在他们的应用程序中集成了 Greystrip sdk 以显示广告。我正面临 sdk 的崩溃问题,不知道如何克服它。

尽管我已向 graystripe-sdk 人员发送了一封带有附件的邮件,但我将崩溃日志发布在这里是因为其他人之前会看到它们并克服它们。

或者你们是否知道任何显示 sdk 的广告从一开始就全屏显示广告。

谢谢,

马杜普

**This is the crash log when the ad is going to be displayed.**

-#0 0x30011940 in objc_msgSend()

-#1 0x000306a8 in -[GSContentController viewDidAppear:] (self=, _cmd=, a_animated=) at /greystripe/source/platforms/iPhone/SDK/Classes/GSContentController.m:1012

-#2 0x00033532 in -[GSController presentControllerAnimationDidStop:finished:context:] (self=, _cmd=, a_string=, a_finished=, a_context=0x5f1f710) at /greystripe/source/platforms/iPhone/SDK/Classes/GSController.m: 612

-#3 0x000346b6 in -[GSController presentController:animated:] (self=0x11e2d0, _cmd=, a_controller=0x1204f0, a_animated=0 '\000') at /greystripe/source/platforms/iPhone/SDK/Classes/GSController.m :298

-#4 0x00045874 in -[GSStandardCommandHandler displayContent:] (self=0x13b0f0, _cmd=, a_display=) at /greystripe/source/platforms/iPhone/SDK/Classes/GSStandardCommandHandler.m:671

-#5 0x3020ee44 在调用_ ()

-#6 0x30262ac6 in -[NSInvocation 调用] ()

-#7 0x30262a48 in -[NSInvocation invokeWithTarget:] ()

-#8 0x000366f8 in -[GSJavascriptBridge forwardInvocation:] (self=, _cmd=, a_invocation=) at /greystripe/source/platforms/iPhone/SDK/Classes/GSJavascriptBridge.m:359

-#9 0x30218094 在转发()

-#10 0x3020eda0 在forwarding_prep_0_ ()

-#11 0x3020ee44 在调用_ ()

-#12 0x30262ac6 in -[NSInvocation 调用] ()

-#13 0x00036ea2 in -[GSJavascriptBridge executeCocoaCommand:] (self=0x13c810, _cmd=, a_commandString=0x5f1a9b0) at /greystripe/source/platforms/iPhone/SDK/Classes/GSJavascriptBridge.m:419

-#14 0x00037000 in -[GSJavascriptBridge poll] (self=0x13c810, _cmd=) at /greystripe/source/platforms/iPhone/SDK/Classes/GSJavascriptBridge.m:385

-#15 0x3050e47e 在 __NSFireTimer ()

-#16 0x30254a0e 在 CFRunLoopRunSpecific ()

-#17 0x3025416a 在 CFRunLoopRunInMode ()

-#18 0x320452a4 在 GSEventRunModal ()

-#19 0x308f037c in -[UIApplication_run] ()

-#20 0x308eea94 在 UIApplicationMain()

**This crash also occurs when ad is about to display.**

*** -[WAKScrollView makeKeyAndVisible]:无法识别的选择器发送到实例 0x1e7470

**This crash happens when the ad is closed by pressing the skip button on the screen.**

*** -[NSCFString setHidden:]: 无法识别的选择器发送到实例 0x1b6cf0

程序接收信号:“EXC_BAD_ACCESS”。(gdb) where -#0 0x30011940 in objc_msgSend ()

-#1 0x000348a2 in -[GSController dismissController:animated:] (self=0x11e6f0, _cmd=, a_controller=0x120840, a_animated=0 '\000') at /greystripe/source/platforms/iPhone/SDK/Classes/GSController.m :307

-#2 0x000459a2 in -[GSStandardCommandHandler displayContent:] (self=0x114170, _cmd=, a_display=) at /greystripe/source/platforms/iPhone/SDK/Classes/GSStandardCommandHandler.m:676

-#3 0x0004578e in -[GSStandardCommandHandler actionSheet:didDismissWithButtonIndex:] (self=0x114170, _cmd=, a_actionSheet=, a_buttonIndex=374296) at /greystripe/source/platforms/iPhone/SDK/Classes/GSStandardCommandHandler.m:767

-#4 0x30a72d44 in -[UIActionSheet(Private) _alertSheetAnimationDidStop:finished:] ()

-#5 0x3093b028 in -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] ()

-#6 0x3093aec0 in -[UIViewAnimationState animationDidStop:finished:] ()

-#7 0x3293a43c 在 run_animation_callbacks()

-#8 0x3293a244 in CA::timer_callback ()

-#9 0x30254a0e 在 CFRunLoopRunSpecific ()

-#10 0x3025416a 在 CFRunLoopRunInMode ()

-#11 0x320452a4 在 GSEventRunModal ()

-#12 0x308f037c in -[UIApplication_run] ()

-#13 0x308eea94 在 UIApplicationMain ()

4

2 回答 2

1

Greystripe 支持在这里。我通过电子邮件向您发送了一些后续问题。

一旦我们弄清楚了这一点,我一定会在此处发布解决方案,以供在家中玩耍的任何人使用。

于 2010-02-25T00:03:37.710 回答
0

伙计们,我找到了解决方案。所以我只想分享我的想法。

graystripe 文档清楚地说,在显示广告时停止所有更新和渲染。

我正在做的是一个错误,我在我的警报被解除并召回之前调用了广告显示方法以显示来自 adWillClose 的警报。这导致了2天的问题来解决问题。

现在我以 0.1 秒的延迟调用 adDisplay 和 alert 方法,问题就消失了。

编辑:您也可以查看此链接... http://www.torquepowered.com/community/forums/viewthread/105119

希望这对其他人也有帮助。

谢谢,

马杜普

于 2010-02-25T04:35:45.753 回答