Questions tagged [core-data-migration]

for issues related to Migration of CoreData on OS X systems

553 questions
0
votes
1 answer

Bi-directional migration with CoreData

Does anyone have any clue if it's possible to do a bi-directional migration with Core Data? As an example, I would like to add a feature that is only supported with a newer iOS (external images) while still supporting iOS3.1. What I was hoping to…
jaime
  • 1
0
votes
1 answer

CoreData model not working properly

I'm updating an App which uses CoreData. On the full version I made it so the user could save his/her own data on the database (the App populates a pre-filled database). The App was written on Xcode 4.2 and with a deployment target of iOS 4.1, so…
Marcal
  • 1,351
  • 5
  • 19
  • 37
0
votes
1 answer

Do I have to migrate rows of Coredata base?

I have an app on the store, with populated data in a CoreData base. For pre-populating the database, we generated a .sqlite file with the application data. For example in the table PERSON, I have 134 Martin Developer 256 John Boss 371 Doe …
Martin
  • 11,087
  • 6
  • 60
  • 99
0
votes
1 answer

CoreData preparing for eventual migration

I have an ipad application that has a simple core data model with two entities. Eventually, I'll be adding a third entity in a update to the app. Is there anything I need to do with the current version of the data model to prepare for eventual…
0
votes
1 answer

recognize data model versioning and execute certain actions

I want to remote all entities when user upgrade to newer version with newer model version. For example, App version 1.0 & Model version 1 Table X Table Y When upgrade to app version 1.1 & Model version 2, I add two tables Table H Table K Table X and…
angelokh
  • 9,394
  • 6
  • 61
  • 119
0
votes
2 answers

Core Data Migration - Migrating selected data from a previous version

We're performing our first iOS app update, and also our first Core Data migration. It seems more complicated than the examples of the Standard and Lightweight Core Data migrations i've seen online, but perhaps i'm missing something. Our scenario is…
Ted
  • 2,315
  • 1
  • 27
  • 52
0
votes
1 answer

NSPersistentStoreCoordinator - how to handle schema incompatibility errors?

Every time I change the Core Data model for my app, it generates an unrecoverable error at the next startup: "The model used to open the store is incompatible with the one used to create the store". The only reliable way to avoid this I have found…
radven
  • 2,246
  • 1
  • 21
  • 39
-1
votes
1 answer

Core Data Migration - Remotely

I’m creating an application that uses Core Data to store information and uses web services to get the data that is needed. To update Care Data schema, I thought about send the database (with all data) to the server via web service and the server…
António
  • 945
  • 1
  • 12
  • 29
-1
votes
0 answers

What needs to be done to update an iOS app with a completely new Xcode file?

I have completely rebuilt my app (in SwiftUI) in a new Xcode file. The app has been on the App Store for several years with nearly a thousand paying users using CoreData. How can I be sure the update doesn't cause the users to loose their data…
-1
votes
1 answer

Search data form CoreDataBase if search data similar with another data that contain special character

I have implemented Core Database in my Application and fetching data from table. Application requirement is fetch same data if Data contain or not contain hyphen(-) For Exp1: Table contain below data Id Serialnumber Name 1 …
-1
votes
1 answer

Core Data: when to enable lightweight migrations?

Should I add a model version and enable lightweight versioning of Core Data from the first version of the app, or it can be done in a later app update if needed? Thanks in advance
AppsDev
  • 11,441
  • 20
  • 81
  • 163
-1
votes
1 answer

Send coreData by Email

I've made a simple app to store locations with CoreLocation in CoreData. My Problem is that now i want to send all my "data Base" (CoreData) by email to see and treat the data but i can't do it. I tried to convert NSManagedObjects into a…
-3
votes
1 answer

Steps for migrating a core database

Possible Duplicate: Implementation of “Automatic Lightweight Migration” for Core Data (iPhone) I submitted an update of my app in the appstore. In this update I've added some things in my core database. Now I get some complaints that the app is…
Steaphann
  • 2,745
  • 6
  • 47
  • 103
1 2 3
36
37