Swift Student Challenge requires Swift Playground (.swiftpm), minimum OS setting not available.

When making a new Swift Playground via Xcode > New > Project > iOS > App Playground, as a .swiftpm package, the settings are very limited, including setting the minimum OS version.

This is incredibly irritating because I can't keep make @available blocks because that would double the size of my code, and I can't use SwiftData (for example) because my app needs to also support iOS 16.

Is there a way to set the minimum OS or some other upload type accepted for Apple so that I can change this simple setting?

Thank you

Answered by WindowsMEMZ in 809868022

You can set the minimum OS in App Settings section, it's on the top of your code file lists. Scrolling down in the settings and you can find Minimum Deployment setting.


WindowsMEMZ @ Darock Studio

Accepted Answer

You can set the minimum OS in App Settings section, it's on the top of your code file lists. Scrolling down in the settings and you can find Minimum Deployment setting.


WindowsMEMZ @ Darock Studio

Thank you, I just checked and making swiftpm in Xcode doesn’t give that option, but making it in Swift Playgrounds then opening it in Xcode keeps the minimum OS version, although it’s not shown.

Swift Student Challenge requires Swift Playground (.swiftpm), minimum OS setting not available.
 
 
Q