May I ask do you deploy the app on your iOS15.4 device by HotRestart ? If so, you could try to clean bin/obj folder and update iTunes .
When I pair to mac, select my team under iOS Bundle Signing and deploy the app to my iOS15.4 device, it says this request is forbidden, I am investigating this issue. Is there any other error message besides this( " Xamarin.iOS 15.6.0 does not support a deployment target of 15.4 for iOS ")? You could double-check if your Xcode Version is 13.3 or not.

I tried reloading the project, restarting Visual Studio, restarting both the PC and Mac, cleared /bin and /obj. I updated Visual Studio on the Mac.

Xcode is 13.3. Itunes is up-to-date.

I checked my certificates on the Mac and am using the same Team.

Everything was working a week ago and I don't think anything has changed.

I just tried changing the team in Visual Studio and now I get the forbidden error as you stated.
"This request is forbidden for security reasons: Authentication Error. Xcode 7.3 or later is required to continue deploying with your Apple ID."

Hello,

Try to go to Tools -> Options -> Xamarin -> Apple Account in VS, remove your Apple ID and re-add it.

When you pair to Mac, it may prompt Xamarin.iOS versions mismatch , the Xamarin.iOS SDK in your Mac is 15.4.0 , but it is 15.6.0 in Windows. You need to install Xamarin.iOS 15.6.0 on Mac, then you could try to deploy the app to your device again. There may still be this warning("This request is forbidden for security reasons: Authentication Error. Xcode 7.3 or later is required to continue deploying with your Apple ID."), you can ignore it for now.

You also could try to use VS for Mac, when you select Automatic Provisioning , the warning still exists, but it doesn't affect the deployment.
In addition, we couldn't deploy by HotRestart.
I will report this issue by my internal ways as soon as possible, thanks for your cooperation. If you have any other issues, feel free to let me know.

------UPDATE------
This is a known problem and is being repaired by the product team.

I found a workaround, you could try to use Manual provisioning and check the following steps:

  • Delete your certificates and profiles: Go to %LOCALAPPDATA%\Xamarin\iOS\Provisioning\Profiles and %LOCALAPPDATA%\Xamarin\iOS\Provisioning\Certificates , delete them.
  • Create Apple Development or iOS App Development Certificate: go to https://developer.apple.com/account/resources/certificates/add , select Apple Development or iOS App Development , it needs the CSR file in the Mac, you could refer to the Step 6-9 in this doc ( https://learn.microsoft.com/en-us/xamarin/ios/deploy-test/app-distribution/app-store-distribution/?tabs=windows#creating-a-distribution-certificate ), this doc is about creating Distribution Certificate , you need to create Apple Development or iOS App Development Certificate, then download it to your Mac and double click this certificate to install.
  • Create an App ID : go to https://developer.apple.com/account/resources/identifiers/add/bundleId , select App IDs , fill in the information whose Bundle ID is same as the Bundle Identifier in info.plist , refer to https://learn.microsoft.com/en-us/xamarin/ios/deploy-test/app-distribution/app-store-distribution/?tabs=windows#creating-an-app-id . You also could create Wildcard App ID.
  • Create development provisioning profile: refer to https://learn.microsoft.com/en-us/xamarin/ios/get-started/installation/device-provisioning/manual-provisioning?tabs=windows#new-provisioning-profile , then download this profile and double click it.
  • Export the developer certificate (p12 file) in Keychain of your Mac: go to Keychain, click Login , click Certificates on the top bar, then select the certificate which installed in step2, right click it and export as a p12 file, pay attention to remembering the password.
  • Import the certificate and profile into VS: move the p12 file and the downloaded profile to your Windows computer, go to Tools -> Options -> Xamarin -> Apple Account in VS, and click View Details , ignore the error message, click Import Certificate , import the p12 file and input the password. Then put the profile into %LOCALAPPDATA%\Xamarin\iOS\Provisioning\Profiles
  • Select Manual provisioning and deploy the app to your device: connect your iPhone with your Mac, pair to Mac, select Manual Provisioning under iOS Bundle Signing , Signing Identity is your certificate, Provisioning Profile is your profile created in step2 and has been put in %LOCALAPPDATA%\Xamarin\iOS\Provisioning\Profiles . The Provisioning Profile may prompt No Matching profiles Found , you could ignore this message. Select your device under simulator list and run the app on your device.
  • Note :go to Project->AppName.iOS Options -> iOS Build (Under Build Dropdown) -> enable device specific builds. If the run process hangs, try to check if it needs the password in Mac.

    Best Regards,
    Wenyan Zhang

    If the answer is the right solution, please click " Accept Answer " and kindly upvote it. If you have extra questions about this answer, please click " Comment ".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Didn't work. I disconnected from the Mac, removed the Apple account on VS2022 on the PC, relogged in to my Apple account and reconnected the Mac.

    Same error.

    You could follow the issue at https://developercommunity.visualstudio.com/t/xcode-133-provisioning-error/1692530 .
    You may also try to downgrade Xcode from https://developer.apple.com/download/all/
    Note: I go to Tools -> Options -> Xamarin -> Apple Account in VS, and click View Details , this error still exist, but when I click OK and redeploy the app, it works. I'm not sure if it will work for you.

    Sure. Don't use this site to report product bugs or feature requests . This is a site for support, so please use the right site to requests new feature requests about a Microsoft product or report any bugs. Here is the doc about how to report a problem : https://learn.microsoft.com/en-us/visualstudio/ide/how-to-report-a-problem-with-visual-studio?view=vs-2022