{ "id": "168594", "key": "TIMOB-24888", "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": "2018-02-13T09:05:55.000+0000", "created": "2017-06-23T22:12:47.000+0000", "epic": { "id": 168100, "key": "TIMOB-24772", "name": "iOS: Support iOS 11 / Xcode 9", "summary": "iOS: Add support for iOS 11 and Xcode 9", "color": { "key": "color_1" }, "done": false }, "priority": { "name": "Medium", "id": "3" }, "labels": [ "cb-tooling" ], "versions": [ { "id": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2018-02-13T09:05:55.000+0000", "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" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "When using the iOS 11 Simulator on Xcode 9, a new Simulator instance is created on every build. It does not cache the current state and instead kill the sim to launch it again. It takes around 15 seconds more than in a recurring build (e.g. Xcode 8).", "attachment": [], "flagged": false, "summary": "iOS: Xcode 9 does not store Simulator state when having multiple installations, forces new Simulator launch at every build", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "closedSprints": [ { "id": 1000, "state": "closed", "name": "2018 Sprint 04 SDK", "startDate": "2018-02-12T04:23:01.913Z", "endDate": "2018-02-26T04:23:00.000Z", "completeDate": "2018-02-26T19:36:01.769Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "427326", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "I could see this happening if you have multiple Xcodes installed and the CLI picks a different Xcode to list the Simulators than the Xcode used to build the app. This means {{ioslib}} needs to spin up one version of the CoreSimulator service to get the list of simulators and another version to launch the simulator.\r\n\r\nI'll have to investigate more, but I suspect that {{simctl}} for a Xcode version different from the one that is building the app cannot accurate detect the state of the simulator. We may need to extend {{ioslib}} to allow the Titanium build to influence which Xcode version to use to query the simulators.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2017-08-28T20:32:39.000+0000", "updated": "2017-08-28T20:32:39.000+0000" }, { "id": "427327", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "If it's only happening with multiple Xcode installations installed, we should be okay! What do you think about the idea of booting the sim early (mentioned in the other ticket we talked about)?", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-08-28T20:44:56.000+0000", "updated": "2017-08-28T20:44:56.000+0000" }, { "id": "427329", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Yes, we should boot the iOS Simulator as soon as possible. This is not a major change, but can be tricky. If this can wait, then I can tackle this in sprint 19 or 20.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2017-08-28T20:52:22.000+0000", "updated": "2017-08-28T20:52:22.000+0000" }, { "id": "428832", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~amukherjee] Can you try this with 6.3.0 Chris merged a new iOS lib.\r\n", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-09T17:11:06.000+0000", "updated": "2017-10-09T17:11:06.000+0000" }, { "id": "428855", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Environment used:\r\nNode Version: 6.10.3\r\nNPM Version: 3.10.10\r\nMac OS: 10.13\r\nAppc CLI: 6.2.4\r\nAppc CLI NPM: 4.2.9\r\nTitanium SDK version: 6.2.2 and 6.3.0.v20171006185117\r\nAppcelerator Studio vers 4.10.0\r\nXcode 8.3. and Xcode 9.0\r\n\r\n[~emerriman] I tried this on the latest SDK build 6.3.0.v20171006185117, and with an older build (6.2.2), and did not get multiple instances of Simulator when I built multiple times. I also tried the case with multiple Xcode versions installed on my machine, and had only one instance of Simulator running with multiple runs.", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-09T21:21:29.000+0000", "updated": "2017-10-09T21:21:29.000+0000" }, { "id": "428942", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~amukherjee] Was this confirmed by another dev as well? We need to ensure this one is included in the RC.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-10-11T13:11:10.000+0000", "updated": "2017-10-11T13:11:10.000+0000" }, { "id": "428944", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "I haven't been able to reproduce this issue in the recent past. ioslib@1.6.0 (which is already in 6.3.0) changes how it detects running simulators and so this may no longer be an issue.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2017-10-11T14:48:14.000+0000", "updated": "2017-10-11T14:48:14.000+0000" }, { "id": "434401", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Resolving as {{Cannot Reproduce}} in newer versions of the SDK. If our community community still experiences this issue in 7.0.0+, let us know!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-02-13T09:05:55.000+0000", "updated": "2018-02-13T09:05:55.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }