I am trying to do physical testing for an iOS app using Xamarin Forms following this tutorial: https://learn.microsoft.com/en-us/xamarin/xamarin-forms/deploy-test/hot-restart, but I am running into a problem when trying to debug to an iPhone or iPad. There have been no issues doing physical testing on Android through usb or simulation testing through MacInCloud, but I run into this error when deploying to iOS through usb for testing:
"Xamarin.iOS does not support running or debugging the previous built version of your project. Please ensure your solution builds before running or debugging it."
My Apple Developer Account is successfully linked to Visual Studio and I have iTunes installed, so I don't know what the issue could be relating to. I have tried all the common fixes, such as cleaning and rebuilding the file, restarting visual studio, and trying multiple devices.
I appreciate any help I can get.
Update
I just noticed that the tutorial states "It pushes the new changes to the existing app bundle on the debug target,-".
Does this mean the app bundle has to already be released onto the iOS device in order to use Hot Restart? Does releasing it to an iOS device require a Mac machine? I tried changing from 'debug' mode to 'release' mode, but I ran in to an identical error.