与AppStore的更新问题 [英] Problems with updates at AppStore

查看:223
本文介绍了与AppStore的更新问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有我的应用程序(第一个)一个问题,当人们AppStore的下载它,这里是情景:

I have a problem with my application (first one) when people downloading it from appstore, here is the scenario:

我有一个小测验,应用程序与数据库中的2.174问题(核心数据和sqlite3的)。问题首先驻留在.txt文件和被更新为基于的.txt名称,它包括日期的文件名的数据库。当应用程序启动并发现该文件的名称被更改将出现以下情况:

I have an a quiz-app with 2.174 questions in the database (core data and sqlite3). The questions resides first in a .txt file and is updated into the database based on the filename of that .txt name, which includes a date. When the app is started and finds that the file name is changed the following happens:


  1. 删除所有记录在数据库中

  2. 阅读所有问题和显示屏幕更新

  3. 显示第1游戏画面,并开始播放

应用程序的第一个版本有874的问题,现在我也做了应用程序的更新以及增加了一些更多的问题。

The first version of the app had 874 questions and now i have done an update of the app plus added quite a few more questions.

当我测试这个在模拟器或设备也完全没有问题,但我只是发现了以下内容:

When i test this on the simulator or the device there is no problems at all but i just found out that the following:


  • 当人们已经拥有的应用程序,第一个版本,数据库更新

  • 当应用程序被下载了第一次只能加874的问题,同样作为游戏的第一个版本,但更新的界面。

我知道这是不是一个很大的细节,但给我的感觉是,旧的版本并没有完全消灭了新版本将添加进店前。另外,我不明白为什么是有区别的。

I know this is not a lot of details but the feeling I get is that the "old" version is not completely wiped out before the new version is added into the store. Also, i do not understand why there is a difference.

我想,如果我发布一个版本已经更新的数据库,它应该已经在AppStore的更新。如果我没有记错的新版本与更新的数据库分布。

I guess that if i distribute a version with an already updated database it should already been updated in the appstore. If i remember correctly the new version was distributed with an updated database.

任何人很高兴,有任何意见或建议,怎么了,为什么会这样?

Anyone nice that have any ideas or recommendations how, and why, this is happening?

干杯

推荐答案

如果你的版本号已经设置为你的数据库为你的iPhone能够被轻松地处理,保存您的版本号为您的数据库,每当数据库被调用,比较版本与预期的版本
如果新版本>旧版本更改架构和更新应用程序的版本号。

If you would have set the version number to your database for your iphone could have been easily handle, save your version number into your db and whenever database is called, compare the version against the expected version If new version > older version change the schema and update the app version number.

这篇关于与AppStore的更新问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆