admin管理员组文章数量:1123509
I developed a MAUI app (.NET 8 with Visual Studio 2022) that runs without any problem on Android on physical devices (3+ devices tested) and on my local emulator: never had a startup problem.
I deployed it (Debug mode) on iOS (iPhone SE with iOS 15.8.3) but I cannot start it, because it crashes during the (very long!) splash screen time. I am 100% sure it's not my app's fault because I quickly create a new .NET MAUI sample app and it has exactly the same problem.
I don't have any useful log (no stack trace available) and the Output Window just says:
Loaded assembly: /private/var/containers/Bundle/Application/9715675F-79F0-48D4-987D-18A224580DDD/MauiApp1.app/System.Private.CoreLib.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/9715675F-79F0-48D4-987D-18A224580DDD/MauiApp1.app/System.Collections.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/9715675F-79F0-48D4-987D-18A224580DDD/MauiApp1.app/System.Runtime.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/9715675F-79F0-48D4-987D-18A224580DDD/MauiApp1.app/Microsoft.iOS.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/9715675F-79F0-48D4-987D-18A224580DDD/MauiApp1.app/System.Runtime.InteropServices.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/9715675F-79F0-48D4-987D-18A224580DDD/MauiApp1.app/System.Threading.Thread.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/9715675F-79F0-48D4-987D-18A224580DDD/MauiApp1.app/System.Threading.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/9715675F-79F0-48D4-987D-18A224580DDD/MauiApp1.app/System.Net.Http.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/9715675F-79F0-48D4-987D-18A224580DDD/MauiApp1.app/System.Net.Primitives.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/9715675F-79F0-48D4-987D-18A224580DDD/MauiApp1.app/System.Numerics.Vectors.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/9715675F-79F0-48D4-987D-18A224580DDD/MauiApp1.app/System.Net.Sockets.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/9715675F-79F0-48D4-987D-18A224580DDD/MauiApp1.app/System.Drawing.Primitives.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/9715675F-79F0-48D4-987D-18A224580DDD/MauiApp1.app/System.Private.Uri.dll [External]
L'app è stata terminata.
After many tries, I could only run it manually after deploying in Release Mode, but I cannot start it from Visual Studio and I cannot debug it. In Debug mode I can deploy it but I cannot start it in any way, even manually.
I also tried this option in my project configuration with no luck:
<UseInterpreter>true</UseInterpreter>
I already restarted everything multiple times.
Any suggestion to fix this situation? Is there any iOS-specific log that I can inspect?
I don't have a Mac so I cannot try the iOS simulator or other Mac-related solutions.
I found a few similar posts on the web but no working solutions:
本文标签: MAUI app crashes on iOS during splash screenStack Overflow
版权声明:本文标题:MAUI app crashes on iOS during splash screen - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736574469a1944822.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论