Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running tests using stable Xcode selects beta simulator #113

Open
NachoSoto opened this issue Sep 23, 2024 · 1 comment
Open

Running tests using stable Xcode selects beta simulator #113

NachoSoto opened this issue Sep 23, 2024 · 1 comment

Comments

@NachoSoto
Copy link
Contributor

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.

@mxcl
Copy link
Owner

mxcl commented Sep 25, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants