How can you convert Xcode (SwiftUI) file to .swiftpm?

I built a project on Xcode on SwiftUI and currently is a file ending with .xcodeproj. I want to run this on iPadOS 16, on Playgrounds. Is there any way I can run this file on Playgrounds?

*I want to run this app on iPadOS 16, as this project is more optimized for iPad rather than Mac.

Create a Swift Playgrounds App project in Xcode if you want to use the project in the Swift Playgrounds app on iPad. You can find more detailed information in the following article:

https://www.swiftdevjournal.com/working-on-a-swiftui-project-in-xcode-and-swift-playgrounds/

How can you convert Xcode (SwiftUI) file to .swiftpm?
 
 
Q