[TIMOB-27202] IOS:Rebuilding app on device throws Couldn't find module error
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2019-07-15T12:26:03.000+0000 |
Affected Version/s | Release 8.1.0 |
Fix Version/s | Release 8.1.0 |
Components | iOS |
Labels | engSchedule, regression |
Reporter | Keerthi Mahalingam |
Assignee | Jan Vennemann |
Created | 2019-07-02T04:38:36.000+0000 |
Updated | 2019-07-15T12:26:03.000+0000 |
Description
*Steps To Reproduce:*
1.Create a classic/alloy app with latest 8_1_X sdk or master.
2.Run against iOS device
3.Re run against same device again.
*Expected:*
App should get installed and should be able to launch successfully
*Actual:*
Throws the following error after launching
[ERROR] : column = 25;
[ERROR] : line = 9498;
[ERROR] : message = "Couldn't find module: ./app for architecture: arm64";
[ERROR] : sourceURL = "file:///var/containers/Bundle/Application/EC162335-7334-496E-B04D-39FFDFBAE114/test23.app/ti.main.js";
[ERROR] : stack = " at require@[native code]\n at require(/ti.main.js:9498:25)\n at (/ti.main.js:9719:10)\n at loadAsync(/ti.main.js:9642:13)\n at global code(/ti.main.js:9716:10)";
[ERROR] : toJSON = "";
[ERROR] : }
[WARN] : Cannot serialize object, trying to repair ...
[WARN] : Found invalid attribute "toJSON" that cannot be serialized, skipping it ...
Notes:
Works fine on 8.0.2 GA and happens only on master and 8.1_x
rerunning the same app on 2 times or 3 times throws error
Also able to reproduce this. Tested on SDK
8.1.0.v20190701132634
cc [~jvennemann] Possibly more fall out from the incremental build changes?
[~cwilliams], maybe, i'm already checking what's going on!
PR (master): https://github.com/appcelerator/titanium_mobile/pull/11023 PR (8_1_X): https://github.com/appcelerator/titanium_mobile/pull/11024
FR Passed. Waiting on Jenkins build.
merged to 8_1_X, waiting on full build for master...
merged to master
Closing ticket, fix verified in SDK version
8.1.0.v20190712141959
and SDK version8.2.0.v20190712143331
. Test and other information can be found at: PR (master): https://github.com/appcelerator/titanium_mobile/pull/11023 PR (8_1_X): https://github.com/appcelerator/titanium_mobile/pull/11024