{ "id": "150453", "key": "ALOY-1299", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [ { "id": "16907", "name": "Release 5.1.0", "archived": false, "released": true, "releaseDate": "2015-10-28" }, { "id": "17166", "name": "alloy-1.7.4", "archived": false, "released": true, "releaseDate": "2015-08-18" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-08-19T17:26:14.000+0000", "created": "2015-08-17T11:59:06.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-5.0.0", "regression" ], "versions": [ { "id": "16692", "name": "Alloy 1.7.0", "archived": false, "released": true, "releaseDate": "2015-07-22" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2015-10-29T17:52: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": "13604", "name": "Tooling", "description": "Items related to Alloy tooling and workflow" } ], "description": "Cannot build to iOS simulator or device. Error shown during build for missing appicons.\r\n\r\nThis is a regression as the issue does not occur on 4.1.0.GA\r\n\r\nSteps to Reproduce:\r\n1. Create a new titanium project\r\n2. Build it for iOS simulator or device\r\n\r\nActual Result:\r\nAn error is shown\r\n{code}\r\n[ERROR] No suitable app icon that is at least 180x180, unable to create missing icons:\r\n[ERROR] appicon-Small@3x.png - Used for iPhone - required size: 87x87 (29x29 @3x)\r\n[ERROR] appicon-Small-40.png - Used for iPad - required size: 40x40 (40x40 @1x)\r\n[ERROR] appicon-Small-40@2x.png - Used for iPhone, iPad - required size: 80x80 (40x40 @2x)\r\n[ERROR] appicon-Small-40@3x.png - Used for iPhone - required size: 120x120 (40x40 @3x)\r\n[ERROR] appicon-76.png - Used for iPad - required size: 76x76 (76x76 @1x)\r\n[ERROR] appicon-76@2x.png - Used for iPad - required size: 152x152 (76x76 @2x)\r\n[ERROR] An error occurred during build after 8s 152ms\r\n \r\nERROR | ti run exited with error code 1\r\n{code}\r\n\r\nExpected Result:\r\nThe project should build successfully for iOS", "attachment": [], "flagged": false, "summary": "Cannot build a new project for iOS due to missing appicons", "creator": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OS 10.10.4\r\nTi SDK: 4.2.0.v20150817002027\r\nAppc NPM 4.1.0 \r\nAppc CLI 4.2.0-51\r\nXcode 7b4", "closedSprints": [ { "id": 478, "state": "closed", "name": "2015 Sprint 17 Tooling", "startDate": "2015-08-17T16:09:49.717Z", "endDate": "2015-08-29T01:09:00.000Z", "completeDate": "2015-09-10T19:57:06.855Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "360138", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I believe this issue only occurs using appc new and appc run. Putting in Tooling.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-08-18T01:16:07.000+0000", "updated": "2015-08-18T01:16:07.000+0000" }, { "id": "360146", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "A) The error is by design and B) you should never have this problem with new projects.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-08-18T02:18:33.000+0000", "updated": "2015-08-18T02:18:33.000+0000" }, { "id": "360150", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~cbarber], it's happening on new projects, when using appc.\r\n\r\nh4. Steps to reproduce\r\n1. Create new appc titanium project: appc new \r\n2. Enter project directory\r\n3. Build: appc run -p ios\r\n\r\nthe error will show. \r\n\r\nti create and ti build is perfectly fine though.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-08-18T02:30:18.000+0000", "updated": "2015-08-18T02:37:34.000+0000" }, { "id": "360151", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~cng] Either you don't have the latest SDK or you have a bad scons build. The default app icon is in the template and should exist when creating new projects: https://github.com/appcelerator/titanium_mobile/blob/master/iphone/templates/app/default/template/Resources/iphone/appicon.png.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-08-18T02:52:54.000+0000", "updated": "2015-08-18T02:52:54.000+0000" }, { "id": "360164", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The issue does not occur on a new classic project. The error is only when the newly created project is an Alloy project.", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-08-18T06:48:30.000+0000", "updated": "2015-08-18T06:48:30.000+0000" }, { "id": "360233", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "PR: https://github.com/appcelerator/alloy/pull/714", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-08-18T19:05:15.000+0000", "updated": "2015-08-18T19:05:15.000+0000" }, { "id": "368318", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed, I am able to create new Alloy projects and build them to iOS devices and Sims (8.4 & 9.1) without issue. Also verified that {{appicon@2x.png}} uses the right icon, and has been resized to 512px X 512px .\r\n\r\nMac OSX El Capitan 10.11 (15A284)\r\nStudio: 4.4.0.201510290457\r\nTi SDK: 5.1.0.v20151028190028\r\nAppc NPM: 4.2.1\r\nAppc CLI: 5.1.0-38\r\nTi CLI: 5.0.4\r\nAlloy: 1.7.4\r\nXcode 7.1(7B91b)\r\nNode v4.2.1\r\nproduction\r\n\r\n*Closing ticket.*", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2015-10-29T17:52:13.000+0000", "updated": "2015-10-29T17:52:13.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }