.playground to .swiftpm

I have made a swift playground with the .playground extension but the WWDC24 Swift Student Challenge says I have to submit a .swiftpm file. What do I do to convert it to .swiftpm?

Replies

I think, the only way to do this is to create a new (empty) .swiftpm package and copy the files/coded across.

For the Swift Student Challenge, either create an App playground in the Swift Playgrounds app or create a Swift Playgrounds App project in Xcode. That will give you a playground or project that meets the challenge's eligibility requirements.

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