4

After I've updated to Xcode 15 beta 2, I'm getting these build time errors, which I didn't see in beta 1.

Failed to find or create execution context for description '<IBCocoaTouchPlatformToolDescription: 0x600002588860> System content for IBRealityIdiom-seventeenAndLater <IBScaleFactorDeviceTypeDescription: 0x600002588b60> scaleFactor=2x, renderMode.identifier=(null)'.

I've tried -

  • restarting the Xcode15 beta 2,
  • re-installing Xcode 15 beta 2 and also, its Commnad Line Tools
  • Restarting the macOS (twice)

However, nothing has worked so far. I'd appreciate any suggestions or ideas as to how to fix this issue, because I'm stuck without being able to build the projects.

Thanks in advance!

Code.Decode
  • 3,736
  • 4
  • 25
  • 32
  • I'm also having this issue. I cannot run unit tests because the app won't build for simulators. M1 Mac Ventura 13.4.1 – Jamie M. Jun 23 '23 at 10:31

2 Answers2

6

For me installing VisionOS runtime resolved the issue. This can be done in Xcode > Settings > Platforms.

Screenshot from Xcode

atarasenko
  • 1,768
  • 14
  • 19
  • 1
    Thanks @atarasenko! That did it for me too! This is crazy how Xcode beta still always comes with these annoying issues which involve stupid fixes like these which could've been handled by the IDE itself. – Code.Decode Jun 23 '23 at 17:32
  • In beta 4 I didn't have the GET button on the Platforms page (possibly a bug as well), so I went back to beta 2 and installed visionOS there. Then it worked in beta 4. – brainray Jul 18 '23 at 11:40
0

Solution: Open your .xib file, select the first property tab, and check the box to turn on "Use Trait Variations".

check the box Use Trait Variations

Daniel
  • 132
  • 1
  • 12