{ "id": "127911", "key": "TIMOB-16652", "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": "15939", "description": "2014 Sprint 07", "name": "2014 Sprint 07", "archived": true, "released": true, "releaseDate": "2014-04-11" }, { "id": "15942", "description": "2014 Sprint 07 Tooling", "name": "2014 Sprint 07 Tooling", "archived": true, "released": true, "releaseDate": "2014-04-11" }, { "id": "15971", "description": "Release 3.2.3", "name": "Release 3.2.3", "archived": false, "released": true, "releaseDate": "2014-04-30" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-04-21T06:50:28.000+0000", "created": "2014-03-20T19:13:11.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-3.2.2", "qe-closed-3.2.3", "qe-closed-3.3.0", "qe-testadded" ], "versions": [ { "id": "15856", "description": "Release 3.2.1", "name": "Release 3.2.1", "archived": false, "released": true, "releaseDate": "2014-02-10" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-07-22T07:33:39.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" }, { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h5.Description\r\nUsing the CLI to build to multiple devices using the command \"ti build -p ios -C all -T device\" throws an error and fails the build.\r\n\r\nh5.Steps To Reproduce\r\n1. Create a classic project\r\n2. Connect multiple iOS devices\r\n3. Run \"ti build -p ios -C all -T device\"\r\n\r\nh5.Expected Outcome\r\nApp should be installed on all devices\r\n\r\nh5.Actual Outcome\r\n{code}\r\n/usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:184\r\n throw e;\r\n ^\r\nTypeError: Cannot read property 'cyan' of undefined\r\n at iOSBuilder.validate (/Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20140317110130/iphone/cli/commands/_build.js:880:139)\r\n at exports.validatePlatformOptions (/Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20140317110130/node_modules/titanium-sdk/lib/titanium.js:616:69)\r\n at /Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20140317110130/cli/commands/build.js:192:19\r\n at callCommandValidate (/usr/local/lib/node_modules/titanium/lib/cli.js:848:7)\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:551:21\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:227:13\r\n at iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:134:13)\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:145:25\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:229:17\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:556:34\r\n{code}", "attachment": [], "flagged": false, "summary": "CLI: build to all iOS devices feature throws an error", "creator": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OSX 10.9.2\r\nAppcelerator Studio, build: 3.2.1.201402061120\r\nTitanium SDK, build: 3.2.2.GA\r\nCLI: 3.2.1\r\nAlloy: 1.3.1", "comment": { "comments": [ { "id": "299034", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5541", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-03-27T21:01:17.000+0000", "updated": "2014-03-31T15:59:44.000+0000" }, { "id": "301714", "author": { "name": "dpandey", "key": "dpandey", "displayName": "Deepti Pandey", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Verified FIXED using :\r\n\r\nOSX: 10.9.2\r\nXcode:5.1.1\r\nacs@1.0.14\r\nalloy@1.3.1\r\nnpm@1.3.2\r\ntitanium@3.2.3-beta2\r\ntitanium-code-processor@1.1.1-beta1\r\nMobileSDK :3.2.3.v20140418101718 ,3.3.0.v20140418162516\r\nAppcelerator Studio, build: 3.2.3.201404162038\r\nDevices : iPhone 5s (7.1) , iPod toch (7.1)\r\nI am successfully able to deploy an app using CLI on multiple devices at a same time. Hence closing it as FIXED.", "updateAuthor": { "name": "dpandey", "key": "dpandey", "displayName": "Deepti Pandey", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-04-21T06:41:42.000+0000", "updated": "2014-04-21T06:50:14.000+0000" }, { "id": "301716", "author": { "name": "dpandey", "key": "dpandey", "displayName": "Deepti Pandey", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Reopening to edit device details .", "updateAuthor": { "name": "dpandey", "key": "dpandey", "displayName": "Deepti Pandey", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-04-21T06:48:30.000+0000", "updated": "2014-04-21T06:48:40.000+0000" }, { "id": "301717", "author": { "name": "dpandey", "key": "dpandey", "displayName": "Deepti Pandey", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Closing as FIXED .", "updateAuthor": { "name": "dpandey", "key": "dpandey", "displayName": "Deepti Pandey", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-04-21T06:50:28.000+0000", "updated": "2014-04-21T06:50:28.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }