{ "id": "159266", "key": "TIMOB-23139", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2016-04-11T08:31:29.000+0000", "created": "2016-04-02T09:30:16.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "17684", "name": "Release 5.2.1", "archived": false, "released": true, "releaseDate": "2016-03-25" } ], "issuelinks": [ { "id": "51299", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "155810", "key": "TIMOB-20588", "fields": { "summary": "iOS: Log messages are not always displayed on compile time", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "51220", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "155810", "key": "TIMOB-20588", "fields": { "summary": "iOS: Log messages are not always displayed on compile time", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-23T22:49:40.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Very frequently, after building an app to the iOS Simulator I see no logs:\r\n\r\n{code}\r\n[INFO] Launching iOS Simulator\r\n[TRACE] [ioslib] Selected iOS Simulator: iPhone 6s Plus\r\n[TRACE] [ioslib] UDID = C7ECC4A2-E0F1-4248-B51E-5873696E719E\r\n[TRACE] [ioslib] iOS = 9.3\r\n[TRACE] [ioslib] Autoselected Xcode: 7.3\r\n[TRACE] [ioslib] Removing old log file: /Users/fokkezb/Library/Developer/CoreSimulator/Devices/C7ECC4A2-E0F1-4248-B51E-5873696E719E/data/Containers/Data/Application/37BE02D1-A502-45EC-B670-25C3087760D3/Documents/15b42ec3-7d02-4d79-9bba-88673ad5fbcd.log\r\n[TRACE] [ioslib] Tailing iPhone 6s Plus Simulator system log: /Users/fokkezb/Library/Logs/CoreSimulator/C7ECC4A2-E0F1-4248-B51E-5873696E719E/system.log\r\n[TRACE] [ioslib] Running: /Applications/Xcode.app/Contents/Developer/usr/bin/simctl shutdown C7ECC4A2-E0F1-4248-B51E-5873696E719E\r\n[TRACE] [ioslib] iPhone 6s Plus Simulator was already shutdown\r\n[TRACE] [ioslib] Running: /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator -CurrentDeviceUDID C7ECC4A2-E0F1-4248-B51E-5873696E719E\r\n[TRACE] [ioslib] iPhone 6s Plus Simulator started\r\n[TRACE] [ioslib] Running: osascript \"/Users/fokkezb/Library/Application Support/Titanium/mobilesdk/osx/5.2.1.GA/node_modules/ioslib/lib/sim_focus.scpt\" \"Simulator\"\r\n[TRACE] [ioslib] iPhone 6s Plus Simulator successfully focused\r\n[TRACE] [ioslib] Running: /Applications/Xcode.app/Contents/Developer/usr/bin/simctl install C7ECC4A2-E0F1-4248-B51E-5873696E719E /Users/fokkezb/dev/tests/req/build/iphone/build/Products/Debug-iphonesimulator/req.app\r\n[TRACE] [ioslib] App installed\r\n[TRACE] [ioslib] Running: /Applications/Xcode.app/Contents/Developer/usr/bin/simctl launch C7ECC4A2-E0F1-4248-B51E-5873696E719E nl.fokkezb.req\r\n[TRACE] [ioslib] App launched\r\n[TRACE] [ioslib] Found application log file: /Users/fokkezb/Library/Developer/CoreSimulator/Devices/C7ECC4A2-E0F1-4248-B51E-5873696E719E/data/Containers/Data/Application/BD1971B8-282D-4F9D-8F52-92811C12AC79/Documents/15b42ec3-7d02-4d79-9bba-88673ad5fbcd.log\r\n[TRACE] [req] assertion failed: 15E65 13E230: libxpc.dylib + 57882 [66C28065-C9DB-3C8E-926F-5A40210A6D1B]: 0x7d\r\n{code}\r\n\r\nBut when I open the file mentioned in the second last line it does exist and has logs:\r\n\r\n{code}\r\n[INFO] Application started\r\n[DEBUG] Reading stylesheet from: /Users/fokkezb/Library/Developer/CoreSimulator/Devices/C7ECC4A2-E0F1-4248-B51E-5873696E719E/data/Containers/Bundle/Application/080A078B-81C0-4C7B-95FD-C994909390C0/req.app/stylesheet.plist\r\n[INFO] req/1.0 (5.2.1.23e1c7d)\r\n[DEBUG] Loading: /Users/fokkezb/Library/Developer/CoreSimulator/Devices/C7ECC4A2-E0F1-4248-B51E-5873696E719E/data/Containers/Bundle/Application/080A078B-81C0-4C7B-95FD-C994909390C0/req.app/app.js, Resource: app_js\r\n[DEBUG] Loading: /Users/fokkezb/Library/Developer/CoreSimulator/Devices/C7ECC4A2-E0F1-4248-B51E-5873696E719E/data/Containers/Bundle/Application/080A078B-81C0-4C7B-95FD-C994909390C0/req.app/folder/foo.js, Resource: folder/foo_js\r\n[DEBUG] Loading: /Users/fokkezb/Library/Developer/CoreSimulator/Devices/C7ECC4A2-E0F1-4248-B51E-5873696E719E/data/Containers/Bundle/Application/080A078B-81C0-4C7B-95FD-C994909390C0/req.app/foo.js, Resource: foo_js\r\n[INFO] Resources/foo.js\r\n[INFO] Resources/folder/foo.js\r\n[DEBUG] Application booted in 98.801970 ms\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: iOS Simulator console logs not displayed frequently", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "SDK 5.2.1.GA\r\nTitanium CLI 5.0.6\r\nOS X 10.11.4 (15E65)\r\nXcode 7.3 (7D175)\r\niOS Simulator iPhone 6s Plus 9.3", "closedSprints": [ { "id": 618, "state": "closed", "name": "2016 Sprint 08 SDK", "startDate": "2016-04-09T00:30:18.262Z", "endDate": "2016-04-23T00:30:00.000Z", "completeDate": "2016-04-25T02:38:28.511Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "381358", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-04-02T16:53:11.000+0000", "updated": "2016-04-02T16:53:11.000+0000" }, { "id": "381619", "author": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Yeah this should be fixed in the current master , it was to do with compile time logs being lost. ", "updateAuthor": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-04-04T20:38:34.000+0000", "updated": "2016-04-04T20:38:34.000+0000" }, { "id": "381649", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~fokkezb] check this out see if we can close this ticket?", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-04-04T23:26:11.000+0000", "updated": "2016-04-04T23:26:11.000+0000" }, { "id": "382173", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Hard to say since it doesn't always happen, but TIMOB-20588 talks about main thread (which I don't have enabled) and Studio (which I don't use)", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-04-08T08:08:15.000+0000", "updated": "2016-04-08T08:08:15.000+0000" }, { "id": "382204", "author": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Main thread shouldn't be enabled , for the fix to work. Its just the one method thats we forced to run on main-thread so the logs don't get lost. The logging messages on compile time shouldn't be an issue now, did you test it with 5.4.0 ? You don't need to have studio open to test this. ", "updateAuthor": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-04-08T16:33:36.000+0000", "updated": "2016-04-08T16:33:36.000+0000" }, { "id": "382293", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Yes, seems to work. Notice the first line of 5.4 missing with 5.2.2\r\n\r\n5.2.2\r\n\r\n{code}\r\n[TRACE] [ioslib] App launched\r\n[TRACE] [ioslib] Found application log file: /Users/fokkezb/Library/Developer/CoreSimulator/Devices/C7ECC4A2-E0F1-4248-B51E-5873696E719E/data/Containers/Data/Application/2FB3D874-54B4-4BC9-B0DB-B229DACB6651/Documents/9edae89e-a1ef-42c8-9b54-1344805042a9.log\r\n[TRACE] [G.O. Tracker] assertion failed: 15E65 13E230: libxpc.dylib + 57882 [66C28065-C9DB-3C8E-926F-5A40210A6D1B]: 0x7d\r\n-- Start simulator log -------------------------------------------------------\r\n[DEBUG] Loading: /Users/fokkezb/Library/Developer/CoreSimulator/Devices/C7ECC4A2-E0F1-4248-B51E-5873696E719E/data/Containers/Bundle/Application/B00BC6CB-D19C-4251-A5CD-CC95BE819098/G.O. Tracker.app/app.js, Resource: app_js\r\n[DEBUG] Loading: /Users/fokkezb/Library/Developer/CoreSimulator/Devices/C7ECC4A2-E0F1-4248-B51E-5873696E719E/data/Containers/Bundle/Application/B00BC6CB-D19C-4251-A5CD-CC95BE819098/G.O. Tracker.app/alloy.js, Resource: alloy_js\r\n[DEBUG] Loading: /Users/fokkezb/Library/Developer/CoreSimulator/Devices/C7ECC4A2-E0F1-4248-B51E-5873696E719E/data/Containers/Bundle/Application/B00BC6CB-D19C-4251-A5CD-CC95BE819098/G.O. Tracker.app/alloy/underscore.js, Resource: alloy/underscore_js\r\n{code}\r\n\r\n5.4.0\r\n\r\n{code}\r\n[TRACE] [ioslib] App launched\r\n[TRACE] [ioslib] Found application log file: /Users/fokkezb/Library/Developer/CoreSimulator/Devices/C7ECC4A2-E0F1-4248-B51E-5873696E719E/data/Containers/Data/Application/D80A3A21-C6B9-42FB-8C49-618BAC06DB3B/Documents/9edae89e-a1ef-42c8-9b54-1344805042a9.log\r\n[TRACE] [G.O. Tracker] assertion failed: 15E65 13E230: libxpc.dylib + 57882 [66C28065-C9DB-3C8E-926F-5A40210A6D1B]: 0x7d\r\n-- Start simulator log -------------------------------------------------------\r\n[INFO] G.O. Tracker/1.0 (5.4.0.61f08df)\r\n[DEBUG] Loading: /Users/fokkezb/Library/Developer/CoreSimulator/Devices/C7ECC4A2-E0F1-4248-B51E-5873696E719E/data/Containers/Bundle/Application/67AE8297-D154-48CB-94C4-6AAE232C0C21/G.O. Tracker.app/app.js, Resource: app_js\r\n[DEBUG] Loading: /Users/fokkezb/Library/Developer/CoreSimulator/Devices/C7ECC4A2-E0F1-4248-B51E-5873696E719E/data/Containers/Bundle/Application/67AE8297-D154-48CB-94C4-6AAE232C0C21/G.O. Tracker.app/alloy.js, Resource: alloy_js\r\n{code}", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-04-11T08:30:53.000+0000", "updated": "2016-04-11T08:30:53.000+0000" }, { "id": "415506", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as Duplicate with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-23T22:49:40.000+0000", "updated": "2017-03-23T22:49:40.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }