{ "id": "151773", "key": "TIMOB-19680", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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-07T03:45:40.000+0000", "created": "2015-10-06T21:47:03.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-5.1.0" ], "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": "49226", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "151793", "key": "TIMOB-19683", "fields": { "summary": "iOS build is getting failed with latest SDK ", "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": "49210", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "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-12T20:34:16.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": [], "description": "When building a project for iOS (sim, device, or store) the process aborts while creating the icon set. A warning for an icon's alpha channel is shown, but no error or definie reason is given for the build to fail. See below console output:\r\n\r\n{code}\r\n[INFO] Creating app icon set\r\n[DEBUG] Writing /Users/ewieber/THISTOO/build/iphone/Assets.xcassets/Contents.json\r\n[DEBUG] Unsupported app icon Resources/iphone/appicon-60.png, skipping\r\n[WARN] Skipping Resources/iphone/appicon-60@2x.png because app icons must not have an alpha channel\r\nTRACE | titanium exited with exit code 0\r\n appc:run signal received +31s exit sending to ChildProcess {\r\n domain: null,\r\n _events: { close: [Function] },\r\n _eventsCount: 1,\r\n _maxListeners: undefined,\r\n _closesNeeded: 1,\r\n _closesGot: 1,\r\n connected: false,\r\n signalCode: null,\r\n exitCode: 0,\r\n killed: false,\r\n spawnfile: '/usr/local/bin/node',\r\n _handle: null,\r\n spawnargs: \r\n [ '/usr/local/bin/node',\r\n '/Users/ewieber/.appcelerator/install/5.0.2/package/bin/appc',\r\n 'run',\r\n '-p',\r\n 'ios',\r\n '-T',\r\n 'device',\r\n '-l',\r\n 'trace' ],\r\n pid: 3527,\r\n stdin: null,\r\n stdout: null,\r\n stderr: null,\r\n stdio: [ null, null, null ] }\r\n{code}\r\n\r\n*Steps to reproduce issue*\r\n1. Create a new native alloy project with {{appc new}}\r\n2. Build that project with {{appc run -p ios}}\r\n\r\n*Actual Results*\r\nThe above output is shown and the process quits during icon set creation\r\n\r\n*Expected Results*\r\nThe build succeeds or a clear reason for a failure is given.\r\n\r\n*Notes*\r\nThis could also be a bug. If builds fail when there is a 32-but image, then we should not include any in our default projects.", "attachment": [], "flagged": false, "summary": "iOS: Building aborts during icon set creation without reason", "creator": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "MacOS 10.11 (15A279b)\r\nStudio 4.3.1.201509302304\r\nTi SDK 5.1.0.v20151005100431\r\nAppc NPM 4.2.0\r\nAppc CLI 5.0.2\r\nTi CLI 5.0.4\r\nAlloy 1.7.10\r\nArrow 1.2.62\r\nXcode 7.0 (7A218)\r\nNode v4.0.0\r\nJava 1.7.0_45\r\nproduction\r\n", "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": "366007", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~cbarber] is this valid?\r\nI thought \r\n{code}\r\n[WARN] Skipping Resources/iphone/appicon-60@2x.png because app icons must not have an alpha channel\r\n{code}\r\n was reason enough :P", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-10-07T02:04:52.000+0000", "updated": "2015-10-07T02:04:52.000+0000" }, { "id": "366015", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Found a bug. It was throwing an error instead of returning. This causes the build to fail out instead of continue.\r\n\r\nMaster PR: https://github.com/appcelerator/titanium_mobile/pull/7272", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-10-07T03:40:02.000+0000", "updated": "2015-10-07T03:40:02.000+0000" }, { "id": "366016", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Approved. PR merged.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-10-07T03:45:15.000+0000", "updated": "2015-10-07T03:45:15.000+0000" }, { "id": "366561", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed, Created a new native alloy project with {{appc new}} & built the project with {{appc run -p ios}} . Project was built and launched successfully on simulator & device:\r\n{code:java}\r\n[INFO] Creating Xcode project\r\n[INFO] Creating Entitlements.plist\r\n[INFO] Creating Info.plist\r\n[INFO] Disabling ATS\r\n[INFO] Creating main.m\r\n[INFO] Creating Xcode config files\r\n[INFO] Copying Titanium libraries\r\n[INFO] Copying Titanium iOS files\r\n[INFO] Cleaning Xcode derived data\r\n[INFO] Creating debugger and profiler plists\r\n[INFO] Analyzing Resources directory\r\n[INFO] Analyzing platform files\r\n[INFO] Analyzing module files\r\n[INFO] Analyzing localized launch images\r\n[INFO] Analyzing CommonJS modules\r\n[INFO] Creating asset catalog\r\n[INFO] Creating app icon set\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[INFO] Creating launch image set\r\n[INFO] Creating assets image set\r\n[INFO] Processing JavaScript files\r\n[INFO] Writing app properties\r\n[INFO] Encrypting JavaScript files\r\n[INFO] Writing i18n files\r\n[INFO] Processing Titanium symbols\r\n[INFO] Removing files\r\n[INFO] Invoking xcodebuild\r\n[INFO] Finished building the application in 1m 48s 558ms\r\n[INFO] Launching iOS Simulator\r\n}\r\n{code}\r\n\r\nOSX El Capitan 10.11\r\nTi SDK: 5.2.0.v20151009071418 \r\nAppc NPM: 4.2.1-1\r\nAppc CLI: 5.1.0-38\r\n", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2015-10-12T20:33:55.000+0000", "updated": "2015-10-12T20:33:55.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }