Upgrade Swift Playgrounds App to iOS 16

Hi,

I started developing an iOS app in Swift Playgrounds last year. Now I tried to add a NavigationStack into one of my SwiftUI views. I get the error, that NavigationStack is only available since iOS 16. If I create a new app project it is possible to use iOS 16 related features. Is there any way to upgrade existing apps to iOS 16? Like in Xcode (Deployment Target).

Replies

Could you not just create a new empty app and then copy over all of the files and settings?

  • This should work, but there should also be an easier way. Come on Apple!

  • It worked for me, but I agree – there needs to be a picker to choose which iOS version to target.

Add a Comment

If you add a simulator that has a different version of iOS you can update without having to build a new project.