簡體   English   中英

iOS應用程式當機問題`[UIWindow warpPoint:]`

[英]iOS App crash issue `[UIWindow warpPoint:]`

我在應用程序中發現了一個奇怪的崩潰問題,並且崩潰報告中沒有足夠的消息。

這是當機報告:

 -[TileLayer _isChargeEnabled]: unrecognized selector sent to instance 0x14aeadb0
(null)
(
    0   CoreFoundation                      0x376298a7 __exceptionPreprocess + 186
    1   libobjc.A.dylib                     0x3169e259 objc_exception_throw + 32
    2   CoreFoundation                      0x3762ca9b -[NSObject doesNotRecognizeSelector:] + 174
    3   CoreFoundation                      0x3762b915 ___forwarding___ + 300
    4   CoreFoundation                      0x37586650 _CF_forwarding_prep_0 + 48
    5   UIKit                               0x30775e43 -[UIWindow warpPoint:] + 686
    6   UIKit                               0x3075c1ff _UIApplicationHandleEvent + 2438
    7   GraphicsServices                    0x3777922b PurpleEventCallback + 882
    8   CoreFoundation                      0x375fd523 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 38
    9   CoreFoundation                      0x375fd4c5 __CFRunLoopDoSource1 + 140
    10  CoreFoundation                      0x375fc313 __CFRunLoopRun + 1370
    11  CoreFoundation                      0x3757f4a5 CFRunLoopRunSpecific + 300
    12  CoreFoundation                      0x3757f36d CFRunLoopRunInMode + 104
    13  GraphicsServices                    0x37778439 GSEventRunModal + 136
    14  UIKit                               0x3078bcd5 UIApplicationMain + 1080
    15  Movie                               0x00022eb3 _mh_execute_header + 7859
    16  Movie                               0x00022e40 _mh_execute_header + 7744
)

好吧,這意味着您嘗試將消息(也稱為方法) _isChargeEnabled給TileLayer類的對象,但是它不存在。

更新我做了一個快速的谷歌搜索,結果發現_isChargeEnabled是Apple的私有API。 您可以檢查這個這個以獲取更多信息。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM