Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27827] iOS: Error reporting is broken after updating to Xcode 11.4 / iOS 13.4

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2020-04-09T19:08:43.000+0000
Affected Version/sRelease 9.0.0
Fix Version/sRelease 9.0.1
ComponentsCore
Labelsn/a
ReporterJan Vennemann
AssigneeJan Vennemann
Created2020-03-28T10:05:38.000+0000
Updated2020-04-09T19:08:43.000+0000

Description

After updating to Xcode 11.4 / iOS 13.4 our error reporting is broken. All useful information like error message and stack trace are not displayed anymore. *Steps to reproduce the bahvior*
throw new Error('test');
*Actual behavior* The following (pretty much useless) error is shown:
[ERROR] Script Error {
[ERROR]     toJSON = "<KrollCallback: 0x600001985180>";
[ERROR] } 
*Expected behavior* A meaningful error is shown, including error message, stack trace and other relevant information.

Attachments

FileDateSize
Simulator Screen Shot - iPhone 11 Pro Max - 2020-03-28 at 11.05.55.png2020-03-28T10:06:13.000+0000369033

Comments

  1. Jan Vennemann 2020-03-30

    PR (master): https://github.com/appcelerator/titanium_mobile/pull/11576 PR (9_0_X): https://github.com/appcelerator/titanium_mobile/pull/11577
  2. Vijay Singh 2020-04-02

    @QE Please test appcelerator.aca module as well with this change.
  3. Satyam Sekhri 2020-04-09

    FR Passed. Error thrown from the code shows up error report all useful properties.
  4. Satyam Sekhri 2020-04-09

    Verified on: Mac OS: 10.15.4 SDK: 9.0.1.v20200409100807, 9.1.0.v20200409073825 Appc CLI: 8.0.0 JDK: 11.0.4 Node: 10.17.0 Studio: 6.0.0.202003132109 XCode: 11.4 Device: iPhoneX(13.4), iOS simulator 13.4, iOS simulator 12.2

JSON Source