How can I debug 'unrecognized selector sent to instance' error

Try setting a symbolic breakpoint on -[NSObject(NSObject) doesNotRecognizeSelector:]. Just click [+] in the bottom left corner of the Breakpoint Navigator to add a breakpoint. Then click ‘Add Symbolic Breakpoint’. Reproducing your crash now should give you a better idea where in your code the issue occurs.

enter image description here


电子邮件地址不会被公开。 必填项已用*标注