Migrating database file location from App Group Container to App

That’s an interesting bug. In reading the response from Realm, it states

On iOS (and watchOS) we do not hold a file lock the entire time the Realm file is open. We acquire one when opening the file, but release it before the initializer returns. Write transactions also hold a lock for the duration of the write, but release it once the write is complete.

which would indicate they do not have a file lock after write. We have not experienced that either.

Is it possible there’s something else in the app that’s doing a perpetual write, or potentially moving a function to say, a background thread, causing a persistent lock?

Just curious.