-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Add more simulators in Xcode 15.0 #8402
Comments
I created small repro
https://github.com/ilia-shipitsin/xcodes15-runtimes/actions/runs/6337845954/job/17213741033 iOS 16.4 is already there |
I am referring to this: As you can see, only iOS 17.0 simulator is available in Xcode 15.0 |
In this build you are using Xcode 14.3.1 as it is the default and it indeed contains iOS 17.0 and 16.4 simulators |
FYI This would help speeding some build times as there is a known issue with iOS 17 simulators performance https://developer.apple.com/documentation/xcode-release-notes/xcode-15-release-notes#Known-Issues
|
simulators are system wide as far as I know. I'll check with xcode-select a little bit later |
Not necessarily: some are system wide and some are bundled with Xcode. I forked your sample repo and selected Xcode 15.0 (https://github.com/amseddi/xcodes15-runtimes) And this is the result: |
interesting. let me check it (we install runtimes in a loop, but we do not run xcode-select before adding. I wonder if that is required) |
I tried to install on clean vm. I installed XCode-14.3.1, XCode-15.0.0, I did "xcode-select" and then "xcodebuild -downloadAllPlatforms". even running "xcode-select" did not change anything. I see iOS-16.4 is available for XCode-14.3.1 and iOS-17.0 for XCode-15.0.0 what is your local experience ? what do you see running "xcodes runtimes" ? |
for example
|
also, I do not see an evidence that XCode 15 supports "iOS 16.4" officially https://developer.apple.com/documentation/xcode-release-notes/xcode-15-release-notes please elaborate with "iOS 16.4" support on XCode 15. if you have it working on your local Mac, please share details how did you install it |
I usually add it using the Xcode user interface.
The Apple documentation explains how to do it from the command line but you need to download the dmg first from the Apple developer website. |
And reading the xcodes docs, the tool can install runtimes too: xcodes runtimes install "iOS 16.4" |
@amseddi , I suggest you to try installing it within your pipeline (yes, it takes time). as for installing - it looks like it can be installed that way. why I'm asking to try - I'm not sure whether it will work. if that works and you confirm that, we can install it |
We could add it to the workflow cache but IMO it is better to add it to the runner so everyone can profit from this. |
no, I do not mean cache as long-term approach, it's just for testing. Since you confirm it works for you, thanks, we'll discuss internally adding runtimes. |
I'm also having the same issue where build times are identical across 14.2 and 15, yet test runs on iOS17 simulators have taken us over our 1 hour limit for individual jobs. Hoping for an update with iOS 6.4 support soon. |
action https://github.com/muukii/actions-xcode-install-simulator is good indeed. |
I am afraid it is not a viable solution: I tested the action and getting the cache took the same time as downloading the simulator runtime. I would prefer to have it included in the image instead of adding 7 min to each build. |
Maybe you could have a rule of adding the previous runtime with each new version of Xcode 🤔 |
If this may take a while could we look to get the Xcode 15.1 beta added to the runners?
|
Bumping this issue. My specific use case is:
|
Bumping this issue as it is currently blocking our team. Hoping that the simulator performance issues are being addressed. |
@ilia-shipitsin Do you have any news on this issue? |
This might be of help. We currently use this step in our CI workflow to run tests on 16.4 simulator. The step creates a simulator called "iPhone 13" so we can reference it under devices in our fastlane scan.
|
I'm seeing some good results with this! However it would seem the coverage results are not being generated or saved in the usual spot using this method. Going to keep digging for now unless anyone has encountered and resolved this issue. |
Hello and sorry for long delay! We do not plan providing additional simulators (other than the ones which come in stock with the release) as a part of the macOS runners, because we can not guarantee it will work well (or if it will work at all), please use additional 3rd party tools to install the versions you need in runtime. |
Tool name
Xcode 15.0
Tool license
NA
Add or update?
Desired version
16.4 Simulators
Approximate size
No response
Brief description of tool
Add more simulators for Xcode 15.0 or at least iOS 16.4
URL for tool's homepage
No response
Provide a basic test case to validate the tool's functionality.
No response
Platforms where you need the tool
Runner images where you need the tool
Can this tool be installed during the build?
No response
Tool installation time in runtime
No response
Are you willing to submit a PR?
No response
The text was updated successfully, but these errors were encountered: