且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

iOS崩溃日志NSObject didNotRecognizeSelector:-在哪一行?

更新时间:2023-02-13 20:18:31

简短答案:

您正在向无法有效响应的对象发送消息。堆栈跟踪记录告诉您,在调用 [PaymillPaymentService handleTransactionListRequest:] 时,PaymillPaymentService无法接受handleTransactionListRequest。

You are sending a message to an object that cannot validly respond to it. The stack trace is telling you that when you make the call [PaymillPaymentService handleTransactionListRequest:] that PaymillPaymentService cannot accept handleTransactionListRequest.

长答案:

在此处查看堆栈跟踪:


5控制0x10005acb4-[PaymillPaymentService handleTransactionListRequest:](PaymillPaymentService.m:211)

5 Control 0x10005acb4 -[PaymillPaymentService handleTransactionListRequest:] (PaymillPaymentService.m:211)

这是告诉您在文件PaymillPaymentService.m中在线211您正在向 PaymillPaymentService 发送消息 handleTransactionListRequest ,它无法有效响应。在与rmaddy,Hot Licks和Paulc11的讨论中,您提到第211行是handleTransactionListRequest的函数条目(无论位于哪个文件中)。如果是这样,那是偶然的。

This is telling you that in the file PaymillPaymentService.m on line 211 you are sending PaymillPaymentService the message handleTransactionListRequest to which it cannot validly respond. In your discussion with rmaddy, Hot Licks, and Paulc11 you mentioned that line 211 is the function entry for handleTransactionListRequest (in whatever file it resides). If that's the case it is coincidental.

如果要进一步跟进,则需要发布PaymillPaymentService.m并确保包含所有行号。

If you want further follow up you need to post PaymillPaymentService.m and ensure that you include all the line numbers.