[AC-999] Live view not working on iOS simulator
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Cannot Reproduce |
Resolution Date | 2015-08-30T08:07:22.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Amrut Patil |
Assignee | Shak Hossain |
Created | 2014-09-30T17:11:03.000+0000 |
Updated | 2016-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
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-
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.