Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13878] LiveView doesn't work with FSA 1.0 on iOS simulator when an generated Alloy file in Resources/ is edited

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionDuplicate
Resolution Date2013-05-16T16:42:14.000+0000
Affected Version/sRelease 3.1.1
Fix Version/sn/a
ComponentsCLI, iOS, LiveView
Labelsn/a
ReporterMatt Langston
AssigneeChris Barber
Created2013-05-16T03:15:58.000+0000
Updated2014-06-19T12:42:48.000+0000

Description

Steps to reproduce: 1. Launch FSA 1.0 on iPad Simulator with Live View enabled. 2. Edit line 100 of /Field-Service-App/Resources/alloy/controllers/my-service-outlets/placard.js by changing "left: 0" to "left: 50" 3. You will get this error in Studio's Console: {noformat} [LiveView] Reload Triggered -REASON: File Changed -FILE: /Users/matt/Documents/Appcelerator/src/titanium_mobile_repos/forks/field_service_app/Resources/alloy/controllers/my-service-outlets/placard.js [INFO] [LiveView] Reloading App [INFO] [LiveView] Reloading App [INFO] Ti.FieldService/1.0 (3.1.1.d356cff) [DEBUG] Analytics is enabled = YES [DEBUG] Loading: /Users/matt/Library/Application Support/iPhone Simulator/6.1/Applications/EBB05FC5-16C3-4506-ACC8-AEBD6E958816/Ti.FieldService.app/app.js, Resource: app_js -- End simulator log --------------------------------------------------------- [ERROR] An error occurred running the iOS Simulator [ERROR] [ERROR] Project failed to build after 1m 44s 322ms {noformat} I talked with Chris Barber about it, and he said he knew how to work around the problem and that a fix is TBD.

Comments

  1. Matt Langston 2013-05-16

    This is a duplicate of TIMOB-13866 and is due to a bug in the iOS restart mechanism when coupled with FSA 1.0.

JSON Source