{ "id": "173867", "key": "TIMOB-27230", "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": "20856", "name": "Release 8.0.3", "archived": true, "released": false }, { "id": "20412", "name": "Release 8.1.0", "archived": false, "released": true, "releaseDate": "2019-08-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-07-11T17:34:10.000+0000", "created": "2019-07-09T18:55:50.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "20791", "name": "Release 8.0.2", "archived": false, "released": true, "releaseDate": "2019-06-18" } ], "issuelinks": [ { "id": "57788", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "173953", "key": "TIMOB-27294", "fields": { "summary": "iOS: When multiple Xcode versions are installed unclear errors are shown when using a Sim linked to a different xcode", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2019-07-29T16:32:59.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": "I have Xcode 11 beta2 and 10.2.1 installed. Xcode 10.2.1 is selected.\r\n\r\nIf I run {{ti build -p ios}} it will bomb out saying no Xcode's supporting iOS 13.0.\r\n\r\nUltimately, it looks the code to auto-select the iOS SDK version when unspecified is not always sorting the Xcode's to prefer to selected one. Specifically if a 2 member array, the custom sort only checks the second Xcode to see if it's selected, not the first. This can result in it not getting \"priority\" and Xcode's get sorted by version instead (preferring Xcode 11 and iOS 13)", "attachment": [], "flagged": false, "summary": "iOS: CLI prefers Xcode 11/iOS 13 even though Xcode 10.2.1 is selected", "creator": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "environment": null, "closedSprints": [ { "id": 1153, "state": "closed", "name": "2019 Sprint 15", "startDate": "2019-07-15T18:30:38.331Z", "endDate": "2019-07-28T18:30:00.000Z", "completeDate": "2019-07-29T15:34:51.860Z", "originBoardId": 114 }, { "id": 1157, "state": "closed", "name": "2019 Sprint 16", "startDate": "2019-07-29T15:35:47.313Z", "endDate": "2019-08-11T15:35:00.000Z", "completeDate": "2019-08-12T07:57:02.552Z", "originBoardId": 114 }, { "id": 1149, "state": "closed", "name": "2019 Sprint 14", "startDate": "2019-07-01T16:55:04.813Z", "endDate": "2019-07-14T16:55:00.000Z", "completeDate": "2019-07-15T15:41:02.311Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "449689", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "master/8.2.0: https://github.com/appcelerator/titanium_mobile/pull/11037\r\n8_1_X: https://github.com/appcelerator/titanium_mobile/pull/11038", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2019-07-09T18:59:54.000+0000", "updated": "2019-07-09T18:59:54.000+0000" }, { "id": "449691", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Thanks for this! I was to file the same ticket just now. ", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-07-09T21:48:53.000+0000", "updated": "2019-07-09T21:48:53.000+0000" }, { "id": "449734", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "This fixed the issue for myself locally, and was a relatively small change so I merged to get past the issue. QE will likely want to double-confirm/FR it...", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2019-07-11T17:34:10.000+0000", "updated": "2019-07-11T17:34:10.000+0000" }, { "id": "449837", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~cwilliams] With Xcode 11 beta 3 installed and having Xcode 10.2.1 selected whenever I try build to iOS 13 I get the following error: (I get the same error if I have Xcode 11 beta 3 selected and try to run a iOS 12.2 emulator (all other emulators work fine)).\r\n{code:java}\r\n[ERROR] \b\b \bUnable to find any Xcode installations that support both iOS 12.2 and iOS Simulator F44E31CA-0C60-4226-8C41-8BD67EAE0CEF.\r\nBuild failed. Process exited with code 1.\r\n{code}\r\nIs this intended or should it auto select the correct Xcode version? \r\n\r\nSDK Version {{8.1.0.v20190715143102}}, {{8.2.0.v20190712143331}} and {{8.0.3.v20190711103731}}.", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-07-16T11:49:40.000+0000", "updated": "2019-07-16T11:49:40.000+0000" }, { "id": "450098", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "[~smohammed] sounds like a separate issue to me? It seems to be picking up that you have Xcode 10.2.1 selected as it reports trying to match iOS 12.2. But I'm guessing that sim ID must be from Xcode 11 beta 3/ iOS 13? We probably want to file a ticket for this - basically it looks to be auto-selecting an iOS 13 sim in your case to try and match. Presumably it should pick a sim from the selected Xcode to try and match up.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2019-07-26T18:17:43.000+0000", "updated": "2019-07-26T18:17:43.000+0000" }, { "id": "450129", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-07-29T16:32:33.000+0000", "updated": "2019-07-29T16:32:33.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }