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

Add tvOS and watchOS to Xcode 14b6 #6051

Closed
3 of 12 tasks
Brett-Best opened this issue Aug 10, 2022 · 9 comments
Closed
3 of 12 tasks

Add tvOS and watchOS to Xcode 14b6 #6051

Brett-Best opened this issue Aug 10, 2022 · 9 comments
Assignees
Labels
awaiting-deployment Code complete; awaiting deployment and/or deployment in progress feature request OS: macOS

Comments

@Brett-Best
Copy link

Brett-Best commented Aug 10, 2022

Tool name

Xcode 14b6 tvOS & watchOS Components

Tool license

N/A

Add or update?

  • Add
  • Update

Desired version

The version associated with Xcode 14b6

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.

SwiftUIX/SwiftUIX#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 14b6.

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
  • GitHub Actions

Virtual environments where you need the tool

  • Ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • macOS 10.15
  • macOS 11
  • 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

@btfranklin
Copy link

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

@Brett-Best
Copy link
Author

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

@igorboskovic3
Copy link
Contributor

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

@Brett-Best
Copy link
Author

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

@Brett-Best Brett-Best changed the title Add tvOS and watchOS to Xcode 14b5 Add tvOS and watchOS to Xcode 14b6 Aug 24, 2022
@actions actions deleted a comment from victomized Aug 25, 2022
@miketimofeev
Copy link
Contributor

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

@mikhailkoliada mikhailkoliada added the awaiting-deployment Code complete; awaiting deployment and/or deployment in progress label Aug 26, 2022
@mikhailkoliada
Copy link
Member

Added. Will be deployed next week.

@miketimofeev
Copy link
Contributor

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

@miketimofeev miketimofeev mentioned this issue Sep 9, 2022
12 tasks
@miketimofeev
Copy link
Contributor

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

@Brett-Best
Copy link
Author

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+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-deployment Code complete; awaiting deployment and/or deployment in progress feature request OS: macOS
Projects
None yet
Development

No branches or pull requests

5 participants