Running tests using stable Xcode selects beta simulator
From the docs:
We figure out the the simulator destination for you automatically. Stop specifying fragile strings like platform=iphonesimulator,os=14.5,name=iPhone 12 that will break when Xcode updates next week.
Which is a great feature... however, this:
- uses: mxcl/xcodebuild@v3
with:
platform: iOS
xcode: '~16.0'
action: test
configuration: 'debug'
Should not run on an iOS 18.1 beta simulator just because it's installed.
I think here Xcode itself is selecting that simulator, we don’t adjust anything that is not specified. This is kinda an unwritten rule on our behavior. Possibly that should change but needs discussion.
I would have to check that though. Been a long time since I was in the code. Pretty sure though that we don’t even know your project is an iOS project and don’t specify anything.