-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
SQLite in iOS with Maui crashes when the app is published on the store #1227
Comments
@erossini any news after adding two properties? did you solve the issue? we are facing the same error. |
@erossini I'm still on 1.7.335 solely because of that issue. Does enabling interpreter really helps? And what is current status of that problem? |
Also facing the same issue. Ive tried enabling the interpreter but it does not seem to help |
Same for me, version 1.7.335 also crash when published to the store. |
I don’t think this project is even maintained anymore. The funny thing is, Microsoft still lists it in their official documentation as a recommended tool. |
Try using the interpreter without <PropertyGroup Condition="'$(TargetFramework)' == 'net8.0-ios'">
<UseInterpreter>true</UseInterpreter>
</PropertyGroup> Add this to your |
Thank you! That's how I currently have it : ( After a few days of logging and trying different things, I found that my app crashes whenever I insert data into the sqlite table when the class inherits from an interface and the data types are different from strings. If I either remove the interface reference or ensure that the class inherits from an interface where all properties are strings, then it works as normal. However, this problem only happens in release mode. If you have any other configuration ideas that I could add to the |
In my
NET8
MAUI
application, I use SQLite and here are the packages I added to the project.The application reads the database quite often. In debug, the application runs normally without errors. When I published the application on the Apple store, when the app reads the database, the application crashed immediately. I can see the error in the AppCenter
The full error is this one
I tried in debug and release on my real devices and the application is working. I saw on GitHub this quite similar bug but it is 2 years old. In this post, they recommend downgrading the SQLite version - 2 years ago - or building with these settings.
Also, I saw this other issue always on GitHub that is more recent. They said to use in
Release
for iOS this settingsI don't want to send more updates to the Apple Store with a broken app. Do you face the same issue? How can I fix the problem?
The text was updated successfully, but these errors were encountered: