Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS Crashes when debug into iPhone Emulator. #24974

Closed
rrodriguez1989 opened this issue Sep 27, 2024 · 5 comments
Closed

iOS Crashes when debug into iPhone Emulator. #24974

rrodriguez1989 opened this issue Sep 27, 2024 · 5 comments
Labels
platform/iOS 🍎 potential-regression This issue described a possible regression on a currently supported version., verification pending s/needs-attention Issue has more information and needs another look t/bug Something isn't working

Comments

@rrodriguez1989
Copy link

Description

After updated the .Net Maui workload, I getting and error when drug into iOS Emulator, I'm trying updated to the lasted version of Xcode but is not working, when I use the Physical device is working as expected.

Steps to Reproduce

  1. Create a .Net Maui App
  2. Try to run on iOS device emulator
image

Link to public reproduction project repository

No response

Version with bug

9.0.0-rc.1.24453.9

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

8.0.91 SR9.1

Affected platforms

iOS

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

@rrodriguez1989 rrodriguez1989 added the t/bug Something isn't working label Sep 27, 2024
@jfversluis
Copy link
Member

What version of Xcode? What version of the workloads? Do you have more logging or error messages? Is this a blank .NET MAUI project or did you add something more? Have you deleted the bin & obj folders and rebuild the project?

@jfversluis jfversluis added the s/needs-info Issue needs more info from the author label Sep 30, 2024
@rrodriguez1989
Copy link
Author

rrodriguez1989 commented Sep 30, 2024

Hi @jfversluis , Thanks for your reply, I'm using Xcode version 16, before to update Xcode I'm getting the same error, I'm trying deleting the bin and obj folders. But for some reason, when I run and debug the application into the emulator using Visual Studio for Mac (Retired on August :*( ) Is working. I think the problem is on Visual Studio Code using the .NET MAUI extension. I'm using the Pre-Release version because is the only release that have HotReload for XAML and I need Hot Reload for my development. Any recommendations such as Uninstall and reinstall the Visual Studio Code or switch to the release version of .NET MAUI Extension? Thanks :)
image

@dotnet-policy-service dotnet-policy-service bot added s/needs-attention Issue has more information and needs another look and removed s/needs-info Issue needs more info from the author labels Sep 30, 2024
@samhouts samhouts added platform/iOS 🍎 potential-regression This issue described a possible regression on a currently supported version., verification pending labels Oct 1, 2024
@jfversluis
Copy link
Member

Make sure to have .NET 8.0.402 installed and then can you do dotnet workload install maui --version 8.0.402.1?

Then also be sure the Xcode 16 is selected. Does that work? If not, does it work to do dotnet build -t:Run -f net8.0-ios from the command-line?

@jfversluis jfversluis added s/needs-info Issue needs more info from the author and removed s/needs-attention Issue has more information and needs another look labels Oct 2, 2024
@rrodriguez1989
Copy link
Author

Thanks @jfversluis , Is working again, but the Hot Reload for XAML is stopped working. Maybe for the future updates of the VS Code Extension for .NET MAUI must be resolved. I'm waiting for that.

@dotnet-policy-service dotnet-policy-service bot added s/needs-attention Issue has more information and needs another look and removed s/needs-info Issue needs more info from the author labels Oct 3, 2024
@jfversluis
Copy link
Member

Perfect, glad you got it resolved! Thanks for letting us know!

@jfversluis jfversluis closed this as not planned Won't fix, can't repro, duplicate, stale Oct 4, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Nov 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
platform/iOS 🍎 potential-regression This issue described a possible regression on a currently supported version., verification pending s/needs-attention Issue has more information and needs another look t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants