[TIMOB-27582] IOS: CLI build fails with "Unable to find an iOS Simulator" when no device is specified & CLI autoselects a sim running 13.2.2
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2019-11-14T17:29:25.000+0000 |
Affected Version/s | Release 8.2.1 |
Fix Version/s | Release 8.3.0 |
Components | Android, CLI |
Labels | engSchedule |
Reporter | Lokesh Choudhary |
Assignee | Chris Barber |
Created | 2019-11-13T19:41:58.000+0000 |
Updated | 2020-02-29T15:00:34.000+0000 |
Description
Prerequesite: Xcode 11.2.1
Steps to reproduce:
1. From CLI build an app without specifying "--device-id" for IOS.Actual results:
1. The build fails with:
[TRACE] [ioslib] Scanning Xcodes: 11.2.1:11B500
[TRACE] [ioslib] Scanning Xcode 11.2.1:11B500 sims: 13.2.2
[ERROR] Unable to find an iOS Simulator running iOS 13.2.2.
Whenever Apple releases a new Xcode with an iOS Simulator with a 3 segmented X.Y.Z version number, things break because the sim runtime is usually only X.Y. This happened back with iOS 10.3.1 and now with 13.2.2. PR: https://github.com/appcelerator/ioslib/pull/108
ioslib PRs merged and ioslib 1.7.19 published
Ti SDK master PR: https://github.com/appcelerator/titanium_mobile/pull/11330 Ti SDK 8_3_X PR: https://github.com/appcelerator/titanium_mobile/pull/11331 Ti SDK 8_2_X PR: https://github.com/appcelerator/titanium_mobile/pull/11332
FR Passed. Waiting for Jenkins.
merged to master, 8_3_X and 8_2_X
Verified the fix with SDK 8.3.0.v20191114073239 & 9.0.0.v20191114081238. Closing.
This is still an issue in Ti SDK 8.3.0.GA as well as 9.0.0.X. *[ERROR] Unable to find an iOS Simulator running iOS 13.2.2.* I had only iOS 13.3 simulators installed (which Titanium should find and use instead of complaining about an older version), but I went ahead and installed a 13.2.2 simulator as well and it still gives the same error. [https://ibb.co/VQzdkJt](https://ibb.co/VQzdkJt)