Creating playgrounds from a template does nothing

Attempts to create Swift Playgrounds from the built-in templates fail. Clicking the “Get” button on these templates appears to download something, but it changes back into a “Get” button afterwards without creating a playground.

Furthermore, the Swift versions of the templates seem to be behind; it shows Swift 5.8 and Swift 5.9 editions whereas it should be Swift 6.x

Steps to Reproduce

  1. Start the Swift Playground app (the standalone app, not the Xcode one, on macOS or iPadOS).
  2. Select “Learn to Code”
  3. Choose the “Get Started With Code” template (or any other template will do).
  4. Click the Get button.
  5. Wait until the Get button becomes a circular progress indicator.

Expected Results

A new Swift Playground should be created from the selected template.

Actual Results

The Get button changes into a circular progress indicator and then changes back. No Playground gets created.

Versions

  • Swift Playground 4.7 (2088)
  • macOS 26.4.1 (25E253)
  • iPadOS 26.4.2
Answered by mihai_chindris in 912190022

@DTS Engineer

I've encountered the same issue, and since I noticed no reply from the OP, I decided to contribute what was requested.

Filed via Feedback Assistant:

Bug A (template creation does not switch to the new playground): FB25330615
Bug B (templates only offer Swift 5.8/5.9 editions although 4.7 ships Swift 6): FB25330650

The back-navigation workaround works, and the created playground is intact. I have also reproduced this on macOS 27.0.1 (26A434), Swift Playground 4.7 (2088), 6/6 attempts: a new "Get Started with Code copy.playgroundbook" appears in the Playgrounds folder about 6 seconds after clicking Get, while the app stays on the template page. A screen recording of the click → spinner → revert is attached to FB25330615, along with a sysdiagnose. The 5.8/5.9 edition labels are covered in FB25330650.

Yeah, that’s weird. I’d appreciate you filing a bug about this, and then posting the bug number here, just for the record.

This did actually create a playground from the template, it just doesn’t switch to it. So, you can get around the problem by clicking the back button until you get to the top level and then clicking on your newly created playground.

Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

@DTS Engineer

I've encountered the same issue, and since I noticed no reply from the OP, I decided to contribute what was requested.

Filed via Feedback Assistant:

Bug A (template creation does not switch to the new playground): FB25330615
Bug B (templates only offer Swift 5.8/5.9 editions although 4.7 ships Swift 6): FB25330650

The back-navigation workaround works, and the created playground is intact. I have also reproduced this on macOS 27.0.1 (26A434), Swift Playground 4.7 (2088), 6/6 attempts: a new "Get Started with Code copy.playgroundbook" appears in the Playgrounds folder about 6 seconds after clicking Get, while the app stays on the template page. A screen recording of the click → spinner → revert is attached to FB25330615, along with a sysdiagnose. The 5.8/5.9 edition labels are covered in FB25330650.

Thanks for those bug reports.

FYI, we’re currently tracking a significant Swift Playground regress on iPadOS 27 along with the more usual lack of support for the latest SDK )-:

Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"