{ "id": "176244", "key": "TIMOB-28498", "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": "21201", "description": "", "name": "Release 10.1.0", "archived": false, "released": true, "releaseDate": "2021-09-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2021-06-28T16:28:41.000+0000", "created": "2021-06-28T13:48:44.000+0000", "epic": { "id": 176208, "key": "TIMOB-28465", "name": "iOS: Support iOS 15 and Xcode 13", "summary": "iOS: Support iOS 15/Xcode 13", "color": { "key": "color_7" }, "done": false }, "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "21201", "description": "", "name": "Release 10.1.0", "archived": false, "released": true, "releaseDate": "2021-09-28" }, { "id": "21199", "description": "", "name": "Release 10.0.1", "archived": false, "released": true, "releaseDate": "2021-07-28" } ], "issuelinks": [], "assignee": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "updated": "2021-09-10T10:56:11.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" } ], "description": "h5.Description \r\n\r\nWhen building to an iOS 15 simulator there is a hang occuring between the simulator selection and the simulator launching/app installing. This is because of [this code|https://github.com/appcelerator/ioslib/blob/1_7_X/lib/simulator.js#L919-L935] in ioslib that will walk the reported {{dataDir}} property for a simulator, this directory contains symlinks which is causing the CLI to get caught in an infinite loop, we should either not walk the entire directory or not follow symlinks\r\n\r\n\r\nh5.Steps to reproduce\r\n\r\n1. Build to an iOS sim using Xcode 13 beta 2\r\n\r\nh5.Actual\r\n\r\nBuild process hangs\r\n\r\nh5.Expected\r\n\r\nBuild process should not hang", "attachment": [], "flagged": false, "summary": "iOS: Hang between sim selection and launch or app install when building to iOS 15 simulator", "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": null, "comment": { "comments": [ { "id": "458818", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Changing the code to no longer follow symlinks makes this no longer occur and happen in a similar time to the existing sim search to app launch when using Xcode 12. I do wonder if we could just not do all that work in the first place though", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2021-06-28T14:03:44.000+0000", "updated": "2021-06-28T14:03:44.000+0000" }, { "id": "458819", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Edited description to correct the assertion that Xcode 12/Xcode 13 return different values, they return the same value. It just appears that that directory now contains symlinks which cause the CLI to get stuck in an infinite loop, the iOS 15 directory contains about 3k more files (11,600 vs 8,700) and is around 2GB larger (3.7GB vs 1.6GB) although that probably differs on a machine/usage basis", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2021-06-28T14:17:08.000+0000", "updated": "2021-06-28T14:17:08.000+0000" }, { "id": "458820", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "ioslib PR: https://github.com/appcelerator/ioslib/pull/210\r\nioslib PR 2, because I liked it so much: https://github.com/appcelerator/ioslib/pull/211", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2021-06-28T15:35:43.000+0000", "updated": "2021-06-28T16:15:10.000+0000" }, { "id": "458821", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "master PR: https://github.com/appcelerator/titanium_mobile/pull/12873", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2021-06-28T16:27:35.000+0000", "updated": "2021-06-28T16:27:35.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }