{ "id": "119798", "key": "TIMOB-15121", "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": "15857", "description": "Release 3.2.2", "name": "Release 3.2.2", "archived": false, "released": true, "releaseDate": "2014-03-09" }, { "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-02-19T17:43:23.000+0000", "created": "2013-09-11T18:40:47.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "ios7", "module_api", "qe-3.1.3", "qe-testadded" ], "versions": [ { "id": "15593", "description": "Release 3.1.3", "name": "Release 3.1.3", "archived": true, "released": true, "releaseDate": "2013-09-18" } ], "issuelinks": [ { "id": "35156", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "126372", "key": "AC-1944", "fields": { "summary": "No console output from Ti.API on iOS with simulator 7.0.3, sdk 3.2.1.GA, cli 3.2.1", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "31913", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "119206", "key": "TISTUD-5335", "fields": { "summary": "Studio allows run configurations with unsupported simulators, Xcode 5 ignores settings", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-07-25T21:50:07.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" } ], "attachment": [ { "id": "42406", "filename": "run config.png", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-11T18:40:47.000+0000", "size": 442536, "mimeType": "image/png" }, { "id": "42405", "filename": "simulator.png", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-11T18:40:47.000+0000", "size": 201713, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS7: Launching invalid iOS 7 Simulator prevents application logging", "creator": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Appcelerator Studio, build: 3.1.3.201309072408\r\nTitanium SDK 3.1.3.v20130910153050\r\nTitanium CLI 3.1.2\r\nOSX Mountain Lion 10.8.4\r\nXcode 5 DP 6", "comment": { "comments": [ { "id": "270801", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Note when it's in this state, the console does not seem to register logging events from app.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-11T22:31:07.000+0000", "updated": "2013-09-11T22:31:07.000+0000" }, { "id": "270956", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "There should be some sort of internal validation inside CLI and studio that prevents user from ever selecting non-supported Simulator version's. ", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-12T21:43:54.000+0000", "updated": "2013-09-12T21:43:54.000+0000" }, { "id": "271323", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I was able to reproduce the issue and get into the broken event state following those steps:\r\n\r\n1) Create a new project. Open \"Run configuration\" and run it using iOS SDK 7.0, Simulator version 7.0 and Display Type \"Non-Retina\".\r\nResult: iOS 7 Retina simulator is opening. Everything works fine as expected.\r\n\r\n2) After point 1, \"Run configuration\" and run the project using iOS SDK 7.0, Simulator version 6.1 and Display Type \"Non-Retina\".\r\nResult: iOS 6.1 Simulator opens and everything works fine as expected.\r\n\r\n3) After point 2, 'Run configuration\" and run the project using iOS SDK 7.0, Simulator version 7.0 and Display Type \"Non-Retina\".\r\nResult: iOS 6.1 Simulator is being opened instead of the 7.0. In this states, all events are not diplayed in console.\r\n\r\nFor example, something like:\r\n{code}\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n backgroundColor:'#fff'\r\n});\r\nvar tab1 = Titanium.UI.createTab({ \r\n icon:'KS_nav_views.png',\r\n title:'Tab 1',\r\n window:win1\r\n});\r\n\r\nvar label1 = Titanium.UI.createLabel({\r\n\tcolor:'#999',\r\n\ttext:'I am Window 1',\r\n\tfont:{fontSize:20,fontFamily:'Helvetica Neue'},\r\n\ttextAlign:'center',\r\n\twidth:'auto'\r\n});\r\n\r\nlabel1.addEventListener('click', function(){\r\n\tTi.API.info('#### logging event');\r\n\tconsole.log('#### console log');\r\n});\r\n\r\nwin1.add(label1);\r\n\r\nwin1.open();\r\n\r\n{code}\r\n\r\nclicking on the 'label1' when the simulator is in this state does not produce any output in the console log.\r\n\r\n", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-16T18:20:56.000+0000", "updated": "2013-09-16T18:22:02.000+0000" }, { "id": "271338", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I am going to repurpose this ticket and change the title to reflect the lack of logging. We have another ticket that covers the root behavior.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-16T20:03:03.000+0000", "updated": "2013-09-16T20:03:03.000+0000" }, { "id": "276911", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "With SDK 3.2, when I say --ios-version 7.0, it will set --sim-version also to 7.0 and the iOS Simulator launches running 7.0.\r\n\r\nAs far as retina, there is no such thing anymore of a non-retina simulator running iOS 7.0.\r\n\r\nAs far as the logging output, it works as expected.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-10-27T09:47:45.000+0000", "updated": "2013-10-27T09:47:45.000+0000" }, { "id": "277090", "author": { "name": "iisthesloth", "key": "iisthesloth", "displayName": "Pete Saia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I can confirm the console logging is not working as it should. Everything works well until the console gets to \"[INFO] Focusing the iOS Simulator\" and nothing else will output.\r\n\r\nHere are my versions:\r\n- node v0.10.21 (I tried multiple versions down to 0.9)\r\n- Titanium (CLI) 3.1.2\r\n- Titanium SDK 3.1.3.GA\r\n- Xcode 5.0.1\r\n\r\nCommand:\r\nnode ./node_modules/titanium/bin/titanium build --platform iphone --project-dir ./ --log-level trace --ios-version 7.0 -f -F iphone\r\n", "updateAuthor": { "name": "iisthesloth", "key": "iisthesloth", "displayName": "Pete Saia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-29T00:57:20.000+0000", "updated": "2013-10-29T00:59:45.000+0000" }, { "id": "278510", "author": { "name": "ygbr", "key": "ygbr", "displayName": "Ygor Lemos", "active": true, "timeZone": "America/Sao_Paulo" }, "updateAuthor": { "name": "ygbr", "key": "ygbr", "displayName": "Ygor Lemos", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2013-11-06T21:31:19.000+0000", "updated": "2013-11-06T21:31:19.000+0000" }, { "id": "293775", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Should be fixed as part of TIMOB-15741. There are additional checks inside CLI itself that prevents this bad behavior from happening. In the off case where, it slips through over checks, the simulator would still give back logging info(confirmed it from ios-sim app side) \r\n\r\nTested from within iossim using Xcode 5.0.2 (trying to launch iPad retina 64bit simulator)(using following command : ios-sim launch \"/Users/sabilrahim/Documents/Appcelerator_Studio_Workspace/timob15796/build/iphone/build/Debug-iphonesimulator/timob15796.app\" --xcode-dir \"/Applications/temp folder/Xcode502.app/Contents/Developer/\" --sdk 7.0 --family ipad --retina --sim-64bit)", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-19T17:43:23.000+0000", "updated": "2014-02-19T17:43:23.000+0000" }, { "id": "293859", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed. Verified application logging appears on iOS 7 simulator with Alloy and Classic app. In the default Alloy app, added this code in index.js to verify:\r\n{code}\r\nfunction doClick(e) {\r\n alert($.label.text);\r\n \r\n Ti.API.trace('#### monkey trace');\r\n Ti.API.debug('#### monkey debug');\r\n Ti.API.info('#### monkey info');\r\n Ti.API.warn('#### monkey warn');\r\n Ti.API.error('#### monkey error');\r\n\t\r\n console.log('#### monkey console');\r\n}\r\n{code}\r\n\r\nAnd in the default Classic app, added this code in app.js to verify:\r\n{code}\r\nlabel1.addEventListener('click', function(e){\r\n\tTi.API.trace('#### monkey trace');\r\n Ti.API.debug('#### monkey debug');\r\n Ti.API.info('#### monkey info');\r\n Ti.API.warn('#### monkey warn');\r\n Ti.API.error('#### monkey error');\r\n\t\r\n console.log('#### monkey console');\r\n});\r\n{code}\r\n\r\nTested on:\r\n\r\nAppcelerator Studio, build: 3.2.1.201402061120\r\nSDK build: 3.2.2.v20140214120903, 3.3.0.v20140214150951 \r\nCLI: 3.2.1\r\nAlloy: 1.3.1\r\nXcode: 5.0.2, 5.1 beta 5\r\nDevices: iphone retina 3.5 inch simulator (7.0.3, 7.1), ipad retina simulator (7.0.3, 7.1)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-02-20T01:10:35.000+0000", "updated": "2014-02-20T01:11:10.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }