Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28160] iOS: "unrecognized selector sent to instance" logged for errors from native side

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2021-05-27T16:48:24.000+0000
Affected Version/sRelease 9.2.0
Fix Version/sRelease 10.0.1
ComponentsiOS
Labelsn/a
ReporterJan Vennemann
AssigneeJan Vennemann
Created2020-10-02T09:13:34.000+0000
Updated2021-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

Comments

  1. Jan Vennemann 2020-10-05

    PR: https://github.com/appcelerator/titanium_mobile/pull/12155
  2. Christopher Williams 2021-05-27

    merged to master and 10_0_X for 10.0.1 target

JSON Source