[Bug] MAUI App Crashes/Freezes on Debugging (iOS & Android) with Real Device #27204
Labels
platform/android 🤖
platform/iOS 🍎
platform/macOS 🍏
macOS / Mac Catalyst
potential-regression
This issue described a possible regression on a currently supported version., verification pending
s/needs-info
Issue needs more info from the author
t/bug
Something isn't working
Description
When running a .NET MAUI app on a real iOS or Android device using Visual Studio Code in debug mode, the app runs successfully only after following a strict sequence:
Delete bin and obj folders
Perform a clean build
Restore dependencies
Rebuild the project
Delete the app from the device
Deploy and run the app
However, when attempting to re-run the app without repeating the above steps, the application either crashes on startup or freezes. This forces me to repeat the entire cycle again.
Steps to Reproduce
Expected Behavior
The app should run consistently in debug mode without requiring a full clean-up and rebuild every time.
Actual Behavior
The app crashes or freezes unless the cleanup steps are performed before every debug session.
Additional Information
.NET MAUI Version: [Provide your MAUI version]
Visual Studio Code Version: [Provide VS Code version]
Operating System: [Windows/macOS + version]
Target Devices: [iOS version / Android version & model]
Any Exception Logs?: [Attach logs if available]
Link to public reproduction project repository
No response
Version with bug
9.0.14 SR1.4
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
8.0.90 SR9
Affected platforms
iOS, Android, macOS
Affected platform versions
iOS 15.8, iOS 18, Android 10
Did you find any workaround?
The workaround is going through that annoying cycle
Relevant log output
The text was updated successfully, but these errors were encountered: