Bug in ‘Learn to Code 2’ – ‘Variables: Seeking Seven Gems’ Causing Errors Regardless of Actions

I’ve encountered a bug in Swift Playgrounds within “Learn to Code 2”, specifically in the “Variables: Seeking Seven Gems” section. No matter what I do—or even if I do nothing at all—an error always occurs.

I’ve tested this on both an iPad (9th generation) and an iPad Pro 11-inch (4th generation), and the issue happens on both devices.

Has anyone else experienced this? Any ideas on how to fix or work around it?

Thanks!

I'm seeing the same issue with Swift Playgrounds 4.6.2. It works with Swift Playgrounds 4.5.1.

Bug in ‘Learn to Code 2’ – ‘Variables: Seeking Seven Gems’ Causing Errors Regardless of Actions
 
 
Q