Open jeromelaban opened 1 year ago
@Soap-141 can you try doing this: https://github.com/dotnet/maui/issues/11392#issuecomment-1355182295, and see what the stack trace looks like?
@jeromelaban Yes, should be done next Monday. So to be sure you need the same crash report but with debug symbols?
This behaviour can be duplicated without Uno, just dotnet new ios
and VSfM.
I have not tried from Windows but I doubt that would change anything since it ends up being the SDK's mlaunch
to install/launch the process to be debugged.
Got some updates https://github.com/dotnet/maui/issues/9056 looks like MS bot wants to close the issue and that right now people are agreeing that it's device slowness issue even if it shouldn't be the case I'm using an iPhone 11 and it's not that old.
It's not something we'll be able to fix on our end, in all cases, so we'll only be able to push on Microsoft to get this issue resolved.
@Soap-141 is this still relevant? It seems the linked issue on Microsoft side has been fixed
@MartinZikmund Not fixed at all, they released an update and closed it for the x time. Sometimes it works on small apps.
It was reported that recent versions of visual studio (17.8 and later) seem to have fixed this particular issue.
I've now started to experience this problem and I'm on VS 17.8.3. The start up does seem to take longer which makes watchdog kill the app. My setup is an iPhone Xs connected to my laptop via USB. This has been my setup for a long time and everything's been working fine but now startup takes too long and the app crashes.
I'm on VS 17.8.2. with iPhone 6s Plus - fresh new Maui app crash on startup
Yeah def not fix :/
@bodeg Try to delete ~/Library/Caches/Xamarin/XMA/SDK/dotnet/ then connect to your mac with VS, then try to debug your app, this helped someone I know.
@bodeg Try to delete ~/Library/Caches/Xamarin/XMA/SDK/dotnet/ then connect to your mac with VS, then try to debug your app, this helped someone I know.
I struggled same issue, and this solution works for me👍 thank you!
@bodeg Try to delete ~/Library/Caches/Xamarin/XMA/SDK/dotnet/ then connect to your mac with VS, then try to debug your app, this helped someone I know.
I struggled same issue, and this solution works for me👍 thank you!
Thanks for sharing. I am using VS on Windows with a iPhone connected via USB, no Mac involved.
Is that relevant to my configuration?
Thanks for sharing. I am using VS on Windows with a iPhone connected via USB, no Mac involved.
Is that relevant to my configuration?
I am using Visual Studio Code on Mac with iPhone connected via USB. It seems to be applied regardless of the development environment.
Thanks for sharing. I am using VS on Windows with a iPhone connected via USB, no Mac involved. Is that relevant to my configuration?
I am using Visual Studio Code on Mac with iPhone connected via USB. It seems to be applied regardless of the development environment.
I tried deleting the cache files - still not working -> "The app has been terminated."
I deleted C:\Users###\AppData\Local\Xamarin\iOS
C:\Users###\AppData\Local\Xamarin\iOS\Caches\Xamarin\XMA\Cache was empty
Also, after the deployment, VS placed an icon on my iPhone. The application crash when the VS is connected - it runs fine when the VS is not in connected/debug
I have the same issue
Note that is not a behavior we can fix, it's being tracked by microsoft https://github.com/dotnet/maui/issues/11392#issuecomment-1355182295. If you have any additional information about the issue over there, it will help troubleshoot it further.
I'm having a very annoying issue right now regarding iOS. I can't debug on a physical device because the application is being killed by iOS Watchdog. I don't understand why since it's working fine on the simulator.
Here is the debug output.
Here is my configuration for debug.
This is why I think it`s the iOS Watchdog.
![image](https://user-images.githubusercontent.com/57812285/208118459-60395490-51c2-4b78-aa97-68e0b4caed15.png)
Originally posted by @Soap-141 in https://github.com/unoplatform/uno/discussions/10746