Titanium JIRA Archive
Appcelerator Community (AC)

[AC-999] Live view not working on iOS simulator

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionCannot Reproduce
Resolution Date2015-08-30T08:07:22.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterAmrut Patil
AssigneeShak Hossain
Created2014-09-30T17:11:03.000+0000
Updated2016-03-08T07:37:19.000+0000

Description

Steps to Reproduce

1. Click on live view button in studio to enable live view 2. Run a project on iOS simulator iOS 8 iPhone 6 3. Project run errors out with below error DEBUG] : Loading: /Users/amrutpatil/Library/Developer/CoreSimulator/Devices/A0D56111-A28B-4FF8-9B24-C6C837025A30/data/Containers/Bundle/Application/343DA7A7-609D-4007-AB0F-BE5DF847CF22/ABC Benefits.app/app.js, Resource: app_js [LiveView] { [Error: ENOTDIR, open '/Users/amrutpatil/appStudio/HRBenefits/i18n/.DS_Store/strings.xml'] errno: 27, code: 'ENOTDIR', path: '/Users/amrutpatil/appStudio/HRBenefits/i18n/.DS_Store/strings.xml' } [ERROR] : Script Error { [ERROR] : backtrace = '#0 () at file:///Users/amrutpatil/Library/Developer/CoreSimulator/Devices/A0D56111-A28B-4FF8-9B24-C6C837025A30/data/Containers/Bundle/Application/343DA7A7-609D-4007-AB0F-BE5DF847CF22/ABC%20Benefits.app/app.js:586 #1 () at file:///Users/amrutpatil/Library/Developer/CoreSimulator/Devices/A0D56111-A28B-4FF8-9B24-C6C837025A30/data/Containers/Bundle/Application/343DA7A7-609D-4007-AB0F-BE5DF847CF22/ABC%20Benefits.app/app.js:632 #2 () at file:///Users/amrutpatil/Library/Developer/CoreSimulator/Devices/A0D56111-A28B-4FF8-9B24-C6C837025A30/data/Containers/Bundle/Application/343DA7A7-609D-4007-AB0F-BE5DF847CF22/ABC%20Benefits.app/app.js:502 #3 () at file:///Users/amrutpatil/Library/Developer/CoreSimulator/Devices/A0D56111-A28B-4FF8-9B24-C6C837025A30/data/Containers/Bundle/Application/343DA7A7-609D-4007-AB0F-BE5DF847CF22/ABC%20Benefits.app/app.js:399 #4 () at file:///Users/amrutpatil/Library/Developer/CoreSimulator/Devices/A0D56111-A28B-4FF8-9B24-C6C837025A30/data/Containers/Bundle/Application/343DA7A7-609D-4007-AB0F-BE5DF847CF22/ABC%20Benefits.app/app.js:676'; [ERROR] : line = 567; [ERROR] : message = '[LiveView] File Server unavailable. Host Unreachable @ 10.101.182.142:8324 [LiveView] Please ensure your device and computer are on the same network and the port is not blocked.'; [ERROR] : sourceId = 302066272; [ERROR] : sourceURL = 'file:///Users/amrutpatil/Library/Developer/CoreSimulator/Devices/A0D56111-A28B-4FF8-9B24-C6C837025A30/data/Containers/Bundle/Application/343DA7A7-609D-4007-AB0F-BE5DF847CF22/ABC%20Benefits.app/app.js'; [ERROR] : } [DEBUG] : Application booted in 11124.062002 ms

Actual Result

Error screen on simulator

Expected Result

Live view should work

Attachments

FileDateSize
.log2014-09-30T17:11:09.000+00009732945
diagnostic475560248499503476.log2014-09-30T17:11:13.000+000018568
iOS Simulator Screen Shot Sep 30, 2014, 1.09.02 PM.png2014-09-30T17:11:14.000+0000257527

Comments

  1. Christofer Wesseling 2015-04-18

    same. [ERROR] : Script Error { [ERROR] : column = 225; [ERROR] : line = 567; [ERROR] : message = "[LiveView] File Server unavailable. Host Unreachable @ 192.168.178.152:8324\n[LiveView] Please ensure your device and computer are on the same network and the port is not blocked."; [ERROR] : sourceURL = "file:///private/var/mobile/Containers/Bundle/Application/06D551FC-1458-4F3A-B2F2-A43ED8D034B8/XXXXXXXXXXXXXXXapp/app.js"; [ERROR] : stack = "_getRemoteSource@file:///private/var/mobile/Containers/Bundle/Application/06D551FC-1458-4F3A-B2F2-
  2. Mostafizur Rahman 2015-04-21

    Hello, We have investigated about this issue. The issue is not reproducible on demand. Please check the following if you notice the error again. a) Try to clean the project while "Live view" is active b) Ensure the developer computer and device are in same wifi Network. c) [LiveView-Troubleshooting on document](http://docs.appcelerator.com/platform/latest/#!/guide/LiveView-section-43298669_LiveView-Troubleshooting) I will mark this as resolved. However, you can re-open if needed.

JSON Source