{ "id": "166557", "key": "TIMOB-24481", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2017-03-10T19:09:12.000+0000", "priority": null, "labels": [ "cb-tooling", "cli", "titanium" ], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-13T15:59:21.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" }, { "id": "10207", "name": "Tooling" } ], "description": "{quote}As a developer,\r\nI want to be able to publish/execute the last successful build to my simulator/device without rebuilding,\r\nSo that I can more quickly test apps and features.{quote}\r\n\r\nA lot of times, developers have multiple apps that they might be testing (with or without LiveView) and they want a way to quickly test or start an app without having to rebuild. \r\n\r\nI think having a command like \"run\" and an options like \"--skip-build\" would get us much closer to this.\r\n\r\n\r\n", "attachment": [], "flagged": false, "summary": "Add ability to run app on simulator/device without re-building", "creator": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "411363", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Sounds interesting! So we would just invoke the sim control command to launch the Simulator? [~cbarber], this could be a cool idea!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-03-10T21:59:22.000+0000", "updated": "2017-03-10T21:59:22.000+0000" }, { "id": "411365", "author": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "body": "I'm not sure if it is more complicated when using LiveView. Can it just restart the LiveView server when it invokes the sim control command?", "updateAuthor": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "created": "2017-03-10T22:45:52.000+0000", "updated": "2017-03-10T22:45:52.000+0000" }, { "id": "411411", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "We talked about doing this a long time ago. I liked the idea. Back then we were using {{ios-sim}} which had very limited functionality. Now that {{ioslib}} uses {{simctl}}, this should be possible.\r\n\r\nSort of related, I had the idea of keeping the last successful build which we kind of do today. The only difference is we would place the built app in a sterile directory. Then we could decouple the build from install/run. Install/run would just grab the last successful build and give it a go.\r\n\r\nLiveView's architecture is going to dramatically change, so I'm not sure how it's going to work. Part of the problem is we instrument the app with a bunch of LiveView code, so we can't enable/disable LiveView without doing a build. Perhaps that's something we should fix too. I'd like to see LiveView baked into the platform code and not injected into the first line of {{app.js}}. But then again, I'd like LiveView to be more live and expose more runtime inspection.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2017-03-13T15:53:30.000+0000", "updated": "2017-03-13T15:53:30.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }