Skip to content

Cannot use Metal properly with Swift Packages #8976

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

Merged
merged 1 commit into from
Jul 28, 2025

Conversation

rconnell9
Copy link
Contributor

Cannot use Metal properly with Swift Packages — even with Apple-recommended plugin workaround

The summary here is that when using xcrun to locate metal, xcodebuild is invoked which queries MobileAssets for the location of the metal toolchain. The query to MobileAssets requires the added entitlement.

Reference: #8930

Modifications:

Add expected entitlement

@rconnell9 rconnell9 requested a review from a team as a code owner July 28, 2025 15:17
@rconnell9
Copy link
Contributor Author

@swift-ci please test

@owensd
Copy link

owensd commented Jul 28, 2025

Thanks!

@bkhouri bkhouri enabled auto-merge (squash) July 28, 2025 20:07
@bkhouri bkhouri merged commit 3cf1cb6 into swiftlang:release/6.2 Jul 28, 2025
6 checks passed
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

Successfully merging this pull request may close these issues.

5 participants