简体   繁体   English

在iPhone上安装应用程序,它将在最后一个应用程序上覆盖

[英]Installing application on iphone it override on the last application

When I am installing new application on iphone, this current application get override on the last application,so we can not maintain the previous application. 当我在iPhone上安装新应用程序时,此当前应用程序会在最后一个应用程序上被覆盖,因此我们无法维护先前的应用程序。

Please help to solve this installation problem. 请帮助解决此安装问题。

If you change the app identifier in info.plist you can have a different version on the phone at the same time... 如果您在info.plist中更改应用程序标识符,则可以同时在手机上使用其他版本...

However, do you really want to do that? 但是,您真的要这样做吗? Most apps migrate by loading a new version, but then updating the old database or preferences to work with the new version of the application. 大多数应用程序通过加载新版本进行迁移,然后通过更新旧数据库或首选项来与新版本的应用程序一起使用。 Just because your application is replaced does not mean the data the user created is replaced. 仅因为替换了您的应用程序并不意味着替换了用户创建的数据。

If you change the Product Name in the build settings, that directly affects the name of the .app bundle. 如果您在构建设置中更改产品名称,则将直接影响.app捆绑包的名称。 You can have two copies of the same app, as long as theyhave different names - this can be helpful for testing a new version while preserving the old, stable version. 您可以拥有同一个应用程序的两个副本,只要它们具有不同的名称-这有助于在测试新版本的同时保留旧的稳定版本。

As Kendall says, you probably want to use the same name for newer released versions of the same application. 正如Kendall所说,您可能希望对同一应用程序的新发行版本使用相同的名称。

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

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