Can a Swift Student Challenge submission include .metal shader files ?

Hello developers, i have a project for SSC that includes metal shader code.

The project runs fine when I build and run it in Xcode, but it does not run in the Swift Playground app.

The reason is that Swift Playgrounds doesn’t compile/build source files with the .metal extension the same way Xcode does (so the shader never gets built/loaded in Playgrounds).

The requirements say: “Your app playground must be built with and run on Swift Playgrounds 4.6 or Xcode 26, or later.” Since it says “or” (not “and”), does that mean it’s acceptable if the project only builds/runs in Xcode?

Thank for the post, I’m not int that team at all nor I have inside information, Im just looking at the eligibility rules.

According to the requirements, the project must run on either Swift Playgrounds 4.6 or Xcode 26, or later. Since Swift Playgrounds looks like doesn’t support building .metal shader files the same way Xcode does, it seems like you could technically meet the requirements by only running the project in Xcode.

From: https://developer.apple.com/swift-student-challenge/eligibility/

“Your app playground must be built with and run on Swift Playground 4.6 or Xcode 26”

OR is the key word here.

Hope this helps, you can also sent that question to that team as they have an email address on their page.

Albert Pascual
  Worldwide Developer Relations.

Can a Swift Student Challenge submission include .metal shader files ?
 
 
Q