-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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 Release build crashing. #101988
Comments
@BrzVlad could you please take a look - assert in the interpreter on 8.0. |
It is unclear what exactly happens here without a repro. #100832 fixes an issue that can lead to crashes identical to this one so I think the best plan of action is to backport it to .net8 and hope it fixes this. |
@BrzVlad did we ship #100832 in a 9.0 Preview already, if so which one? @danlfarnell would it be possible for you try to run the app with a 9.0 Preview and repro the problem? |
Hi @vitek-karas, Thanks for your quick response. Yes, no problem I can give that a try. Should I use SDK 9.0.100-preview.3? |
You can try Preview 3, but I don't think the fix is going to be in there. It's been merged 3 weeks ago... |
I tried .Net 9 preview 3 and was no longer able to recreate the issue with the UseInterpreter flag turned on. It appears to be fixed in this version. |
@vitek-karas @BrzVlad Should this issue be moved to runtime? This isn't a MAUI UI issue, but I don't have access to move it on my own and I'm not sure if you want to backport this to .NET 8 or not so I don't want to close it outright. |
Tagging subscribers to this area: @BrzVlad, @kotlarmilos |
We think this is a dupe of #100832. We're discussing backporting that fix to 8.0. |
Thanks much appreciated. |
Description
Hi,
I have an app that works perfectly fine on an iOS device while debugging but if I create and use a release ad hoc build or test flight build the app crashes while completing a 2nd payment transaction. This crash was not encountered during the Dev/Qa cycle. The only thing that has really changed is that the device is currently running on the latest iOS version (17.4.1).
I can get the release build to work by removing UseInterpreter from the project file. However the app needs this turned on for certain clients because we have code that uses reflection.
Unfortunately I can't provide a repo and this wouldn't reproducible without a payment terminal connected via bluetooth.
The application itself does not log any exceptions but if I use the console app on a mac when this occurs I can see the following.
Below is a sample of my project file and a list of workloads i have installed. Also please note that I have Xcode 15.2 installed. Any thoughts? Please let me know if there is anything else I can provide to assist. Thanks for your help in advance.
Steps to Reproduce
Link to public reproduction project repository
No response
Version with bug
8.0.7 SR2
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
ios 17.4.1
Did you find any workaround?
Removing UseInterpreter from the project file allows payments to process without crash however we need this turned on because other clients code uses reflection.
Relevant log output
The text was updated successfully, but these errors were encountered: