Post

Replies

Boosts

Views

Activity

Xcode Playground - iOS-only target, and iOS 17-only features?
My app looks the best when it's run on an iPhone simulator, since that is what I was targeting from the start. I’m aware that an Xcode app playground submission will be run on MacOS in the Simulator only, but is there a way for me to limit/ask the Simulator to only use the iPhone? I'm seeing a few posts on this forum giving the impression that submissions will primarily be run on either the iPad, or Swift Playgrounds on Mac. Furthermore, my app depends a lot on some of the new iOS 17 features (SwiftData, @Observable macros, etc.) I followed this thread to modify my Package.swift file to target iOS 17 and above only. Is this still a good idea, or should I instead wrap the whole app in a if #available version check?
3
0
663
Feb ’24