Cannot deploy app through Xcode to iPhone on iOS16

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.

You need Xcode 14 to deploy to iOS 16 devices, so make sure you have that downloaded from the Developer site.

The latest version of macOS Monterey is 12.6, and is available on the Mac App Store:

  • Launch the Mac App Store.
  • Search for "macOS Monterey".
  • Click "GET".

Software Update in System Preferences should launch, and ask if you want to download macOS Monterey 12.6. If it doesn't ask, or simply doesn't attempt to install the latest version, you might need to see if you can install it via the startup options screen. I think you have to shut down the M1 MBA, then hold the power button until you see a black screen with an option to go to the Options.

Once there, you should be able to reinstall the latest version over the top of your existing installation - user data is not affected, just system files. I'd do a backup just in case.

Cannot deploy app through Xcode to iPhone on iOS16
 
 
Q