Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26775] iOS: Error upon launching the app on iOS device when built with liveview and on different network

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionInvalid
Resolution Date2019-01-29T01:06:51.000+0000
Affected Version/sRelease 8.0.0
Fix Version/sn/a
ComponentsiOS, LiveView
Labelsn/a
ReporterSatyam Sekhri
AssigneeEwan Harris
Created2019-01-28T23:35:34.000+0000
Updated2019-08-12T02:30:35.000+0000

Description

When launching an app on iOS device with liveview enabled then error is shown Steps to Reproduce: 1. Create a mobile app 2. Build to iOS device with liveview enabled 3. Launch the app on device Actual Result: An error is shown as below
[INFO] :   Finished building the application in 18s 221ms
[LiveView] version 1.4.4
[LiveView] Alloy project monitor started
[LiveView] File Server Started on 0.0.0.0:8324
[LiveView] Event Server Started on 0.0.0.0:8323
[INFO] :   Installing app on device: SAMWISE
[INFO] :   App successfully installed on device: SAMWISE
Please manually launch the application
[TRACE] :  updating tiapp metadata with Appcelerator Platform...
-- Start application log -----------------------------------------------------
[DEBUG] :  Reading stylesheet from: /var/containers/Bundle/Application/A094215E-0394-47F1-B4C1-23D4C446A035/testAlloy2.app/stylesheet.plist
[INFO] :   testAlloy2/1.0 (0.0.0.(null))
[INFO] :   testAlloy2 1.0 (Powered by Titanium 8.0.0.3bdb315950)
[DEBUG] :  Loading: /var/containers/Bundle/Application/A094215E-0394-47F1-B4C1-23D4C446A035/testAlloy2.app/ti.main.js, Resource: ti_main_js
[DEBUG] :  Loading: /var/containers/Bundle/Application/A094215E-0394-47F1-B4C1-23D4C446A035/testAlloy2.app/_index_.json, Resource: _index__json
[DEBUG] :  Loading: /var/containers/Bundle/Application/A094215E-0394-47F1-B4C1-23D4C446A035/testAlloy2.app/ti.internal/bootstrap.json, Resource: ti_internal/bootstrap_json
[DEBUG] :  Loading: /var/containers/Bundle/Application/A094215E-0394-47F1-B4C1-23D4C446A035/testAlloy2.app/_app_props_.json, Resource: _app_props__json
[DEBUG] :  Loading: /var/containers/Bundle/Application/A094215E-0394-47F1-B4C1-23D4C446A035/testAlloy2.app/localeStrings.js, Resource: localeStrings_js
[DEBUG] :  Loading: /var/containers/Bundle/Application/A094215E-0394-47F1-B4C1-23D4C446A035/testAlloy2.app/hyperloop/localeStrings.js, Resource: hyperloop/localeStrings_js
[DEBUG] :  Loading: /var/containers/Bundle/Application/A094215E-0394-47F1-B4C1-23D4C446A035/testAlloy2.app/hyperloop/localestrings.js, Resource: hyperloop/localestrings_js
[DEBUG] :  Loading: /var/containers/Bundle/Application/A094215E-0394-47F1-B4C1-23D4C446A035/testAlloy2.app/hyperloop/localeStrings/localeStrings.js, Resource: hyperloop/localeStrings/localeStrings_js
[DEBUG] :  Loading: /var/containers/Bundle/Application/A094215E-0394-47F1-B4C1-23D4C446A035/testAlloy2.app/hyperloop/localestrings/localestrings.js, Resource: hyperloop/localestrings/localestrings_js
[DEBUG] :  Loading: /var/containers/Bundle/Application/A094215E-0394-47F1-B4C1-23D4C446A035/testAlloy2.app/localeStrings.js, Resource: localeStrings_js
[ERROR] :  Script Error Couldn't find module: localeStrings for architecture: arm64
[ERROR] :  Script Error Module "app.js" failed to leave a valid exports object

Comments

  1. Satyam Sekhri 2019-01-29

    The issue happens when the device is not on the same network as that of your system. However, we should handle the scenario gracefully and show a more user friendly message.
  2. Abir Mukherjee 2019-01-29

    Closing issue as reporter had phone and host on two different networks. LiveView works properly when device and host are on the same network.

JSON Source