Hello,
Welcome to our Microsoft Q&A platform!
I got the "Please select a valid device before running the application" error
I tested the function on VS 2022 pre 5.0 and reproduce the issue. As the thread you posted, a fix for this issue has been internally implemented and is being prepared for release. Please wait for the release of the new pre version.
My question is, do I need a real Mac?
The answer is yes if you plan to publish the iOS project. Xamarin Hot Start has some limitations for developing iOS project. It doesn't support to use Xamarin Hot Restart to create app bundles for publishing. We still need a Mac machine to do a full compilation, signing, and deployment for your application to production.
Here is the related doc, you could refer to it.
https://learn.microsoft.com/en-us/xamarin/xamarin-forms/deploy-test/hot-restart#limitations
Best Regards,
Jarvan Zhang
If the response is helpful, 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.