{ "id": "152455", "key": "ALOY-1321", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [ { "id": "17081", "name": "Release 5.2.0", "archived": false, "released": true, "releaseDate": "2016-02-23" }, { "id": "17651", "name": "alloy 1.7.32", "archived": false, "released": true, "releaseDate": "2016-01-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-01-13T23:59:50.000+0000", "created": "2015-10-29T01:31:23.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "17627", "name": "alloy 1.7.31", "archived": false, "released": true, "releaseDate": "2016-01-05" } ], "issuelinks": [], "assignee": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "updated": "2016-02-02T22:30: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": "12600", "name": "Samples & Templates" } ], "description": "Since TI SDK 5.0.0, we support app icons resizing, placing them into assets catalog etc, so we should do a clean up on the app icons to reduce the number of warnings being shown now.\r\n\r\n1. All app icons should NOT have alpha channel.\r\n2. Remove unsupported app icons.\r\n\r\nSee current trace when there's no DefaultIcon.png or DefaultIcon-ios.png:\r\n{code}\r\n[INFO] Creating app icon set\r\n[DEBUG] Unsupported app icon Resources/iphone/appicon-176@2x.png, skipping\r\n[DEBUG] Unsupported app icon Resources/iphone/appicon-60.png, skipping\r\n[WARN] Resources/iphone/appicon-60@2x.png contains an alpha channel and will be flattened against a white background\r\n[WARN] Resources/iphone/appicon-60@3x.png contains an alpha channel and will be flattened against a white background\r\n[DEBUG] Unsupported app icon Resources/iphone/appicon-72.png, skipping\r\n[DEBUG] Unsupported app icon Resources/iphone/appicon-72@2x.png, skipping\r\n[WARN] Resources/iphone/appicon-76.png contains an alpha channel and will be flattened against a white background\r\n[WARN] Resources/iphone/appicon-Small-40.png contains an alpha channel and will be flattened against a white background\r\n[WARN] Resources/iphone/appicon-Small-40@2x.png contains an alpha channel and will be flattened against a white background\r\n[DEBUG] Unsupported app icon Resources/iphone/appicon-Small-50.png, skipping\r\n[DEBUG] Unsupported app icon Resources/iphone/appicon-Small-50@2x.png, skipping\r\n[WARN] Resources/iphone/appicon-Small.png contains an alpha channel and will be flattened against a white background\r\n[WARN] Resources/iphone/appicon-Small@2x.png contains an alpha channel and will be flattened against a white background\r\n[DEBUG] Unsupported app icon Resources/iphone/appicon@2x.png, skipping\r\n{code}\r\n\r\n*OR* we can just remove all the ios app icons in the assets folder, and only have DefaultIcon.png in the root of the project to avoid confusion.", "attachment": [], "flagged": false, "summary": "iOS: packaged app icons for new projects needs to be updated", "creator": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Ti SDK 5.0.X, 5.1.X", "closedSprints": [ { "id": 571, "state": "closed", "name": "2016 Sprint 01 Tooling", "startDate": "2016-01-04T21:10:00.000Z", "endDate": "2016-01-15T21:10:00.000Z", "completeDate": "2016-02-01T17:31:00.734Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "368351", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "I would go with removing all the ios app icons in assets folder, and developers just need to create one DefaultIcon.png.", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2015-10-29T21:44:32.000+0000", "updated": "2015-10-29T21:44:32.000+0000" }, { "id": "373969", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "PR: https://github.com/appcelerator/alloy/pull/750\r\n\r\nFunctional Test:\r\n1. Create a new project\r\n2. Looking into {{app/assets/iphone}} folder, there should be no {{appicon*}} and {{iTunesArtwork}} files", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2016-01-07T03:12:27.000+0000", "updated": "2016-01-07T20:17:44.000+0000" }, { "id": "374009", "author": { "name": "timpoulsen", "key": "timpoulsen", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/Havana" }, "body": "Noooo!! Apple's HIG recommends that developers use resolution-specific app icons. Your icon for an @3x device should not be the same as your @2x or @1x device. They recommend not simply rescaling a single image. With this change, you're forcing Ti developers to do just what Apple recommends against.\r\n\r\nAdding informational messages is fine. Generating missing icons is great. But you need to continue to support custom, per device/per resolution icons for developers who want to use them.", "updateAuthor": { "name": "timpoulsen", "key": "timpoulsen", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/Havana" }, "created": "2016-01-07T14:24:04.000+0000", "updated": "2016-01-07T14:24:04.000+0000" }, { "id": "374010", "author": { "name": "timpoulsen", "key": "timpoulsen", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/Havana" }, "body": "I looked at the PR and it looks like you're just removing these icons from the Alloy template. Never mind.", "updateAuthor": { "name": "timpoulsen", "key": "timpoulsen", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/Havana" }, "created": "2016-01-07T14:24:59.000+0000", "updated": "2016-01-07T14:24:59.000+0000" }, { "id": "374016", "author": { "name": "timpoulsen", "key": "timpoulsen", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/Havana" }, "body": "BTW, using SDK 5.1.1.GA I get no iOS app icons. This is for an existing, published app, with all the icon files there. I get warnings from the Titanium CLI about alpha channels in each of the icons (there aren't any, I've pre-optimized all icon files with ImageOptim.app, and iTunes Connect would have prevented me from publishing the app if there were any alpha channels). It supposedly flattens the images. But I end up with no icons on the simulator (dev build), a device (test build), and an ad-hoc build (production). ", "updateAuthor": { "name": "timpoulsen", "key": "timpoulsen", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/Havana" }, "created": "2016-01-07T15:18:32.000+0000", "updated": "2016-01-07T15:18:32.000+0000" }, { "id": "374030", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "[~skypanther], I unable to reproduce the issues, do you see any icon files under {{build/iphone/Assets.xcassets/AppIcon.appiconset}} ? ", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2016-01-07T20:13:30.000+0000", "updated": "2016-01-07T20:13:30.000+0000" }, { "id": "374038", "author": { "name": "timpoulsen", "key": "timpoulsen", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/Havana" }, "body": "Sorry Feon, I had to get my ad-hoc build out. I dropped back to 5.0.2.GA, cleaned the project, built it and got icons fine. When I have time, I will investigate and file a ticket if necessary.", "updateAuthor": { "name": "timpoulsen", "key": "timpoulsen", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/Havana" }, "created": "2016-01-07T22:04:22.000+0000", "updated": "2016-01-07T22:04:22.000+0000" }, { "id": "374470", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "PR merged.", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2016-01-13T23:59:50.000+0000", "updated": "2016-01-13T23:59:50.000+0000" }, { "id": "375790", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed, using:\r\n\r\nMacOS 10.11.3 (15D21)\r\nStudio 4.5.0.201601262138\r\nTi SDK 5.2.0.v20160202103508\r\nAppc NPM 4.2.3-1\r\nAppc CLI 5.2.0-239\r\nAlloy 1.7.33\r\nXcode 7.2 (7C68)\r\n\r\nThere are no longer any app icon or iTunes artwork files in newly created Alloy projects.", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-02-02T22:30:00.000+0000", "updated": "2016-02-02T22:30:00.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }