Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28210] iOS: Error in logs when ACA module is removed

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2020-10-29T13:14:29.000+0000
Affected Version/sRelease 9.3.0, Release 9.2.2
Fix Version/sRelease 9.2.2
Componentsn/a
Labelsn/a
ReporterSatyam Sekhri
AssigneeGary Mathews
Created2020-10-27T17:33:28.000+0000
Updated2020-10-29T13:14:30.000+0000

Description

An error is shown in logs upon app launch when the project does not have an ACA module. Steps to Reproduce: 1. Create a titanium mobile project 2. Remove ACA module in tiapp.xml 3. Run it to iOS device/simulator using a latest build from 9_2_x or master branch 4. Launch the app Actual Result: An error is shown im logs as follows:
[ERROR] :  Unhandled promise rejection Error: Couldn't find module: com.appcelerator.aca for architecture: arm64
[ERROR] :      at require ([native code])
[ERROR] :      at unknown (ti.main.js:3619:84)
[ERROR] :      at unknown (ti.main.js:2151:29)
[ERROR] :      at flush (ti.main.js:1960:11)
[ERROR] :      at promiseReactionJob ([native code])
[ERROR] :      at unknown ([native code])
[ERROR] :      at global code (ti.main.js:3645:14)
Expected Result: There should be no errors shown

Comments

  1. Gary Mathews 2020-10-28

    master: https://github.com/appcelerator/titanium_mobile/pull/12227
  2. Satyam Sekhri 2020-10-28

    FR Passed. Waiting for Jenkins build.
  3. Christopher Williams 2020-10-28

    merged to master for 9.3.0 target and 9_2_X backport merged for 9.2.2 target.
  4. Samir Mohammed 2020-10-29

    *Closing ticket*. Fix verified in SDK version 9.3.0.v20201028071437, and 9.2.2.v20201028132228. *Test and other information can be found at:* https://github.com/appcelerator/titanium_mobile/pull/12227

JSON Source