XcodesOrg / XcodesApp

The easiest way to install and switch between multiple versions of Xcode - with a mouse click.
MIT License
6.62k stars 291 forks source link

fix runtime not appearing when multiple runtimes exist for same build #523

Closed MattKiazyk closed 4 months ago

MattKiazyk commented 4 months ago

Fixes issue where iOS 17.4 runtime was not showing on Xcode 15.3

This was because we were grabbing only the first option (naïvely thinking that there would be a singular platform per release) and instead set the sdkToSimulatorMappings to an array.

This allows 17.4 to show properly.

rtharston commented 4 months ago

Wow, nice timing on this! I was going to report this but then I decided to fork and try and fix it myself instead of just logging an issue. Then I built locally and the problem was gone. Lo and behold, you merged this right before I forked! 😁