{ "id": "151793", "key": "TIMOB-19683", "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-10-08T07:45:36.000+0000", "created": "2015-10-07T09:09:31.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "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": [ { "id": "49261", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "151841", "key": "ALOY-1314", "fields": { "summary": "Alloy: Remove alpha channel from DefaultIcon.png", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "49226", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "151773", "key": "TIMOB-19680", "fields": { "summary": "iOS: Building aborts during icon set creation without reason", "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": "Critical", "id": "1" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } }, { "id": "49225", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "151159", "key": "TIMOB-19512", "fields": { "summary": "iOS build: ensure app icons are 24-bit (no transparency)", "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": "Low", "id": "4" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2015-10-13T21:02:34.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": "iOS build is getting failed with latest SDK 5.1.0.v20151006222951\r\n\r\nPlease find the error below from studio.\r\n{code}\r\n[WARN] : Skipping Resources/iphone/appicon-60@2x.png because app icons must not have an alpha channel\r\n[WARN] : Skipping Resources/iphone/appicon-60@3x.png because app icons must not have an alpha channel\r\n[WARN] : Skipping Resources/iphone/appicon-76.png because app icons must not have an alpha channel\r\n[WARN] : Skipping Resources/iphone/appicon-76@2x.png because app icons must not have an alpha channel\r\n[WARN] : Skipping Resources/iphone/appicon-Small-40.png because app icons must not have an alpha channel\r\n[WARN] : Skipping Resources/iphone/appicon-Small-40@2x.png because app icons must not have an alpha channel\r\n[WARN] : Skipping Resources/iphone/appicon-Small.png because app icons must not have an alpha channel\r\n[WARN] : Skipping Resources/iphone/appicon-Small@2x.png because app icons must not have an alpha channel\r\n[ERROR] : An error occurred during build after 6s 794ms\r\n[ERROR] : DefaultIcon.png cannot be used because it contains an alpha channel\r\nTRACE | titanium exited with exit code 1\r\nERROR | Error: ti run exited with error code 1\r\n at ChildProcess. (/Users/kkolipaka/.appcelerator/install/5.0.2/package/node_modules/appc-cli-titanium/plugins/run.js:89:66)\r\n at ChildProcess.emit (events.js:117:20)\r\n at Process.ChildProcess._handle.onexit (child_process.js:820:12)\r\n{code}", "attachment": [ { "id": "56926", "filename": "log.txt", "author": { "name": "kkolipaka", "key": "kkolipaka", "displayName": "Kondal Kolipaka", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-10-07T09:08:27.000+0000", "size": 14520, "mimeType": "text/plain" } ], "flagged": false, "summary": "iOS build is getting failed with latest SDK ", "creator": { "name": "kkolipaka", "key": "kkolipaka", "displayName": "Kondal Kolipaka", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kkolipaka", "key": "kkolipaka", "displayName": "Kondal Kolipaka", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Operating System\r\n Name = Mac OS X\r\n Version = 10.10.5\r\n Architecture = 64bit\r\n # CPUs = 8\r\n Memory = 8589934592\r\nNode.js\r\n Node.js Version = 0.10.37\r\n npm Version = 1.4.28\r\nTitanium CLI\r\n CLI Version = 5.0.4\r\nTitanium SDK\r\n SDK Version = 5.1.0.v20151006222951\r\n Target Platform = iphone", "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": "366054", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "This was done with appc run.\r\nI think we have to check the DefaultIcon.png packaged inside Alloy and inside Ti.\r\n[~cbarber] right?", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-10-07T09:14:25.000+0000", "updated": "2015-10-07T09:14:25.000+0000" }, { "id": "366111", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Yeah, the DefaultIcon.png in Alloy has an alpha channel: https://github.com/appcelerator/alloy/blob/master/templates/DefaultIcon.png\r\n\r\nWe really need to figure out a way to remove the alpha channel from images. This means if you have an image with an alpha channel, then the iOS build would COPY the image to the build dir, then remove the alpha channel, then embed the image in the asset catalog. I'm not sure the best way to do that. Perhaps there's a Node module that will do it? We should probably add this functionality to node-appc's image library so that we can reuse it.\r\n\r\nAs far as this ticket is concerned, while the issue is caused by Alloy, it's ultimately because of a bug in the iOS build, so we should probably fix it in the SDK.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-10-07T16:53:03.000+0000", "updated": "2015-10-07T16:53:03.000+0000" }, { "id": "366212", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Decided to add support for platform specific default icons. For iOS, it will look for {{DefaultIcon-ios.png}}, followed by {{DefaultIcon-iphone.png}} and finally {{DefaultIcon.png}}.\r\n\r\nPR: https://github.com/appcelerator/titanium_mobile/pull/7279", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-10-08T07:03:45.000+0000", "updated": "2015-10-08T07:03:45.000+0000" }, { "id": "366213", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "h4. Test Cases\r\n1. Only DefaultIcon.png has alpha channel.\r\n2. DefaultIcon.png(with alpha) + DefaultIcon-ios.png(without alpha)\r\n3. DefaultIcon.png(with alpha) + DefaultIcon-ios.png(with alpha)\r\nh4. Expected Result\r\n1. {code}\r\n[ERROR] /Users/kiat/titaniumTestWatch/SGTestPNG/DefaultIcon.png cannot be used because it contains an alpha channel\r\n[ERROR] Create a image named \"DefaultIcon-ios.png\" in the root of your project\r\n[ERROR] It is highly recommended that the DefaultIcon.png be 1024x1024\r\n{code}\r\n2. Builds with no issues\r\n3. Same error as 1.\r\n\r\nCR and FT passed. Merging PR.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-10-08T07:33:52.000+0000", "updated": "2015-10-08T07:33:52.000+0000" }, { "id": "366215", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~bhatfield], need you help to put in a document or guide somewhere that says:\r\n1. Apple doesn't accept app icons with alpha channels.\r\n2. Ti developers either have no alpha channel in their DefaultIcon.png across platforms, or\r\n3. Ti developers can have DefaultIcon.png with alpha channel, and another version without named as DefaultIcon-ios.png or DefaultIcon-iphone.png", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-10-08T07:45:07.000+0000", "updated": "2015-10-08T07:45:07.000+0000" }, { "id": "366704", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed, using:\r\n\r\nMacOS 10.11 (15A284)\r\nStudio 4.3.2.201510082315\r\nTi SDK 5.1.0.v20151009204425\r\nAppc NPM 4.2.1-1\r\nAppc CLI 5.1.0-38\r\nTi CLI 5.0.5\r\nAlloy 1.7.16\r\nArrow 1.3.13\r\nXcode 7.0.1 (7A1001)\r\nNode v0.10.37\r\nJava 1.7.0_80\r\npreproduction\r\n\r\nScenarios tested:\r\n1. DefaultIcon.png with alpha\r\n2. DefaultIcon.png without alpha\r\n3. DefaultIcon.png with alpha, DefaultIcon-ios.png without alpha\r\n4. DefaultIcon.png with alpha, DefaultIcon-ios.png with alpha\r\n\r\nScenarios 1 and 4 failed with the expected error (above). Scenarios 2 and 3 successfully built without error.", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-10-13T21:02:34.000+0000", "updated": "2015-10-13T21:02:34.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }