Yesterday I upgraded my iPhone to iOS 16.
My M1 MacBook Air is running on macOS 12.4
And Xcode version is 13.4.1
When I am trying to build and deploy an app to my iPhone I am getting an error message that iPhone's OS version is not compatible with Xcode's supported OS version.
I understand Xcode should support iOS 16, for that I think it should be upgraded to Xcode 14 for which maybe my macOS should be 12.5
But when I check for updates there is no new update either for Xcode or macOS.
I cannot downgrade my iOS version either (I do not have a latest backup)
What can be done please suggest.
Thanks.