Creating a .swiftpm file

Hello,

This year it seems the submission requirements for the WWDC scholarship have changed as Apple no longer is asking for a .playground ZIP file but rather a .swiftpm file. On my local installation of the Swift Playgrounds app, is there a way to create a .swiftpm file since whenever I create an app it is saved as a .playground file? For reference, it is an iPad running iOS 15.4.1. Also if possible, is there a way to run a Swift Playground book inside a Swift Playground app?

swiftpm file is the default format used by Playgrounds 4 app for iPad when choosing the "app" template when starting a new playground.

Look in the Files app in iCloud Drive > Playgrounds and you will see all your projects as .swiftpm files.

If what you mean is you’re seeing the files as .playgroundBook then you’re using the wrong project type, its the “App” projects that create .swiftpm files.

Also what do you mean by ‘run a Swift Playground book inside a Swift Playground app’, what do you want to do with this?

Creating a .swiftpm file
 
 
Q