runner-images icon indicating copy to clipboard operation
runner-images copied to clipboard

Add tvOS and watchOS to Xcode 14b5

Open Brett-Best opened this issue 1 year ago • 3 comments

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

Brett-Best avatar Aug 10 '22 15:08 Brett-Best

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

btfranklin avatar Aug 10 '22 16:08 btfranklin

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

Brett-Best avatar Aug 10 '22 16:08 Brett-Best

Hi @Brett-Best we will consider this and get back to you.

igorboskovic3 avatar Aug 11 '22 08:08 igorboskovic3

Any updates? xcodebuild -downloadAllPlatforms takes about 8 minutes to run in an action

Brett-Best avatar Aug 18 '22 00:08 Brett-Best

@Brett-Best sorry for the delay, we have opened a PR adding simulators and most likely deploy the new image early next week.

miketimofeev avatar Aug 25 '22 14:08 miketimofeev

Added. Will be deployed next week.

mikhailkoliada avatar Aug 26 '22 10:08 mikhailkoliada

@Brett-Best this is now deployed. Please let us know if you see any issues. Thank you!

miketimofeev avatar Aug 31 '22 15:08 miketimofeev

@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?

miketimofeev avatar Sep 09 '22 09:09 miketimofeev

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+

Brett-Best avatar Sep 09 '22 10:09 Brett-Best