0

iOS アプリのクラッシュ レポートをここに投稿するのは簡単ではありませんが、それを理解するための助けが必要です。ビューまたはナビゲーション アニメーションで何かがクラッシュしているように見えますが、どこにあるのかわかりません。このようなクラッシュレポートを見た人はいますか? それは私のコードの範囲外ですか? my への最後の参照MyAppは にありますがmain.m、これはあまり意味がありません。

これを解釈する方法についてのアドバイスは非常に役に立ち、非常に高く評価されます。私は今、これらのことを正しく読むことを学んでいます。助けが得られるほど、私はより多くのことを学びます.

Thread 0 Crashed:
0   libobjc.A.dylib                     0x341975be _objc_msgSend + 30
1   UIKit                               0x333fbd7d -[UIImageView isAnimating] + 137
2   UIKit                               0x333ffb43 -[UIImageView stopAnimating] + 103
3   UIKit                               0x333ffa89 -[UIActivityIndicatorView _tearDownAnimation] + 37
4   UIKit                               0x333ffa1d -[UIActivityIndicatorView stopAnimating] + 25
5   UIKit                               0x333ff983 -[UIActivityIndicatorView _didMoveFromWindow:toWindow:] + 55
6   UIKit                               0x333ff5bf -[UIView(Internal) _didMoveFromWindow:toWindow:] + 1119
7   UIKit                               0x333ff5bf -[UIView(Internal) _didMoveFromWindow:toWindow:] + 1119
8   UIKit                               0x333ff5bf -[UIView(Internal) _didMoveFromWindow:toWindow:] + 1119
9   UIKit                               0x333ff5bf -[UIView(Internal) _didMoveFromWindow:toWindow:] + 1119
10  UIKit                               0x333f9e4b -[UIView(Hierarchy) _postMovedFromSuperview:] + 139
11  UIKit                               0x335c541b __UIViewWasRemovedFromSuperview + 219
12  UIKit                               0x3340d8a7 -[UIView(Hierarchy) removeFromSuperview] + 159
13  UIKit                               0x3345df01 -[UINavigationTransitionView _cleanupTransition] + 93
14  UIKit                               0x333f4ab3 -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 159
15  UIKit                               0x334698cf -[UIViewAnimationState animationDidStop:finished:] + 51
16  QuartzCore                          0x36cc8bd9 CA::Layer::run_animation_callbacks(void*) + 209
17  libdispatch.dylib                   0x3859f4b7 _dispatch_client_callout + 23
18  libdispatch.dylib                   0x385a41bd _dispatch_main_queue_callback_4CF$VARIANT$mp + 225
19  CoreFoundation                      0x3a280f3b __CFRunLoopRun + 1291
20  CoreFoundation                      0x3a1f3ebd _CFRunLoopRunSpecific + 357
21  CoreFoundation                      0x3a1f3d49 _CFRunLoopRunInMode + 105
22  GraphicsServices                    0x385c12eb _GSEventRunModal + 75
23  UIKit                               0x334332f9 _UIApplicationMain + 1121
24  MyApp                               0x0003706d main (main.m:45)
4

2 に答える 2

0

コードの大部分をコメントアウトして、そこからエラーが発生するかどうかを確認します。その場合は、コメントを絞り込みます。ログが示唆するように、アニメーションを含むメソッドから始めます。より良い方法があるかどうかはわかりませんが、これ以上の情報がない場合は、これが私が行う方法です。

于 2013-06-07T22:01:19.403 に答える
0

あなたのアプリケーションは「[UIImageView isAnimation]」まで正常に実行され、その後クラッシュしたようです。この路線の近くでチェックアウトできます。しかし、ゾンビオブジェクトを有効にして、どこが間違っているかを確認できるようにすることをお勧めします。

于 2013-06-08T08:51:53.617 に答える