Deployment destination for Swift Student Challenge

I'm creating a playground for SSC, and I'm using a lot of the new frameworks and capablities introduced in WWDC 2023, including @Observation, SwiftData, phaseAnimator...etc.

Checking the forums just now, I see some people claiming the app should run on iOS 16 as well, so I revert the deployment destination from iOS 17 to iOS 16 in Package.swift, and now I have 150+ errors in my app playground. I know I can use #if available to write alternative code for earlier iOS versions but it feels like a redundancy since the app will be judged by Apple engineers who most likely have iOS 17 running on their devices, and since the judging process, I assume, takes into account the number of new technologies utilised.

Should I write '#if available else' statements for the entire app playground, keep the deployment destination as iOS 17, or change the technologies used to iOS 16 or earlier (@observed object, CoreData...etc)? Which option is safer given that I only have less than 5 days left?

Replies

See my response on this thread.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"