Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-27202

IOS:Rebuilding app on device throws Couldn't find module error

    Details

    • Type: Bug
    • Status: Closed
    • Priority: None
    • Resolution: Fixed
    • Affects Version/s: Release 8.1.0
    • Fix Version/s: Release 8.1.0
    • Component/s: iOS
    • Environment:
    • Story Points:
      5
    • Sprint:
      2019 Sprint 14

      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 = "<KrollCallback: 0x1d426d300>";
      [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

        Attachments

          Activity

            People

            • Assignee:
              jvennemann Jan Vennemann
              Reporter:
              kmahalingam Keerthi Mahalingam (Inactive)
              Reviewer:
              Christopher Williams
              Tester:
              Satyam Sekhri
            • Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Source Code