{ "id": "153302", "key": "TIMOB-20014", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": [ { "id": "14826", "description": "Release 5.1.0-remaining iOS9 features, Android M features", "name": "Release 5.1.0", "archived": false, "released": true, "releaseDate": "2015-11-20" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-11-19T05:37:58.000+0000", "created": "2015-11-18T23:30:54.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "iOS", "qe-5.1.0", "regression" ], "versions": [ { "id": "14826", "description": "Release 5.1.0-remaining iOS9 features, Android M features", "name": "Release 5.1.0", "archived": false, "released": true, "releaseDate": "2015-11-20" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2015-11-19T19:20:53.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10207", "name": "Tooling" } ], "description": "h5. Description:\r\n\r\nThis is a *REGRESSION* from 5.0.2.GA\r\n\r\nIncremental builds fail to update changes when targeted to iOS devices. However, this only occurs when the project has platform services *ENABLED*, and incremental builds reflect changes correctly with platform services disabled. It is worth noting that the incremental build times are considerably shorter than the initial build for both instances ( 4 - 7 seconds ). This issue is verified as affecting both iOS8 & 9 devices, but does not affect simulator builds.\r\n\r\nh5. Steps to reproduce:\r\n1. Create a classic project with services *enabled*\r\n2. Build project to device ( iOS8, iOS9 )\r\n3. Make a change to app.js file\r\n4. Build project to device again.\r\n\r\nh5. Result:\r\nChanges made to app.js will not be reflected in the new build with platform services enabled.\r\n\r\nh5. Expected Result:\r\nChanges made to app.js should be reflected in the new build with platform services enabled.", "attachment": [], "flagged": false, "summary": "iOS: Incremental builds fail to update with \"--skip-js-minify\"", "creator": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "environment": "Mac OSX El Capitan 10.11 (15A284)\r\nTi SDK: 5.1.0.v20151118092752\r\nAppc Studio: 4.4.0.201511130407\r\nAppc NPM: 4.2.1.GA\r\nAppc CLI: 5.1.0-60\r\nTi CLI: 5.0.5\r\nAlloy: 1.7.26\r\nXcode 7.1(7B91b)\r\nNode v0.12.7\r\npreproduction", "closedSprints": [ { "id": 531, "state": "closed", "name": "2015 Sprint 23 Tooling", "startDate": "2015-11-10T23:44:28.164Z", "endDate": "2015-11-21T02:44:00.000Z", "completeDate": "2015-11-23T20:21:44.795Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "370787", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master PR: https://github.com/appcelerator/titanium_mobile/pull/7472\r\n5_1_X PR: https://github.com/appcelerator/titanium_mobile/pull/7473\r\n\r\nThis actually has nothing to do directly with services being enabled. Apparently when modules such as APM are enabled, {{--skip-js-minify}} is passed in causing JavaScript minification to be disabled.\r\n\r\nThe iOS build detects JS file changes so that it only runs titanium_prep if any JS files changed, however the code path when minification is disabled never set the flag when JavaScript files are changed. Oops.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-11-19T05:07:36.000+0000", "updated": "2015-11-19T05:07:36.000+0000" }, { "id": "370789", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "CR and FT passed. PRs merged.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-11-19T05:37:28.000+0000", "updated": "2015-11-19T05:37:28.000+0000" }, { "id": "370847", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified on iOS that I can do incremental builds with services enabled and with {{--skip-js-minify}} disabled.\r\n\r\nTested on:\r\n\r\nAppcelerator Studio, build: 4.4.0.201511182122\r\nAppc CLI NPM: 4.2.1\r\nAppc CLI Core: 5.1.0-60\r\nArrow: 1.3.22\r\nSDK: 5.1.0.v20151118214427\r\nNode: v4.2.2\r\nOS: El Capitan (10.11.1)\r\nXcode: 7.1.1\r\nDevices: iphone 6s plus (9.1)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-11-19T19:16:04.000+0000", "updated": "2015-11-19T19:16:36.000+0000" }, { "id": "370849", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed, Incremental builds with services enabled now correctly update changes made. \r\n\r\nTested on:\r\n\r\nAlloy & Classic projects with Services & APM module enabled\r\nDevices: iPhones 6S+ (9.1) & iPhone 6 (8.4)\r\nMac OSX El Capitan 10.11 (15A284)\r\nTi SDK: 5.1.0.v20151118214427\r\nAppc Studio: 4.4.0.201511182122\r\nAppc NPM: 4.2.1\r\nAppc CLI: 5.1.0-60\r\nAlloy: 1.7.26\r\nXcode 7.1(7B91b)\r\nNode v0.12.7\r\nproduction\r\n\r\n*Closing ticket.*", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2015-11-19T19:20:28.000+0000", "updated": "2015-11-19T19:20:44.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }