Visual Studio 2022 not deploying Maui app to iPhone Simulator #17160
-
Hello! Something very important: until 3 or 4 days ago, I was able to execute the app in the iPhone simulator with no problems. I'm able to run the app in Android emulator and physical devices. Any clue in how to resolve this issue? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
Could try to clean all, reboot both Mac and windows, delete bin and obj directories etc. |
Beta Was this translation helpful? Give feedback.
-
Same problem in 17.8.358.6298 with a new / clean MAUI project. Is there any way to troubleshoot this, or is it just broken until a future release? |
Beta Was this translation helpful? Give feedback.
-
Don't forget to switch back to "Automatic Provisioning" under iOS Bundle Signing, when switching back to Debug from Release. |
Beta Was this translation helpful? Give feedback.
-
I had the same issue - after doing a deploy to TestFlight I was not able to run the app in debug mode on a simulator again - everything seemed fine and it was deployed "successfully", but the simulator did not open, and even after opening the simulator manually, the app was not installed there. Although I've switched back from Manual to Automatic provisioning, I found the following PropertyGroup in the project file (Edit Project File) :
I deleted this whole code block, saved and re-selected Automatic Provisioning using the visual project file editor, and everything worked as expected. |
Beta Was this translation helpful? Give feedback.
Could try to clean all, reboot both Mac and windows, delete bin and obj directories etc.