"There was an error while trying to automatically provision the project, please check the logs."
The log entry from Visual Studio when opening "Setup Hot Restart" is
<entry>
<record>539</record>
<time>2022/05/24 00:39:43.654</time>
<type>Information</type>
<source>window manager</source>
<description>Stored pinned views in SUO: </description>
</entry>
When the actual error occurs, there is no further log entry written.
These are the steps involved to get to this error.
- Followed the instructions according to this https://learn.microsoft.com/en-us/dotnet/maui/get-started/first-app?pivots=devices-ios
- According to this https://www.youtube.com/watch?v=tJUcBQ07jSc and this https://www.youtube.com/watch?v=CTQxCndn5dg I don't need a Mac to test on local iOS device, when using "Hot Restart"
- For the "Debug Target" I choose "iOS Local Devices" and then the IPhone that is plugged into my computer
- "Setup Hot Restart Wizard" appears
- I enter my credentials for the Apple Developer Account (Paid)
- I choose the Team, which is me
- The error appears
Environment
- Windows 10 Home - 21H2
- Visual Studio 17.3.0 Preview 1.0
- Windows UI Library (WinUI) 3
- IPhone 13 Pro Max, iOS 15.3.1
- ITunes 12.9.3.3