{ "id": "151430", "key": "TIMOB-19612", "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" }, { "id": "16904", "description": "Release 5.0.2", "name": "Release 5.0.2", "archived": true, "released": true, "releaseDate": "2015-10-01" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-10-26T16:16:06.000+0000", "created": "2015-09-23T22:42:17.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-5.1.0" ], "versions": [], "issuelinks": [ { "id": "49157", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "outwardIssue": { "id": "151598", "key": "TIMOB-19617", "fields": { "summary": "iOS: Changing DefaultIcon.png has no effect in subsequent builds", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "49134", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "151478", "key": "TIMOB-19616", "fields": { "summary": "Changes to app content are not updated on rebuild to device ", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "49125", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "151566", "key": "CLI-824", "fields": { "summary": "Appc CLI causes iOS Simulator builds to be encrypted", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2015-11-13T00:18:00.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": "10206", "name": "iOS", "description": "iOS Platform" }, { "id": "10207", "name": "Tooling" } ], "description": "Description: After creating a new app, Initial build reflects changes successfully. However on making changes and rebuilding the app, it fails to update those edits. Tested both on Alloy & Classic projects. The issue is not apparent when building to a device, it occurs when building on a simulator. \r\n\r\nSwitching build target from device to sim updates the changes. However a second build to sim fails to do update. Cleaning the project and rebuilding the app allows for a successful build to sim.\r\n\r\n*Update:* When creating a project with appc new and doing “appc run”, changes fail to update on rebuild. However when creating a project with “ti create” and doing “ti build”, changes successfully update on rebuild.\r\n\r\nSteps to reproduce: \r\n# Create a new mobile app project.\r\n# Edit content in app.js / index.xml.\r\n# Save & build to sim.\r\n# Make additional edit to app.js / index.xml.\r\n# Save & rebuild to sim.\r\n\r\nResult: changes to files made on step 4 will not be reflected on step 5.\r\n\r\nExpected Result: changes to files should be updated upon second build.", "attachment": [], "flagged": false, "summary": "Changes to Classic / Alloy apps are not updated on rebuild", "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": "MacOS: 10.10.5\r\nStudio: 4.3.0.201509151348\r\nTi SDK: 5.0.1.v20150923102330\r\nAppc NPM: 4.2.0\r\nAppc CLI: 5.0.2-19", "closedSprints": [ { "id": 502, "state": "closed", "name": "2015 Sprint 20 Tooling", "startDate": "2015-09-28T16:01:48.429Z", "endDate": "2015-10-10T01:01:00.000Z", "completeDate": "2015-10-12T21:13:39.920Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "364832", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am unable to reproduce on studio.\r\nh4. Environment\r\nAppcelerator Studio, build: 5.0.0.201508240838\r\nXcode 7\r\nappc CLI 5.1.0-1\r\nTi SDK 5.0.1.v20150922104152\r\n\r\nh4. Steps to attempt to reproduce\r\n1. create new project -> alloy -> 2 tabbed app\r\n2. change index.xml\r\n3. run on iPhone 6 ios 9\r\n4. change index.xml again\r\n5. run on iPhone 6 ios 9\r\n\r\nChanges are shown\r\n", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-09-24T01:00:44.000+0000", "updated": "2015-09-24T01:00:44.000+0000" }, { "id": "364834", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "OH but i reproduced using classic!\r\n\r\nh4. Environment\r\nAppcelerator Studio, build: 5.0.0.201508240838 \r\nXcode 7 \r\nappc CLI 5.1.0-1 \r\nTi SDK 5.0.1.v20150922104152\r\nh4. Steps to attempt to reproduce\r\n1. create new project -> classic -> Default\r\n2. change app.js (i changed the label text)\r\n3. run on iPhone 6 ios 9 \r\n4. change app.js (i changed the label text)\r\n5. run on iPhone 6 ios 9\r\nChanges are NOT shown", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-09-24T01:06:07.000+0000", "updated": "2015-09-24T01:06:07.000+0000" }, { "id": "364898", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Hey Kiat, for steps 3 & 5, are you running the app on device? or iPhone 6 sim?", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2015-09-24T16:30:28.000+0000", "updated": "2015-09-24T16:30:28.000+0000" }, { "id": "364899", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~htbryant] This is simulator only. Any iOS simulator will do. Happens with both Xcode 6.4 + iOS 8 as well as Xcode 7 + iOS 9.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-09-24T16:37:29.000+0000", "updated": "2015-09-24T16:37:29.000+0000" }, { "id": "365017", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Update: I am able to reproduce the error building and rebuilding project from Appc CLI, and Titanium CLI, making edits to app.js from textedit rather than from studio. \r\n\r\n(( This test was done using the same project created originally in Studio ))", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2015-09-25T17:52:35.000+0000", "updated": "2015-09-25T18:16:55.000+0000" }, { "id": "365216", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master PR: https://github.com/appcelerator/titanium_mobile/pull/7241\r\n5_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/7242", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-09-29T07:12:11.000+0000", "updated": "2015-09-29T07:12:11.000+0000" }, { "id": "365221", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "To test, build with the appc cli or appc studio and repeatedly build for iOS Simulator.\r\n\r\nAlso, test the differential builds with sim (both deploy-type development and test) and device builds. Look for Titanium libraries being copied/skipped. Look for ApplicationRouting.m being generated/skipped. Build again for device or sim (deploy-type=test) without touching any files and see titanium_prep is skipped. Check that defines.h is being properly generated/skipped. Check that resized app icons are not resized for subsequent builds. Check that changing JS files only compiles ApplicationRouting.m for subsequent builds and not every file.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-09-29T07:36:25.000+0000", "updated": "2015-09-29T07:36:25.000+0000" }, { "id": "365230", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "CR and FT passed. \r\nh4. Steps to Verify\r\n1. Create new Classic Default Project in Studio\r\n2. build for simulator\r\n3. look at build_iphone.log in /build\r\n4. In the log, expect to see the following lines\r\n{code}\r\n[INFO] Copying Titanium libraries\r\n[DEBUG] Copying /Users/kiat/Library/Application Support/Titanium/mobilesdk/osx/5.1.0/iphone/libTiCore.a => /Users/kiat/Appcelerator_Studio_Workspace/SGCLI820Alloy2/build/iphone/lib/libTiCore.a\r\n[DEBUG] Writing /Users/kiat/Appcelerator_Studio_Workspace/SGCLI820Classic2/build/iphone/Classes/ApplicationRouting.m\r\n[DEBUG] Copying /Users/kiat/Library/Application Support/Titanium/mobilesdk/osx/5.1.0/iphone/Classes/defines.h => /Users/kiat/Appcelerator_Studio_Workspace/SGCLI820Classic2/build/iphone/Classes/defines.h\r\n[DEBUG] Missing 10 app icons, generating missing icons\r\n[DEBUG] Found DefaultIcon.png (1024x1024)\r\n[TRACE] Resizing images: java -jar \"/Users/kiat/Library/Application Support/Titanium/mobilesdk/osx/5.1.0/node_modules/node-appc/tools/resizer/resizer.jar\" \r\n{code}\r\n5. Build again (don't make any changes)\r\n6. In the log, expect to see the following lines\r\n{code}\r\n[INFO] Copying Titanium libraries\r\n[TRACE] No change, skipping /Users/kiat/Appcelerator_Studio_Workspace/SGCLI820Classic2/build/iphone/lib/libTiCore.a\r\n[TRACE] No change, skipping /Users/kiat/Appcelerator_Studio_Workspace/SGCLI820Classic2/build/iphone/lib/libtiverify.a\r\n[TRACE] No change, skipping /Users/kiat/Appcelerator_Studio_Workspace/SGCLI820Classic2/build/iphone/Classes/ApplicationRouting.m\r\n[TRACE] No change, skipping /Users/kiat/Appcelerator_Studio_Workspace/SGCLI820Classic2/build/iphone/Classes/defines.h\r\n[INFO] Creating app icon set\r\n[TRACE] Found generated 29x29 app icon: /Users/kiat/Appcelerator_Studio_Workspace/SGCLI820Classic2/build/iphone/Assets.xcassets/AppIcon.appiconset/appicon-Small.png\r\n{code}\r\n7. Make a change to app.js\r\n8. Expect to see 6. again\r\n9. Also see that the change is reflected in app.js\r\n\r\nRepeat steps 1 to 9 with device builds, and alloy, the behavior should be the same. In the alloy instance, make changes to app/views/index.xml in step 7.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-09-29T09:09:54.000+0000", "updated": "2015-09-29T09:09:54.000+0000" }, { "id": "365231", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PRs merged.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-09-29T09:11:25.000+0000", "updated": "2015-09-29T09:11:25.000+0000" }, { "id": "365455", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2015-09-30T19:02:06.000+0000", "updated": "2015-09-30T19:02:06.000+0000" }, { "id": "367819", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopened to add customer name", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-10-26T16:16:20.000+0000", "updated": "2015-10-26T16:16:20.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }