Learn Courses My Dashboard

Problems with Xcode 14 and NavigationStack

Please help. I recently updated to Xcode 14 and iOS16 and Ventura and I can’t use NavigationStack in the project I have been working on. If I clone a recent project using the NavigationStack it works fine and if I run my project it works fine. BUT, if I I try to add something new like NavigationStack to my project(which was created in an older Xcode) I get an error message. It says that NavigationStack is only available in iOS16. but I am running iOS16!. The only thing I can think of is starting a new project and copying the code into it. Is there an easier way?

Change your iOS Deployment Target in the info.plist.

This worked! Thank you!