{ "id": "136636", "key": "TIMOB-17699", "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": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" }, { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-09-26T23:37:32.000+0000", "created": "2014-09-16T04:43:18.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-3.4.0", "regression" ], "versions": [ { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-11-21T20:26:20.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" } ], "attachment": [], "flagged": false, "summary": "CLI: Running \"ti build -p iOS -T simulator --no-prompt\" command outside project directory throws error 'cannot read property deployment-targets of undefined'.", "creator": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "subtasks": [], "reporter": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "environment": "Tested on: \r\n1. Mac OSX 10.9.4 \r\n2. Appcelerator Studio, build: 3.4.0.201409131030\r\n3. Titanium SDK, build: 3.4.0.v20140915175720\r\n4. Titanium CLI, build: 3.4.0-rc3\r\n5. Alloy: 1.5.0-rc2\r\n6. Xcode 6 GM seed\r\n7. iOS SDK 8.0\r\n", "closedSprints": [ { "id": 214, "state": "closed", "name": "2014 Sprint 19 Tooling", "startDate": "2014-09-15T20:19:33.669Z", "endDate": "2014-09-27T00:00:00.000Z", "completeDate": "2014-09-29T14:02:07.744Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "323922", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I'm not sure the the original error message is correct either. Instead, I would suggest something like \"Current directory is not a valid titanium project\"", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-16T09:43:58.000+0000", "updated": "2014-09-16T09:43:58.000+0000" }, { "id": "324051", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Unable to reproduce issue on:\r\n\r\nMac OSX 10.9.4\r\nAppcelerator Studio, build: 3.4.0.201409131030\r\nTitanium SDK build: 3.4.0.v20140916124916 \r\nTitanium CLI, build: 3.4.0-rc3\r\nAlloy: 1.5.0-rc2\r\nXcode6 GM Seed\r\n\r\nCreated a new project and when not in the project directory attempted to build to an iOS simulator using the command *ti build -p ios -T simulator --no-prompt*. The build failed and the error below was printed out in the terminal.\r\n\r\n{code}\r\n[ERROR] Invalid \"--project-dir\" value \".\"\r\n\r\n[ERROR] Missing required option: --device-id \r\n{code}", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2014-09-16T20:54:20.000+0000", "updated": "2014-09-16T20:54:20.000+0000" }, { "id": "324151", "author": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "updateAuthor": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2014-09-17T02:55:14.000+0000", "updated": "2014-09-17T04:48:01.000+0000" }, { "id": "324183", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Note: A) this is an iOS related issue and B) you must have ios.autoSelectDevice set to true (which is the default).", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-09-17T06:50:14.000+0000", "updated": "2014-09-17T06:50:14.000+0000" }, { "id": "324186", "author": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "body": "Noted, I have set ios.autoSelectDevice to true.", "updateAuthor": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2014-09-17T06:57:31.000+0000", "updated": "2014-09-17T06:57:31.000+0000" }, { "id": "324187", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master: https://github.com/appcelerator/titanium_mobile/pull/6112\r\n3_4_X: https://github.com/appcelerator/titanium_mobile/pull/6113", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-09-17T07:00:12.000+0000", "updated": "2014-09-17T07:00:12.000+0000" }, { "id": "324685", "author": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "body": "Tested on: \r\n1. Mac OSX 10.9.4 \r\n2. Appcelerator Studio, build: 3.4.0.201409161950\r\n3. Titanium SDK, build: 3.4.0.v20140918202513\r\n4. Titanium CLI, build: 3.4.0-rc4\r\n5. Alloy: 1.5.0-rc2\r\n6. Xcode 6 GM seed\r\n7. iOS SDK 8.0\r\n\r\nIts workings as expected showing below error message.\r\n\r\n[ERROR] Invalid \"--project-dir\" value \".\"", "updateAuthor": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2014-09-19T10:02:50.000+0000", "updated": "2014-09-19T10:02:50.000+0000" }, { "id": "325953", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Reopening to set story points.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-09-26T23:37:24.000+0000", "updated": "2014-09-26T23:37:24.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }