Open MichaelSL opened 4 months ago
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Hi, @MichaelSL Could you please provide a sample project for our investigation? Looking forward to your reply!
@kevinxufei her you go: https://github.com/MichaelSL/MauiIosCrashRepro
Thanks for the project you provided, but it seems to work well on our side. So I want to confirm with you the specific Xcode version/iOS device version/VS version. And can you clear the XMA on the Mac and re-pair the Mac?
@kevinxufei after I've cleared the cache and reconnected the repro project launched. My main project still fails with the same error. After I tried to clear the cache and reconnect again my build fail with
1>C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net8.0_17.5\17.5.8018\targets\Xamarin.Shared.Sdk.targets(1270,3): error : MessagingRemoteException: An error occurred on client Build1711092 while executing a reply for topic xvs/build/17.11.0.92/execute-task/Tripsta/df20be7002fAOTCompile
1>C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net8.0_17.5\17.5.8018\targets\Xamarin.Shared.Sdk.targets(1270,3): error : FileNotFoundException: Could not find file "/Users/michael/Library/Caches/Xamarin/mtbs/builds/Tripsta/df20be7be4e7f44f48b9d7a1f08bc5aed42efc635a4837c0cd24902306e1836a/obj/Debug/net8.0-ios/ios-arm64/linked/System.Runtime.dll"
I've restarted VS, cleared cache, restarted the mac, didn't help.
After several more restarts I was able to build my project, but it still crashed after the startup. I've removed another library which was mentioned in the logs but it didn't fix the issue.
Thanks for the project you provided, but it seems to work well on our side. So I want to confirm with you the specific Xcode version/iOS device version/VS version.
Thank you for your patience. Looking forward to reply!
Hi @kevinxufei ! I'll provide the update as soon as I come back to work next week. The device I'm testing it is a physical iPhone with the latest iOS.
Hi @MichaelSL. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.
Description
After recent MAUI SR7 update my iOS application crashes on startup producing following output:
Log is slightly different if
used:
Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
8.0.70 SR7
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
8.0.40 SR5
Affected platforms
iOS
Affected platform versions
iOS 17
Did you find any workaround?
No
Relevant log output
No response