[TIMOB-13768] LiveView: iOS simulator does not start when LiveView server is stopped
| GitHub Issue | n/a | 
|---|---|
| Type | Bug | 
| Priority | High | 
| Status | Closed | 
| Resolution | Fixed | 
| Resolution Date | 2013-05-10T17:10:49.000+0000 | 
| Affected Version/s | n/a | 
| Fix Version/s | 2013 Sprint 10 JS, 2013 Sprint 10, Release 3.1.1, Release 3.2.0 | 
| Components | LiveView | 
| Labels | n/a | 
| Reporter | Praveen Innamuri | 
| Assignee | Christian Sullivan | 
| Created | 2013-05-06T22:51:20.000+0000 | 
| Updated | 2013-06-13T12:14:55.000+0000 | 
This is related, from the console on a liveview enabled studio (or CLI) simulator build:
Here is the problem:cli.addHook('build.post.compile', function(build, finished) { var fserverBin = path.normalize(__dirname + '/../bin/liveview-server'); debug('Running post:build.pre.compile hook'); if (cli.argv.liveview) { require('child_process').spawn(process.execPath, [ fserverBin, "start", "--project-dir", cli.argv['project-dir'], '--daemonize' ]); // exec(fserverBin + ' start --project-dir ' + cli.argv['project-dir'] + ' --daemonize'); } else { exec(fserverBin + ' stop', {silent: true}); } finished(); });Resolved in 0.1.16 https://github.com/appcelerator/liveview/tree/0.1.16
Tested With: Appcelerator Studio: 3.1.1.201306121633 Titanium SDK: 3.1.1.v20130612114553 acs: 1.0.2 alloy: 1.1.3-cr npm: 1.2.14 titanium: 3.1.1-cr titanium-code-processor: 1.0.1-cr4 LiveView version 0.1.24 Xcode - 4.5 OS: Mac 10.8.4 Device: iPadMini v6.0, iOS Simulator 6.0 Result - Stop the liveview server. Execute the app with liveview flag. iOS simulator shows up and app launch successfully. Hence closing this issue.