Open
Description
Description
We're getting a crash, which remains the top most occurring crash since many years, we've tried many fix and hack but it keep persisting and we aren't sure what to do anymore.
Reproducing the issue
No response
Firebase SDK Version
10.10
Xcode Version
15.0
Installation Method
Swift Package Manager
Firebase Product(s)
Database
Targeted Platforms
iOS
Relevant Log Output
Fatal Exception: FirebaseDatabasePersistenceFailure
Error initializing persistence: Error Domain=APLevelDBErrorDomain Code=0 "IO error: /var/mobile/Containers/Data/Application/DB02CED8-3563-48B7-95F4-C19810A34519/Documents/firebase/default/meditation-ios/server_data/LOCK: Operation not permitted" UserInfo={NSLocalizedDescription=IO error: /var/mobile/Containers/Data/Application/DB02CED8-3563-48B7-95F4-C19810A34519/Documents/firebase/default/meditation-ios/server_data/LOCK: Operation not permitted}
0 CoreFoundation 0x9e88 __exceptionPreprocess
1 libobjc.A.dylib 0x178d8 objc_exception_throw
2 BetterSleep 0xa748b4 -[FLevelDBStorageEngine saveUserOverwrite:atPath:writeId:] + 314 (FLevelDBStorageEngine.m:314)
3 BetterSleep 0xa74394 -[FLevelDBStorageEngine openDatabases] + 232 (FLevelDBStorageEngine.m:232)
4 BetterSleep 0xa73ad8 -[FLevelDBStorageEngine initWithPath:] + 111 (FLevelDBStorageEngine.m:111)
5 BetterSleep 0xa4b54c -[FRepo deferredInit] + 148 (FRepo.m:148)
6 libdispatch.dylib 0x24b4 _dispatch_call_block_and_release
7 libdispatch.dylib 0x3fdc _dispatch_client_callout
8 libdispatch.dylib 0xb694 _dispatch_lane_serial_drain
9 libdispatch.dylib 0xc1e0 _dispatch_lane_invoke
10 libdispatch.dylib 0x16e10 _dispatch_workloop_worker_thread
11 libsystem_pthread.dylib 0xdf8 _pthread_wqthread
12 libsystem_pthread.dylib 0xb98 start_wqthread
If using Swift Package Manager, the project's Package.resolved
Expand Package.resolved
snippet
Replace this line with the contents of your Package.resolved.
If using CocoaPods, the project's Podfile.lock
Expand Podfile.lock
snippet
Replace this line with the contents of your Podfile.lock!