[TIMOB-28160] iOS: "unrecognized selector sent to instance" logged for errors from native side
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2021-05-27T16:48:24.000+0000 |
Affected Version/s | Release 9.2.0 |
Fix Version/s | Release 10.0.1 |
Components | iOS |
Labels | n/a |
Reporter | Jan Vennemann |
Assignee | Jan Vennemann |
Created | 2020-10-02T09:13:34.000+0000 |
Updated | 2021-05-27T16:48:24.000+0000 |
Description
An additional error
-[__NSCFString count]: unrecognized selector sent to instance
gets logged for errors that originate on the native side.
*Steps to reproduce the behavior*
Ti.UI.createFoobar({})
*Expected behavior*
Only one error is logged: invalid method (createFoobar) passed to UIModule
*Actual behavior*
A second error is logged: -[__NSCFString count]: unrecognized selector sent to instance
PR: https://github.com/appcelerator/titanium_mobile/pull/12155
merged to master and 10_0_X for 10.0.1 target