iphone – 在iOS中模拟应用升级

iphone – 在iOS中模拟应用升级,第1张

概述我试图模拟从2.0版升级到2.1版.我在testflight中托管了2.0版,所以我确实将它安装在我的设备中.然后我尝试从 xcode运行应用程序.然而,发生的事情是应用程序没有重叠,而是创建了两个具有相同名称的应用程序.我怎样才能这样做,当我从xcode运行应用程序时,它覆盖了旧版本? 我确保捆绑标识符是相同的. 那么更新时可以获得的信息可以在@ this link here.找到 when u 我试图模拟从2.0版升级到2.1版.我在testflight中托管了2.0版,所以我确实将它安装在我的设备中.然后我尝试从 xcode运行应用程序.然而,发生的事情是应用程序没有重叠,而是创建了两个具有相同名称的应用程序.我怎样才能这样做,当我从xcode运行应用程序时,它覆盖了旧版本?

我确保捆绑标识符是相同的.

解决方法 那么更新时可以获得的信息可以在@ this link here.找到

when user updates an app,documents folder is stored as is,including
NSUserDefaults (but,sometimes user download app via iTunes and
replace the whole application,crying ‘OMG! update killed all my
levels progress!’); Application bundle is erased and replaced by new
one (anyway,it is Readonly for user); Re-deployment of new build
version will be enough;

您无法访问模拟器中的appstore,因为:@ link here

It’s a simulator not an emulator. Even if there was an App Store in
the Simulator,none of the apps in the store would work since they are
compiled for ARM cpus while the Simulator runs x86 code.

另一个堆栈溢出@ link here指出:

Build and install your old version,generate some data,and then
install the new version on top of it.

For testing before submitting to the Appstore I generally download
from the AppStore again the old version,and then install with Xcode
the newer version – for your next update… 总结

以上是内存溢出为你收集整理的iphone – 在iOS中模拟应用升级全部内容,希望文章能够帮你解决iphone – 在iOS中模拟应用升级所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/web/1083264.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-27
下一篇2022-05-27

发表评论

登录后才能评论

评论列表(0条)

    保存