0

広告を表示するためのアプリケーションにGreystripSDKを統合した人はいますか。私はSDKでクラッシュの問題に直面しており、それを克服する方法がわかりません。

greystripe-sdkの人々に添付ファイル付きのメールを送信しましたが、他の誰かが以前にそれらを見て克服したであろう理由から、ここにクラッシュログを投稿しています。

または、最初から全画面で広告を表示するSDKを表示する広告を知っていますか。

ありがとう、

マッドハップ

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

-objc_msgSend()の#0 0x30011940

-#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 invoke]()

-#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 ()

-forwarding_prep_0_の#10 0x3020eda0

-呼び出し中の#11 0x3020ee44_ ()

-#12 0x30262ac6 in-[NSInvocation invoke]()

-#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

-__NSFireTimerの#15 0x3050e47e()

-#16 0x30254a0e in CFRunLoopRunSpecific()

-#17 0x3025416a in CFRunLoopRunInMode()

-GSEventRunModalの#18 0x320452a4()

-#19 0x308f037c in-[UIApplication _run]()

-UIApplicationMainの#20 0x308eea94()

**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)ここで、objc_msgSend()の-#00x30011940

-#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 in run_animation_callbacks()

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

-CFRunLoopRunSpecificの#9 0x30254a0e()

-#10 0x3025416a in CFRunLoopRunInMode()

-GSEventRunModalの#11 0x320452a4()

-#12 0x308f037c in-[UIApplication _run]()

-UIApplicationMainの#13 0x308eea94()

4

2 に答える 2

1

ここでGreystripeのサポート。フォローアップの質問をメールで送信しました。

家で一緒に遊んでいる人のために、これがわかったら、必ずここに解決策を投稿します。

于 2010-02-25T00:03:37.710 に答える
0

みんな私は解決策を見つけました。だから私は自分の考えを共有したいだけです。

greystripeのドキュメントには、広告が表示されている間はすべての更新とレンダリングを停止することが明確に記載されています。

私が行っていたのは、アラートが却下され、adWillCloseからのアラートを表示するためにリコールされる前に、広告表示メソッドを呼び出したという間違いでした。それは問題を解決するために2日間の問題を引き起こしました。

現在、0.1秒の遅延でadDisplayメソッドとalertメソッドを呼び出していますが、問題は解決しました。

編集:このリンクを確認することもできます... http://www.torquepowered.com/community/forums/viewthread/105119

これが他の人にも役立つことを願っています。

ありがとう、

マッドハップ

于 2010-02-25T04:35:45.753 に答える