{ "id": "174533", "key": "TIMOB-27647", "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": "20033", "name": "Release 9.0.0", "archived": false, "released": true, "releaseDate": "2020-03-18" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-01-16T18:36:27.000+0000", "created": "2019-12-11T17:59:03.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "engSchedule" ], "versions": [ { "id": "20832", "name": "Release 8.3.0", "archived": false, "released": true, "releaseDate": "2019-11-25" } ], "issuelinks": [ { "id": "58062", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "174601", "key": "TIMOB-27702", "fields": { "summary": "iOS: LiveView broken again", "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" } }, "priority": { "name": "High", "id": "2" }, "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": "2020-01-22T13:57:29.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": "h5.Description\r\n\r\nMy machine just updated itself to xcode 11.3 and now I can no longer build without specifying a simulator UDID.\r\n\r\n*WORKAROUND*\r\n\r\nSpecify a simulator udid with the {{-C}} flag\r\n\r\nThe build errors out with the below\r\n\r\n{code}\r\n TypeError: Cannot read property 'sort' of undefined\r\n at /Users/awam/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.GA/node_modules/ioslib/lib/simulator.js:704:13\r\n at /Users/awam/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.GA/node_modules/ioslib/lib/simulator.js:178:12\r\n at fireCallbacks (/Users/awam/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.GA/node_modules/ioslib/lib/xcode.js:181:5)\r\n at /Users/awam/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.GA/node_modules/ioslib/lib/xcode.js:187:11\r\n at /Users/awam/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.GA/node_modules/ioslib/lib/utilities.js:66:17\r\n at process._tickCallback (internal/process/next_tick.js:61:11)\r\n{code}\r\n\r\nh5.Steps to reproduce\r\n\r\n1. Build an app to sim without specifying a udid {{appc run -p ios}} \r\n\r\nh5.Actual\r\n\r\nBuild errors out with above error\r\n\r\nh5.Expected\r\n\r\nNo error, sim auto detected", "attachment": [], "flagged": false, "summary": "iOS: Cannot read property 'sort' of undefined when building using Xcode 11.3", "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": "SDK: 8.3.0.GA\r\nXcode: 11.3", "closedSprints": [ { "id": 1172, "state": "closed", "name": "2019 Sprint 25", "startDate": "2019-12-02T23:08:39.644Z", "endDate": "2019-12-15T23:08:00.000Z", "completeDate": "2019-12-16T05:54:54.518Z", "originBoardId": 114 }, { "id": 1176, "state": "closed", "name": "2020 Sprint 1", "startDate": "2020-01-02T21:15:56.301Z", "endDate": "2020-01-17T21:15:00.000Z", "completeDate": "2020-01-21T17:44:29.577Z", "originBoardId": 114 }, { "id": 1177, "state": "closed", "name": "2020 Sprint 2", "startDate": "2020-01-20T17:44:37.733Z", "endDate": "2020-01-31T17:44:00.000Z", "completeDate": "2020-01-31T16:57:44.689Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "453191", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "https://github.com/appcelerator/ioslib/pull/112\r\n\r\nDetails and test info in the PR.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2019-12-14T07:33:56.000+0000", "updated": "2019-12-14T07:33:56.000+0000" }, { "id": "453318", "author": { "name": "Andrea.Vitale", "key": "andrea.vitale", "displayName": "Andrea Vitale", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hi, I updated the ioslib version inside my 8.3.0.GA folder. The version 1.7.20 is now installed.\r\nWhen I try to run an app (with or without specifying simulator UDID) I always get this error:\r\n\r\n{code:java}\r\n[TRACE] [ioslib] No iOS Simulator UDID specified, searching for best match\r\n[TRACE] [ioslib] Scanning Xcodes: 11.3:11C29\r\n[TRACE] [ioslib] Scanning Xcode 11.3:11C29 sims: \r\n[ERROR] Unable to find an iOS Simulator running iOS 13.2.2.\r\n{code}\r\n\r\nI also downloaded 13.2 simulators via Xcode but the error is always the same.\r\nI'm on macOS Catalina with latest version of Xcode (11.3).\r\n", "updateAuthor": { "name": "Andrea.Vitale", "key": "andrea.vitale", "displayName": "Andrea Vitale", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-12-27T13:01:38.000+0000", "updated": "2019-12-27T13:01:38.000+0000" }, { "id": "453725", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "ioslib@1.7.20 published 12/17/2019.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2020-01-16T18:36:15.000+0000", "updated": "2020-01-16T18:36:15.000+0000" }, { "id": "453761", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*Closing ticket* Fix verified in SDK version {{9.0.0.v20200121151830}}.\r\n\r\nTest and other information can be found at:\r\nhttps://github.com/appcelerator/ioslib/pull/112", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-01-22T13:57:11.000+0000", "updated": "2020-01-22T13:57:11.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }