I am in the process of re-releasing my iPhone app and now an executeFetchRequest on my UIManagedDocument gets an SQLite error code:6922. I have searched the internet and there is no SQLite error code 6922. Anyone seen this. Everything worked fine with Xcode 7.
Xcode 8 GM -- SQLite error code:6922, 'disk I/O error'
4.7k Views Asked by Scott Sarnikowski At
1
There are 1 best solutions below
Related Questions in IOS
- URLSession requesting JSON array from server not working
- Incorrect display of LinearGradientBrush in IOS
- Module not found when building flutter app for IOS
- How to share metadata of an audio url file to a WhatsApp conversation with friends
- Occasional crash at NSURLSessionDataTask dataTaskWithRequest:completionHandler:
- Expo Deep linking on iOS is not working (because of Google sign-in?)
- On iOS, the keyboard does not offer a 6-character SMS code
- Hi, there is an error happened when I build my flutter app, after I'm installing firebase packages occurs that error
- The copy/paste functionalities don't work only on iOS in the Flutter app
- Hide LiveActivityIntent Button from Shortcuts App
- While Running Github Actions Pipeline: No Signing Certificate "iOS Development" found: No "iOS Development" signing certificate matching team ID
- Actionable notification api call not working in background
- Accessibility : Full keyboard access with scroll view in swiftui
- There is a problem with the request entity - You are not allowed to create 'iOS' profile with App ID 'XXXX'
- I am getting "binding has not yet been initialized" error when trying to connect firebase with flutter
Related Questions in SQLITE
- How to store a date/time in sqlite (or something similar to a date)
- How to copy data from SQLite to postgreSQL?
- When using a Room database on an Android application, is it possible to pre-populate data
- Expo Error - Android sqlite no such table
- how can debugg field id error in the database schema?
- How add array of authors for unique user in database in Goland IDE?
- Calculate SMA_Close10 and SMA_Close20 of minute data
- Transitioning from Static to Dynamic Data in React with Express Backend
- In SQLite, how to group ranges of values and sort the groups
- Issue with making python executable with local db, sqlite3, tkinter
- Calculating EuclideanDistance in SQL for Deepface facial embeddings?
- Problem with a simple query script used in RS Forms on Joomla 4
- Checking multiple user inputs to multiple fields in a sqlite3 database with python
- How to make that each seller has its own different set of products using sqlite and uwp
- peewee: SQLite - peewee Create() is forcing integer in PrimaryKeyField if leading character is numeric (even if there is a non-numeric in the middle)
Related Questions in XCODE8
- App not visible when share content from Apple news and Safari
- ios 17 interactive widget api call in background
- iOS release firebase
- Failed to create provisioning profile for IOS simulator
- how to auto focus editor on Xcode
- Different State Variables for New Textfields in SwiftUI
- Getting Errors Installing Pods
- How to save selected option in UIPickerView
- UITableView cell deletion not working even after deleting a particular cell
- How do I pass data after reloading the cell to another view controller
- Swift: "Expected expression after operator" error in NSManaged while trying to push a record to entity
- Ionic Capacitor in Xcode Error - [warn] Native: tried calling StatusBar.overlaysWebView, but the StatusBar plugin is not installed
- How to connect a fully functioning iOS app to a new Firebase project
- unable to install hyper kit on mac as it is showing an error during a brew intall
- Wait for Asynchronous request before execution of other code
Related Questions in UIMANAGEDDOCUMENT
- UIManagedDocument: How to store additional data like a Thumbnail in an iCloud compatbile way?
- FileDocument with UIManagedDocument/core data
- Entity Update error: after it has been removed from its context
- Can't read or create UIManagedDocuments anymore
- UIManagedDocument saveToURL completionHandler is not called - Error message: "The reader is not permitted to access the URL."
- Switching between multiple object graphs in CoreData
- Detect below string using regex in uima RUTA
- Uima Ruta Out of Memory issue in spark context
- UIDocument saveToUrl Delayed Crash
- Core Data crash when adding new Attribute of existing Entity in a new version
- -[NSError retain]: message sent to deallocated instance
- Xcode 8 GM -- SQLite error code:6922, 'disk I/O error'
- How to get UIManagedDocument to show up as a file package and not a folder
- UIManagedDocument doesn't import iCloud changes
- Unable to delete UIManagedDocument using NSFileCoordinator
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I also ran into this error in iOS 10 after saving a NSManagedObjectContext to a NSPersistentStore that I had set to a specific file. After saving, the file was deleted (after I had encrypted it and save as another file) and the next time I tried to access data from the NSManagedObjectContext via the exectueFetchRequest, it tried to pull the data from NSPersistentStore file that I had deleted. Since the file no longer existed, it gave me the "SQLite error code:6922, 'disk I/O error'"
If, I do not delete the file I had set my NSPersistentStore as, the executeFetchRequest is able to read the data from the file and no SQLite error is thrown.
It seems that in iOS 10, the data does not remain in memory, or it defaults to reading the data from the file.
If I run the original code in the iOS 9.3 simulator (XCode 8 GM), it works as it previously did and no error occurred.