I was creating an app for the Apple Swift Student Challenge, and when I go to submit it I realized that it needs to be a swiftpm file. I made my app as an Xcode project, and can't find any way to export in the correct format. Is there a way to either export it in the correct format, or to move it into an Xcode playground/ Swift app playground. I looked but couldn't find any way to do either, and I can't just copy and paste the code over, as I have CoreData, and that couldn't be transfered.
I looked but couldn't find any way to do either, and I can't just copy and paste the code over, as I have CoreData and widgets, and those couldn't be transfered. Maybe there's a way to have placeholder CoreData? Also, it says Xcode playgrounds will be tested in the simulator, but I can't find a way to run the simulator from Xcode playgrounds, and in my quick attempt to transfer it over, even get a preview, so I thought maybe they will open it as a project? Idk, I just would like to know if there is a way to take an app made as an Xcode project and turn it into a swiftpm file. Thank You for any help!