Вопрос

i have question regarding my app update, i have an app that is avaialble in the iTunesStore and that version does not include coredata in the app. But now i have added CoreData in the new version of the app and submitted to apple store, my question is that will the app will work fine or it will crash.

Это было полезно?

Решение

Why should it crash? If you simply erase all the saved data and then convert it to CoreData database - you most certainly won't face any crash.

There is a thing to note here - this might not be the best way to solve the problem. Also read about CoreData Versioning mechanisms as they will save you from fails in updates later on.

You can also hypothetically test the behavior of your app like this - download it from the AppStore, launch it and do things, then use Xcode to install the new version on top of it and see what happens.

Другие советы

It'll crash if you write crashing code. Using Core Data or not using it is completely irrelevant to the question of whether the app will crash.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top