amiantos / inneal

Inneal is an LLM chatbot/roleplay client for the AI Horde, built with SwiftUI and SwiftData
GNU General Public License v3.0
22 stars 3 forks source link

Crash on Startup (CloudKit Syncing) #44

Open amiantos opened 1 month ago

amiantos commented 1 month ago

There appears to be a scenario where CloudKit syncing causes a crash on startup after reinstalling the app. I suspect that it could be due to some sort of data migration issue, like the version of the data in CloudKit is an older schema than the current app, or I changed something else between versions that broke it.

I believe that a possible solution is to go into Settings -> Apple ID -> iCloud -> Manage Account Storage -> Inneal -> Delete Data from iCloud.

I have one person I am communicating with via email who is encountering this issue and I will update the issue if the above fixes the problem. However, that's not ideal, hopefully something that never happens again as I don't want to put anyone in a position of having to delete their chat history needlessly.

amiantos commented 1 month ago

The person with this issue responded to let me know that deleting the data in the iCloud Account Storage menu solved their issue. I'm going to pin this to the top of the issues of the repo so others can see it if it happens to them.