runner-images
runner-images copied to clipboard
Add tvOS and watchOS to Xcode 14b5
Tool name
Xcode 14b5 tvOS & watchOS Components
Tool license
N/A
Add or update?
- [X] Add
- [ ] Update
Desired version
The version associated with Xcode 14b5
Approximate size
Unknown
Brief description of tool
Xcode 13 and below included all OS platforms by default. This changed in Xcode 14, where you now get to choose what platforms to install.
https://github.com/SwiftUIX/SwiftUIX/pull/378
This is a package that supports all Apple OS platforms. Currently we are unable to build and test for tvOS, tvOS Simulator, watchOS, watchOS Simulator with Xcode 14b5.
URL for tool's homepage
https://developer.apple.com/download/all/
Provide a basic test case to validate the tool's functionality.
No response
Platforms where you need the tool
- [ ] Azure DevOps
- [X] GitHub Actions
Virtual environments where you need the tool
- [ ] Ubuntu 18.04
- [ ] Ubuntu 20.04
- [ ] Ubuntu 22.04
- [ ] macOS 10.15
- [ ] macOS 11
- [X] macOS 12
- [ ] Windows Server 2019
- [ ] Windows Server 2022
Can this tool be installed during the build?
Yes, unsure how to do it from the command line.
However, when you first open Xcode 14 it prompts you to install the components.
Tool installation time in runtime
No response
Are you willing to submit a PR?
No response
If it helps at all, I just installed Xcode Beta 5, and the versions offered are: iOS 16.0 (built-in) macOS 13.0 (built-in) watchOS 9.0 tvOS 16.0
Since I last looked, they seem to have added a command that will hopefully help!
https://developer.apple.com/documentation/xcode/installing-additional-simulator-runtimes
To download and install all the platforms that the Xcode version you selected supports, use the -downloadAllPlatforms option on xcodebuild.
xcodebuild -downloadAllPlatforms
Hi @Brett-Best we will consider this and get back to you.
Any updates? xcodebuild -downloadAllPlatforms
takes about 8 minutes to run in an action
@Brett-Best sorry for the delay, we have opened a PR adding simulators and most likely deploy the new image early next week.
Added. Will be deployed next week.
@Brett-Best this is now deployed. Please let us know if you see any issues. Thank you!
@Brett-Best could you please clarify — do we still need to install watchOS and tvOS components as the stable Xcode 14 version has been released or they are now bundled?
They aren't included by default so you have to run the command that you coded already for each Xcode version that's 14.x+