{ "id": "106061", "key": "TIMOB-11979", "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": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14700", "description": "2012 Sprint 25", "name": "2012 Sprint 25", "archived": true, "released": true, "releaseDate": "2012-12-17" }, { "id": "14785", "description": "2012 Sprint 25 JS", "name": "2012 Sprint 25 JS", "archived": true, "released": true, "releaseDate": "2012-12-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-12-07T00:48:50.000+0000", "created": "2012-12-06T12:30:47.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2013-01-22T07:17:30.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": "When xcode-select is pointing to an invalid Xcode path, the CLI has a bad day.\r\n\r\n{code}\r\n[ERROR] No Xcode version is currently selected\r\n\r\nUse 'xcode-select' to select one of the Xcode versions:\r\n[ERROR] TypeError: Cannot read property 'xcode' of undefined\r\n{code}", "attachment": [], "flagged": false, "summary": "CLI: Add better error handling when xcode-select is set to invalid Xcode path", "creator": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "235309", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "When xcode path points to invalid xcode-sdk, error message comes as \" \r\n\r\n[ERROR] No Xcode version is currently selected\r\n\r\nUse 'xcode-select' to select one of the Xcode versions:\r\n\r\n xcode-select -switch /Applications/Xcode4.5.1.app/Contents/Developer\r\n\r\n xcode-select -switch /Volumes/Mtn Lion/Applications/Xcode_4.4.1.app/Contents/Developer\r\n\r\n xcode-select -switch /Volumes/Mtn Lion/Applications/Xcode_4.5.app/Contents/Developer\r\n \r\n\"\r\n\r\nVerified on : \r\nSDK version: 3.1.0.v20130111163212\r\nCLI version : 3.0.23\r\nOS : MAC OSX 10.7.5\r\nXCode : 4.5.1", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-01-22T07:17:30.000+0000", "updated": "2013-01-22T07:17:30.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }