{ "id": "124750", "key": "TIMOB-16181", "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": [], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2014-01-15T20:24:10.000+0000", "created": "2014-01-14T00:00:53.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-06-19T12:43:38.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": "h3. Issue\r\nWhen trying to build a project for iOS from within Appcelerator Studio, you consistently get an error stating that you require SDK 7.0.3 for iOS.\r\n\r\nh3. Problem\r\nProper version of Xcode is not getting detected\r\n\r\nh3. Validate\r\nMake sure you have the latest version of Xcode (v 5.0.2)\r\n- from the project root directory (E.G. ~/Users/yourusername/Appcelerator_Studio_Workspace/HelloWorld) run the following command line:\r\n\r\n titanium build --platform ios --ios-version 7.0.3 \r\n\r\n - you should see an error about locating a configuration file\r\n\r\nh3. Fix\r\nforce a redirection of Xcode by Titanium using the following command from terminal\r\n\r\n sudo xcode-select -s /Applications/Xcode.app/Contents/Developer", "attachment": [ { "id": "45109", "filename": "Screen Shot 2014-01-13 at 5.59.24 PM.png", "author": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "created": "2014-01-14T00:10:00.000+0000", "size": 36604, "mimeType": "image/png" } ], "flagged": false, "summary": "Appcelerator Studio was not able to locate the correct Simulator Version", "creator": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "subtasks": [], "reporter": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "environment": "Mac os x 10.8\r\nXcode 5.0.2\r\nAppcelerator Studio 3.2.0 GA\r\nTitanium SDK 3.2.0.GA\r\nAlloy 1.3.0 initial - upgraded to 1.3.0-beta3", "comment": { "comments": [ { "id": "288036", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Moving this to TIMOB since Studio relies on the CLI to return the right Xcode path. Also the fact that running the build command from command line produces an error indicates CLI is using the incorrect path.\r\n", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-14T00:08:19.000+0000", "updated": "2014-01-14T00:08:19.000+0000" }, { "id": "288037", "author": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "body": "Attaching screenshot of the error about the config.json\r\n\r\nThe archive was not in the directory but we were able to read the config using ti config command, we created an empty file in the correct path and then ti config failed, after that, we created a simple config.json file", "updateAuthor": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "created": "2014-01-14T00:10:00.000+0000", "updated": "2014-01-14T00:10:00.000+0000" }, { "id": "288334", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "This ticket is missing critical information such as the output from \"ti info -t ios\". Please include that in future.\r\n\r\nIf Xcode is really located at /Applications/Xcode.app, then the CLI will find it.\r\n\r\nRegarding the screenshot, as the error indicates, the Titanium CLI config cannot be opened. This is most likely because you ran Titanium as sudo and now config.json is owned by root. To fix it, run: {{sudo chown `whoami` ~/.titanium/config.json}}.\r\n\r\nI'm resolving this as cannot reproduce. Feel free to re-open if a reproducible test case can be defined.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-01-15T20:24:10.000+0000", "updated": "2014-01-15T20:24:10.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }