Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[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 Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2019-11-14T17:29:25.000+0000
Affected Version/sRelease 8.2.1
Fix Version/sRelease 8.3.0
ComponentsAndroid, CLI
LabelsengSchedule
ReporterLokesh Choudhary
AssigneeChris Barber
Created2019-11-13T19:41:58.000+0000
Updated2020-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.

Expected results:

1. CLI should be able to select IOS sim 13.2.2 & build should not fail.

Comments

  1. Chris Barber 2019-11-13

    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
  2. Ewan Harris 2019-11-13

    ioslib PRs merged and ioslib 1.7.19 published
  3. Chris Barber 2019-11-13

    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
  4. Lokesh Choudhary 2019-11-13

    FR Passed. Waiting for Jenkins.
  5. Christopher Williams 2019-11-14

    merged to master, 8_3_X and 8_2_X
  6. Lokesh Choudhary 2019-11-14

    Verified the fix with SDK 8.3.0.v20191114073239 & 9.0.0.v20191114081238. Closing.
  7. Justin Toth 2020-02-29

    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)

JSON Source