Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28206] iOS: Liveview connection unstable on Xcode 12 / iOS 14

GitHub Issuen/a
TypeBug
PriorityHigh
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 9.2.2
Fix Version/sn/a
ComponentsiOS
Labelsios, liveview
ReporterHans Knöchel
AssigneeUnknown
Created2020-10-22T14:24:58.000+0000
Updated2020-10-22T14:28:35.000+0000

Description

We noticed that LiveView became unusable since Xcode 12 / iOS 14, because it breaks up the connection after 2-3 reloads. Reproducible on our project and likely on others as well. Screenshot attached, plus the trace log:
[LiveView] Alloy recompile initiated for ios
[LiveView] Reload Triggered
  REASON: File Changed
  FILE: /Users/user/Documents/dev/myapp/myapp-titanium/app/lib/date-time-picker.js
[LiveView] Client disconnected
[INFO]  [LiveView] Reloading App
[WARN]  Ti.UI.iOS.ApplicationShortcuts DEPRECATED in 9.1.0, in favor of Ti.UI.Shortcut
[INFO]  UI SHUTDOWN COMPLETE. TRYING TO RESUME RESTART
[INFO]  MyApp 4.2.0.2 (Powered by Titanium 9.2.2.2c065bc55e)
[DEBUG] [object FirebaseAnalyticsModule] loaded
[DEBUG] The defaultApp of FirebaseCore has already been configured, skipping initialization.
[DEBUG] Reachability Flag Status: -R ------- networkStatusForFlags
[LiveView] Client connected
[ERROR] /app.js:671
[ERROR]         throw new Error('[LiveView] File Server unavailable. Host Unreachable @ ' + Module._url + ':' + Module._port + '\n[LiveView] Please ensure your device and computer are on the same network and the port is not blocked.');
[ERROR]                         ^
[ERROR] : [LiveView] File Server unavailable. Host Unreachable @ 192.168.178.27:8324
[ERROR] [LiveView] Please ensure your device and computer are on the same network and the port is not blocked.
[ERROR]     at Object.<anonymous> (/app.js:671:24)
[ERROR]     at Object.<anonymous> (/app.js:687:35)
[ERROR]     at Object.<anonymous> (/app.js:717:30)
[ERROR]     at Object.<anonymous> (/app.js:589:25)
[ERROR]     at Object.<anonymous> (/app.js:496:19)
[ERROR]     at Object.<anonymous> (/app.js:424:25)
[ERROR]     at Object.<anonymous> (/app.js:762:15)
[ERROR]     at Object.<anonymous> (/app.js:767:3)
[ERROR]     at require ([native code])
[ERROR]     at Object.<anonymous> (/ti.main.js:14518:10)
[ERROR]     at doLoad (/ti.main.js:14478:15)
[ERROR]     at loadBootstrapScripts (/ti.main.js:14488:11)
[ERROR]     at loadAsync (/ti.main.js:14493:23)
[ERROR]
[ERROR]     Foundation 0x00007fff20862a33 _NSDescriptionWithLocaleFunc + 82
[ERROR]     CoreFoundation 0x00007fff203d34cd __CFStringAppendFormatCore + 12102
[ERROR]     CoreFoundation 0x00007fff203d4f61 _CFStringCreateWithFormatAndArgumentsReturningMetadata + 145
[ERROR]     CoreFoundation 0x00007fff203d4eca _CFStringCreateWithFormatAndArgumentsAux2 + 20
[ERROR]     TitaniumKit 0x000000010dfe8768 TiLogMessage + 175
[ERROR]     TitaniumKit 0x000000010e0280ec -[TiExceptionHandler reportScriptError:] + 74
[ERROR]     TitaniumKit 0x000000010dffd9a5 -[KrollBridge loadCommonJSModule:withSourceURL:] + 409
[ERROR]     TitaniumKit 0x000000010dffe30b -[KrollBridge loadJavascriptText:fromFile:withContext:] + 68
[ERROR]     TitaniumKit 0x000000010dfff6a5 -[KrollBridge require:path:] + 393
[ERROR]     TitaniumKit 0x000000010e036c69 CommonJSRequireCallback + 106
[ERROR]     JavaScriptCore 0x00007fff30d21bd8 _ZN3JSC19APICallbackFunction4callINS_18JSCallbackFunctionEEExPNS_14JSGlobalObjectEPNS_9CallFrameE + 568
[ERROR]     ??? 0x000024ccd2ced4c7 0x0 + 40462128698567
[ERROR]     JavaScriptCore 0x00007fff30ccc39f llint_entry + 104395
[ERROR]     JavaScriptCore 0x00007fff30ccc39f llint_entry + 104395
[ERROR]     JavaScriptCore 0x00007fff30ccc39f llint_entry + 104395
[ERROR]     JavaScriptCore 0x00007fff30ccc39f llint_entry + 104395
[ERROR]     JavaScriptCore 0x00007fff30ccc53e llint_entry + 104810
[ERROR]     JavaScriptCore 0x00007fff30cb29df vmEntryToJavaScript + 216

Attachments

FileDateSize
Bildschirmfoto 2020-10-19 um 12.25.53.png2020-10-22T14:28:16.000+00002791063
Bildschirmfoto 2020-10-19 um 12.27.58.png2020-10-22T14:28:15.000+0000121387

Comments

No comments

JSON Source