{ "id": "124185", "key": "TIMOB-16130", "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": "15817", "description": "2014 Sprint 01", "name": "2014 Sprint 01", "archived": true, "released": true, "releaseDate": "2014-01-17" }, { "id": "15819", "description": "2014 Sprint 01 Core", "name": "2014 Sprint 01 Core", "archived": true, "released": true, "releaseDate": "2014-01-17" }, { "id": "15856", "description": "Release 3.2.1", "name": "Release 3.2.1", "archived": false, "released": true, "releaseDate": "2014-02-10" }, { "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-01-24T22:42:02.000+0000", "created": "2013-12-25T19:19:06.000+0000", "priority": null, "labels": [ "android", "cli", "module_cli", "qe-testadded" ], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-07-24T09:34:04.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": [], "attachment": [ { "id": "44810", "filename": "titanium-info", "author": { "name": "pvempaty", "key": "pvempaty", "displayName": "Phani Chaitanya Vempaty", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-26T04:51:06.000+0000", "size": 10150, "mimeType": "application/octet-stream" } ], "flagged": false, "summary": "If you do not have Xcode, you cannot launch Android emulator with Titanium SDK 3.2.0GA", "creator": { "name": "pvempaty", "key": "pvempaty", "displayName": "Phani Chaitanya Vempaty", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pvempaty", "key": "pvempaty", "displayName": "Phani Chaitanya Vempaty", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK : 3.2.0GA\r\nAndroid SDK : 4.4.2 (have installed 4.3 , 4.2.2 , 4.1.2 sdks as well)\r\nOS : Mac OS X 10.6.8 (snow leopard)\r\n\r\nNOTE: only Android is configured for Titanium SDK.", "comment": { "comments": [ { "id": "285798", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I am a little surprised that you are trying to launch the Android simulator but the error message is related to Xcode. Can you please confirm that you are launching the Android but seeing this error message? It would help us to troubleshoot the issue if you can run this command and attach the output to this ticket.\n\ntitanium info -o json", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-26T04:41:43.000+0000", "updated": "2013-12-26T04:41:43.000+0000" }, { "id": "285801", "author": { "name": "pvempaty", "key": "pvempaty", "displayName": "Phani Chaitanya Vempaty", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Ritu,\n\nYes, even I'm surprised as why it needs Xcode for android simulator. I've attached the output of the command you asked.", "updateAuthor": { "name": "pvempaty", "key": "pvempaty", "displayName": "Phani Chaitanya Vempaty", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-26T04:49:59.000+0000", "updated": "2013-12-26T04:49:59.000+0000" }, { "id": "285803", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks for providing the information so quickly. We will now try to troubleshoot the issue in house based on the provided information.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-26T05:01:07.000+0000", "updated": "2013-12-26T05:01:07.000+0000" }, { "id": "286059", "author": { "name": "pvempaty", "key": "pvempaty", "displayName": "Phani Chaitanya Vempaty", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Ritu, are you able to reproduce the issue ?", "updateAuthor": { "name": "pvempaty", "key": "pvempaty", "displayName": "Phani Chaitanya Vempaty", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-28T04:15:19.000+0000", "updated": "2013-12-28T04:15:19.000+0000" }, { "id": "286137", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "The Android build (for apps) does not depend on Xcode or the Xcode command line tools.\n\nWhat is the exact build command you are trying to run?", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-12-28T18:58:21.000+0000", "updated": "2013-12-28T18:58:21.000+0000" }, { "id": "286138", "author": { "name": "pvempaty", "key": "pvempaty", "displayName": "Phani Chaitanya Vempaty", "active": true, "timeZone": "America/Los_Angeles" }, "body": "All I'm doing is \"Run as Android Emulator\" in the Titanium SDK.\n\nI'm also surprised as to why I get that error regarding Xcode as for Android it need not be required.", "updateAuthor": { "name": "pvempaty", "key": "pvempaty", "displayName": "Phani Chaitanya Vempaty", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-28T19:20:16.000+0000", "updated": "2013-12-28T19:20:16.000+0000" }, { "id": "286142", "author": { "name": "pvempaty", "key": "pvempaty", "displayName": "Phani Chaitanya Vempaty", "active": true, "timeZone": "America/Los_Angeles" }, "body": "A quick update:\n\nI even tried to build from command line using the command : titanium build -p android -b -f --log-level debug -d test/\n\nI tried to debug the code and I found that the command (build) loading is failing. In the file \"lib/cli.js\" & line number 350, we call a function load as \"command.load()\" whereas command is build command in this case.\n\nI'm stuck at that place as I could not find where that piece of code is which executes the load. I tried searching in the build.js file (/Library/Application Support/Titanium/mobilesdk/osx/3.2.0.GA/cli/commands/build.js), but I cannot find the trace of the function in it.", "updateAuthor": { "name": "pvempaty", "key": "pvempaty", "displayName": "Phani Chaitanya Vempaty", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-29T01:27:44.000+0000", "updated": "2013-12-29T01:27:44.000+0000" }, { "id": "286143", "author": { "name": "pvempaty", "key": "pvempaty", "displayName": "Phani Chaitanya Vempaty", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The same command does work in other Mac OS X versions as in 10.9", "updateAuthor": { "name": "pvempaty", "key": "pvempaty", "displayName": "Phani Chaitanya Vempaty", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-29T01:28:58.000+0000", "updated": "2013-12-29T01:28:58.000+0000" }, { "id": "286686", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~pvempaty] Is it possible that your 10.9 machine has Xcode command line tools installed? CLI behavior should be identical for these two OS so trying to understand the difference in these two environments. ", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-05T23:03:10.000+0000", "updated": "2014-01-05T23:03:10.000+0000" }, { "id": "286699", "author": { "name": "pvempaty", "key": "pvempaty", "displayName": "Phani Chaitanya Vempaty", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Yes, it has command line tools installed.", "updateAuthor": { "name": "pvempaty", "key": "pvempaty", "displayName": "Phani Chaitanya Vempaty", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-06T01:47:20.000+0000", "updated": "2014-01-06T01:47:20.000+0000" }, { "id": "286718", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Can you try installing the same command line tools on the other machines where you are running into this issue? It would help us narrow down the issue further.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-06T05:48:10.000+0000", "updated": "2014-01-06T05:48:10.000+0000" }, { "id": "286825", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Confirmed and fixed issue.\n\nMaster pull request: https://github.com/appcelerator/titanium_mobile/pull/5189\n3.2.x pull request: https://github.com/appcelerator/titanium_mobile/pull/5190", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-01-06T22:11:03.000+0000", "updated": "2014-01-06T22:11:03.000+0000" }, { "id": "287147", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed. After moving Xcode to a different directory, verified I was able to launch the android emulators; moving Xcode to a different directory simulated Xcode not being installed or xcode-select not pointing to the correct Xcode directory.\n\nTested on:\n\nAppcelerator Studio, build: 3.2.1.201401061716\nSDK build: 3.2.1.v20140106195644, 3.3.0.v20140106195650\nCLI: 3.2.1-beta\nAlloy: 1.3.1-beta2\nOS: Mavericks 10.9.1, 10.9.2 (pre-release)\nDevices: android emulator 2.3.3, android emulator 4.2.2", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-01-08T02:23:44.000+0000", "updated": "2014-01-08T02:23:44.000+0000" }, { "id": "289661", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Reopening ticket to rename the title to properly reflect the bug behavior.", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-01-24T22:40:33.000+0000", "updated": "2014-01-24T22:40:33.000+0000" } ], "maxResults": 15, "total": 15, "startAt": 0 } } }