Swift playgrounds and display orientation swift student challenge submission

I was developing my app on Xcode and I saw in requirements it says “your submission must be an app playground (.swiftpm)

I reckon I can develop in Xcode and then copy those files in playgrounds app, make some changes, for it to work.

also I made my project in landscape mode in Xcode, in playgrounds can I lock display orientation through package.swift file or I should continue making me app in landscape mode and ask players to change their viewing orientation via a popup?

Written by DhruvG24 in 773756021
I reckon I can develop in Xcode and then copy those files in playgrounds app, make some changes, for it to work.

You can also make an App Playground directly in Xcode by selecting File > New > Project > iOS > App Playground.

also I made my project in landscape mode in Xcode, in playgrounds can I lock display orientation through package.swift file or I should continue making me app in landscape mode and ask players to change their viewing orientation via a popup?

I think this thread may be helpful.

I have the same question as you about locking the display orientation when developing using Swift Playgrounds. I know that locking display orientation is possible in XCode by manually tweaking the package.swift file, but in Swift Playgrounds I don't see the option to modify my package.swift file. So how do we go about setting the app orientation when developing using Swift Playgrounds?

Swift playgrounds and display orientation swift student challenge submission
 
 
Q