{ "id": "120856", "key": "TIMOB-15405", "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": "15699", "description": "2013 Sprint 21", "name": "2013 Sprint 21", "archived": true, "released": true, "releaseDate": "2013-10-18" }, { "id": "15701", "description": "2013 Sprint 21 Core", "name": "2013 Sprint 21 Core", "archived": true, "released": true, "releaseDate": "2013-10-18" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-10-08T20:38:20.000+0000", "created": "2013-10-07T16:36:34.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "cli", "ios", "qe-closed-3.2.0", "qe-testadded" ], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-02-12T08:02:28.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": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "There is a an error in the *iphone/cli/commands/_build.js* file that prevent all the symbols to set to *define.h* in production.\r\n\r\nThe function *addSymbol* resets the symbols matrix to an empty array each time it is called.\r\n\r\n{code}\r\nthis.symbols[id] = [];\r\n{code}\r\n\r\nChanging this to \r\n\r\n{code}\r\nif (!Array.isArray(this.symbols[id])) {\r\n\tthis.symbols[id] = [];\r\n}\r\n{code}\r\n\r\nfixes the issue.", "attachment": [ { "id": "43309", "filename": "app.js", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-10-18T23:15:09.000+0000", "size": 2760, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "3.2.0 CLI doesn't add all symbols when compiling ad-hoc", "creator": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Ti CLI 3.2.0 \r\nTi.SDK 3.2.0.v20130927153242", "comment": { "comments": [ { "id": "274199", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/titanium_mobile/pull/4771\n", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-10-08T17:34:20.000+0000", "updated": "2013-10-08T17:34:20.000+0000" }, { "id": "275775", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "To test, build the attached app.js for iOS device, then check that the build/iphone/classes/defines.h contains USE_TI_MEDIA.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-10-18T23:18:14.000+0000", "updated": "2013-10-18T23:18:14.000+0000" }, { "id": "275777", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with \r\nAppcelerator Studio, build: 3.2.0.201310180526\r\nSDK, build 3.2.0.v20131018135643\r\nCLI 3.2.0\r\nMac osx 10.9 Mavericks\r\nBuilt for iOS device 5c iOS version 7.0.2, checked that the build/iphone/classes/defines.h contains USE_TI_MEDIA.", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-18T23:35:32.000+0000", "updated": "2013-10-18T23:36:17.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }