{ "id": "140062", "key": "TIMOB-18060", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2014-11-19T22:54:26.000+0000", "created": "2014-11-19T22:36:33.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "qe-3.5.0" ], "versions": [ { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" }, { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-23T20:49:49.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": "h5.Description\r\n\r\nWhen building to an iOS Simulator after the simulator has finished launching the following is logged to the terminal, on lines 4 to 11 the logging contains two \\[DEBUG] tags and both \\[ioslib] and \\[ios-sim]\r\n{code}\r\n[DEBUG] [ioslib] Removing old log file: /Users/eharris/Library/Developer/CoreSimulator/Devices/580EE7BF-95C4-482A-B747-4E04F519CCCF/data/Containers/Data/Application/50A2C471-F8F0-47C0-9C4A-A237324E9989/Documents/4a6cdfac-5086-4276-8dba-b098a6b98bb6.log\r\n[DEBUG] [ioslib] Executing: /Users/eharris/Library/Application Support/Titanium/mobilesdk/osx/3.4.2.v20141117130125/node_modules/ioslib/lib/ios-sim \"launch\" \"/Users/eharris/Documents/Automation/appLocation/YMLApp/build/iphone/build/Debug-iphonesimulator/YMLApp.app\" \"--verbose\" \"--xcode-dir\" \"/Applications/Xcode-Beta.app/Contents/Developer\" \"--udid\" \"580EE7BF-95C4-482A-B747-4E04F519CCCF\" \"--timeout\" \"720\"\r\n[DEBUG] [ioslib] Executing: osascript \"/Users/eharris/Library/Application Support/Titanium/mobilesdk/osx/3.4.2.v20141117130125/node_modules/ioslib/lib/iphone_sim_activate.scpt\" \"/Applications/Xcode-Beta.app/Contents/Developer/Applications/iOS Simulator.app\"\r\n[DEBUG] [ioslib] [ios-sim] [DEBUG] App Spec: specified by app path /Users/eharris/Documents/Automation/appLocation/YMLApp/build/iphone/build/Debug-iphonesimulator/YMLApp.app\r\n[DEBUG] [ioslib] [ios-sim] [DEBUG] SDK Root: path=/Applications/Xcode-Beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk\r\n[DEBUG] [ioslib] [ios-sim] [DEBUG] Creating named pipe at `/var/folders/1b/xhytcm6170x9n3879xbsp9r00000gn/T//ios-sim-stderr-pipe-1416435327'\r\n[DEBUG] [ioslib] [ios-sim] [DEBUG] Creating named pipe at `/var/folders/1b/xhytcm6170x9n3879xbsp9r00000gn/T//ios-sim-stdout-pipe-1416435327'\r\n[DEBUG] [ioslib] [ios-sim] [DEBUG] using device family iphone\r\n[DEBUG] [ioslib] [ios-sim] [DEBUG] Comparing 580EE7BF-95C4-482A-B747-4E04F519CCCF == 580EE7BF-95C4-482A-B747-4E04F519CCCF\r\n[DEBUG] [ioslib] [ios-sim] [DEBUG] set device to : iPhone 4s\r\n[DEBUG] [ioslib] [ios-sim] [DEBUG] Session started\r\n[DEBUG] [ioslib] Found application log file: /Users/eharris/Library/Developer/CoreSimulator/Devices/580EE7BF-95C4-482A-B747-4E04F519CCCF/data/Containers/Data/Application/FB3A05C4-4DF5-473F-8D2B-A4D625C3AACE/Documents/4a6cdfac-5086-4276-8dba-b098a6b98bb6.log\r\n{code}\r\n\r\nhowever on 3.4.1.GA the output is the following\r\n{code}\r\n[TRACE] : ** BUILD SUCCEEDED **\r\n[INFO] : Finished building the application in 41s 683ms\r\n[INFO] : Launching iOS Simulator\r\n[INFO] : Project built successfully in 1m 4s 243ms\r\n-- Start simulator log -------------------------------------------------------\r\n{code}\r\n\r\nh5.Steps To Reproduce\r\n\r\n1. Using 3.4.2 or 3.5.0 SDK build a project to an iOS Simulator with the log level set to trace \r\n{code}\r\nti build -p ios -T simulator --log-level trace\r\n{code}\r\n2. After the simulator has launched check the output in the terminal\r\n\r\nh5.Actual Result\r\n\r\n\r\nThe output matches what is shown above and contains two \\[DEBUG] tags\r\n\r\nh5.Expected Result\r\n\r\nThe output should not contain two tags", "attachment": [], "flagged": false, "summary": "CLI: When building to simulator the log output contains two [DEBUG] tags", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Mac OSX 10.10\r\nAppcelerator Studio, build: 3.4.1.201410281743\r\nTitanium SDK build: 3.4.2.v20141117130125, 3.5.0.v20141117130916\r\nTitanium CLI, build: 3.4.1, 3.5.0-dev\r\nXcode 6.2 Beta", "comment": { "comments": [ { "id": "332979", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "This is by design. That way we can run ios-sim from the command line as well as from the Titanium CLI and we can see the message level.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-11-19T22:54:26.000+0000", "updated": "2014-11-19T22:54:26.000+0000" }, { "id": "415368", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-23T20:49:49.000+0000", "updated": "2017-03-23T20:49:49.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }