bitrise icon indicating copy to clipboard operation
bitrise copied to clipboard

Upgrading to Xcode 10.2 Sims throws "failed to get simulator udid"

Open tirodkar opened this issue 5 years ago • 10 comments

After upgrading my builds to Xcode 10.2 on Mojave, I get the following error in the Xcode Test step and all by builds fail:

failed to get simulator udid, error: %!(EXTRA *errors.errorString=failed to get latest os version, error: failed to find latest os version for (iOS) - (iPhone 8 Plus))
|                                                                              |
+---+---------------------------------------------------------------+----------+
| x | [email protected] (exit code: 1)                             | 7.59 sec |
+---+---------------------------------------------------------------+----------+
| Update available: 1.18.16 -> 2.2.0                                           |
| Issue tracker: https://github.com/bitrise-io/steps-xcode-test/issues         |
| Source: https://github.com/bitrise-io/steps-xcode-test                       |
+---+---------------------------------------------------------------+----------+

Happens with iPhone 6s Plus as well.

Example Build: https://app.bitrise.io/build/f70866ad658bb8d6

tirodkar avatar Mar 27 '19 00:03 tirodkar

Hi @tirodkar!

We know about this issue. It seems the new simctl binary which was shipped with the Xcode 10.2 beta doesn’t lists the installed simulators on the VM.

We are working on this, currently, the only phone you can test this environment with is the 5S.

bitce avatar Mar 27 '19 11:03 bitce

This happens again after upgrading to Xcode 11.4

rohdester avatar Apr 15 '20 20:04 rohdester

@bitce Any info on this. This happens again when using Xcode 11.4. I can't run any tests.

rohdester avatar Apr 21 '20 10:04 rohdester

Hi there @rohdester! Just wanted to let you know that our Tooling Team is looking into the issue, and will notify you once there has been a major update! :)

Roland-Bak avatar May 06 '20 07:05 Roland-Bak

Thanks for your patience @rohdester! After some investigation we've found that if you switch from the 1.18.16 version of the step to the newest one, 2.4.5, this should no longer be a problem :)

Roland-Bak avatar May 06 '20 11:05 Roland-Bak

And it happened again with XCode 12.0

Any workaround?

davidfgc avatar Sep 28 '20 15:09 davidfgc

Hi @davidfgc Currently, we don't have have any workarounds for the issue. I am going to get the information regarding this from the team and will let you know.

Thanks Chaitanya

chaitanyatanna-bitrise avatar Sep 29 '20 01:09 chaitanyatanna-bitrise

Hi @davidfgc Can you please confirm that you are selecting the right combination of device and the OS version which has no pre-installed simulator?

Thanks Chaitanya

chaitanyatanna-bitrise avatar Sep 29 '20 11:09 chaitanyatanna-bitrise

And it happened again with XCode 12.0

Any workaround?

Also experiencing this issue. Have attempted builds with Xcode 12.0.x and 12.2.x with Xcode test version 2.4.6

mapierce avatar Sep 30 '20 08:09 mapierce

Hi @mapierce Currently our engineers are investigating this issue. Can you provide some more information like -

  • Which simulator you are using?

  • Also, if you can provide the build URL and enable the Support Access as well?

Thanks Chaitanya

chaitanyatanna-bitrise avatar Oct 01 '20 15:10 chaitanyatanna-bitrise