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

[Regression] Xcode 14.1 is missing tvOS targets #3865

Open
cgutman opened this issue Feb 3, 2023 · 2 comments
Open

[Regression] Xcode 14.1 is missing tvOS targets #3865

cgutman opened this issue Feb 3, 2023 · 2 comments

Comments

@cgutman
Copy link

cgutman commented Feb 3, 2023

It looks like your last image update for macOS Monterey which updated to Xcode 14.1 is missing tvOS simulators. The only available tvOS target is a placeholder that displays an error stating that tvOS needs to be installed.

My pipeline command:

set -o pipefail && xcodebuild -project Moonlight.xcodeproj -scheme "Moonlight TV" -destination "platform=tvOS Simulator,OS=16.1,name=Apple TV 4K (3rd generation)" clean build | xcpretty

and the output:

2023-02-02 22:19:09.448 xcodebuild[1542:5737] Writing error result bundle to /var/folders/5s/g225f6nd6jl4g8tshbh1ltk40000gn/T/ResultBundle_2023-02-02_22-19-0009.xcresult
xcodebuild: error: Unable to find a destination matching the provided destination specifier:
		{ platform:tvOS Simulator, OS:16.1, name:Apple TV 4K (3rd generation) }
	The requested device could not be found because no available devices matched the request.
	Ineligible destinations for the "Moonlight TV" scheme:
		{ platform:tvOS, id:dvtdevice-DVTiOSDevicePlaceholder-appletvos:placeholder, name:Any tvOS Device, error:tvOS 16.1 is not installed. To use with Xcode, first download and install the platform }
@FeodorFitsner
Copy link
Member

Will take a look. Will update Monterey image with the latest emulators.

@cgutman
Copy link
Author

cgutman commented Nov 4, 2023

For now, running xcodebuild -downloadPlatform tvOS is a usable workaround. It performs a 3GB download of the tvOS SDKs every time the pipeline runs, so it's certainly not ideal.

For your image building automation, I suggest running xcodebuild -downloadAllPlatforms to download all supported platforms when creating your VM images.

Ref: https://developer.apple.com/documentation/xcode/installing-additional-simulator-runtimes

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