简体   繁体   English

Testflight与App Store的安装(不丢失数据)

[英]Testflight vs. App Store Installation (without loosing data)

We want our testers to be able to: 我们希望我们的测试人员能够:

1) Replace an installed Tesflight version of our app (test-version) when installing the App Store released version of our app (app_store-version) without loosing their data (all inside the app bundle, Core Data and other DBs, Keychain data, User Defaults). 1)在安装应用商店的App Store发布版本(app_store-version)时,请替换已安装的Tesflight版本的应用(测试版本),而不会丢失其数据(所有信息都在应用捆绑包,Core Data和其他数据库,Keychain数据,用户默认设置)。

2) vice versa 2)反之亦然

Replace an installed app_store-version with an test-version without loosing the above mentioned data. 用测试版本替换已安装的app_store-version,而不会丢失上述数据。

The only information I found is in the Testflight documentation: 我发现的唯一信息是在Testflight文档中:

...If you already have the live version of the app installed on your device, the beta version of the app will replace the live version. ...如果您已经在设备上安装了该应用程序的实时版本,则该应用程序的Beta版将替换该实时版本。 When you've downloaded the beta app, you'll see an orange dot next to its name that identifies it as a beta. 下载测试版应用程序后,您会在其名称旁边看到一个橙色的点,将其标识为测试版。 ... ...

I did not find any information regarding the opposite case (... if you already have a test-version installed, the app_store-version will replace it...) nor if the above mentioned data is kept when replacing the app. 我没有找到有关相反情况的任何信息(...如果您已经安装了测试版本,则app_store-version将替换它...),或者在替换应用程序时是否保留了上述数据。

Apple Developer Support told me that they do not have this knowledge. 苹果开发人员支持告诉我他们没有此知识。 :-/ :-/

My Questions are: 我的问题是:

1) Is is possible to replace a Tesflight version of our app (test-version) with a App Store released version of our app (app_store-version) without loosing the above mentioned data? 1)是否可以在不丢失上述数据的情况下,用我们应用程序的App Store发布版本(app_store-version)替换我们的应用程序的Tesflight版本(测试版本)?

2) Is is possible to replace a App Store released version of our app (app_store-version) with a Tesflight version of our app (test-version) without loosing the above mentioned data? 2)是否可以在不丢失上述数据的情况下,用我们的应用程序的Tesflight版本(测试版本)替换我们的应用程序的App Store发布版本(app_store-version)?

3) If 1+2 is possible, which parameters are taken into account to replace/ not replace an app? 3)如果可以使用1 + 2,替换/不替换应用程序会考虑哪些参数? (BundleID only, BundleID & BundleVersion ...) (仅BundleID,BundleID和BundleVersion ...)

You can override TestFlight and App Store version like regular updates. 您可以像常规更新一样覆盖TestFlight和App Store版本。 But, in order to do that, the Next Version should have a build number greater than the installed one. 但是,为此,“ Next Version应大于已安装的内部版本。

That means that you cannot install the TestFlight version, release it on the App Store and upgrade, because the build numbers will be the same 这意味着您无法安装TestFlight版本,无法在App Store上发布它并进行升级,因为内部版本号是相同的

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM