iPhone 应用程序更新与新版本

发布于 2024-12-20 18:16:26 字数 197 浏览 0 评论 0原文

假设我在 Appstore 上有一个现有的 IOS 应用程序,版本为 1.0

现在我对应用程序进行了一些更改并想要提交回来。

有两种不同的提交方式吗? 就像我仍然可以将版本保留为 1.0 并仅提交应用程序或 我需要创建一个新版本 1.1 然后提交吗?

过程中有哪些差异?

同样从客户端来看,这对新/现有用户有何作用?

Let's say I have an existing IOS app live on Appstore which is version 1.0

Now I make some changes to the app and want to submit back.

Are there 2 separate ways to submit ?
Like can I still keep the version as 1.0 and just submit the app OR
I need to create a new version 1.1 and then submit it ?

What are the differences in the process?

Also from the customer end, how does this work for new/existing users ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

拔了角的鹿 2024-12-27 18:16:27

您必须始终增加应用程序的任何更新的版本号。

用户将在设备上的 App Store 图标以及 PC 上的 iTunes 中看到徽章。进入更新部分,它将列出您的应用程序以及您提供的更改列表,以及用于安装更新的按钮。他们还可以一次更新所有应用程序。

You must always increase the version number of any update to your app.

Users will see a badge on the App Store icon on the device, and in iTunes on their PC. Going into the updates section, it will list your app along with the list of changes you've provided, and a button to install the update. They can also update all apps at once.

过期以后 2024-12-27 18:16:27
NSString *version = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"];
NSLog(@"version is%@",version);
NSString *version = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"];
NSLog(@"version is%@",version);
谈场末日恋爱 2024-12-27 18:16:27

您不必再打开版本号来提交。打开 Xcode,进入 Window - Organizer - Archives 并分发您已成功创建的应用程序。

You do not have to open version numbers to submit any longer. Open up Xcode, go to Window - Organizer - Archives and Distribute an app you have created successfully.

薔薇婲 2024-12-27 18:16:26

我刚刚发现了一些关于版本升级和App Store的信息。刚才,由于我以前无法理解的 iOS 系统行为,我遇到了问题并且用户崩溃了。而且,非常重要的是,iTunes、AppStore 和 iOS 在上一个版本中修改了一些升级和安装规则。现在,它是这样工作的:
- 当用户安装新版本时,捆绑包中的所有文件都会下载并复制到以前存在的捆绑包中,但旧文件或组件不会被删除(或并非全部被删除)。因此,最终的捆绑包不等于新版本的全新安装的捆绑包。
- 例如,如果新版本的 xib/nib 文件本地化为不同语言,则更新后的捆绑包将包含两个版本:根文件夹中的一个版本和每个本地化文件夹中的另一个版本。显然,系统将使用第一个文件,并且只有全新安装才会显示该文件的本地化内容。
我的一个应用程序显示了 MainWindow.xib 的问题,并且由于引用和类中有一些修改,每次您尝试运行更新的应用程序时都会崩溃,因为它使用的是过时的对象。我构建了一个新版本,更改了已本地化的 xib/nib 文件的名称。由于 MainWindow 是其中之一,我当然必须修改 info.plist 中的引用。

好的,知道了,您可以构建一个在捆绑包中包含完全不同组件的新版本,如果以前版本的文件确实存在,则应用程序将为用户提供使用它们的选项。也就是说,应用程序的两个版本位于单个图标和捆绑包中。不是很难做到。

但是,非常奇怪的是,我认为新的 iOS 版本和 iTunes 不允许降级。我尝试过这样做,但没有完成。也就是说,如果您安装一个版本,例如 1.2,据我所知,不可能在设备上或 iTunes->“应用程序”中安装后者的 v1.1。因此,双版本捆绑包将一直有效,直到重新安装应用程序为止。

I have just discovered something about version upgrades and the App Store. Just now, I'm suffering issues and users crashes because of a behavior of iOS system that I can't figure before. And, very important, iTunes, AppStore and iOS have modified some upgrading and installing rules in last versions. Now, it works this way:
- When user install a new version, all the files in the bundle are downloaded and copied in the previous existing bundle, but OLD FILES OR COMPONENTS ARE NOT DELETED (or not all are deleted). So, the final bundle IS NOT equal to the bundle of a fresh installation of the new version.
- For example, if a xib/nib file is localized to different languages for the new version, the updated bundle will include both versions: the one in the root folder and the other one in each localized folder. The system, obviously, will use the first one and only a fresh installation will show localizations for that file.
One of my apps shows that issue with MainWindow.xib and as there are some modifications in references and classes, the updated apps crash each time you try to run as it is using a obsolet object. I have built a new version changing the name of the xib/nib files that have been localized. As MainWindow is one of them, I have to modify the reference in info.plist of course.

OK, knowing that, you can build a new version with complete different components in the bundle that, if files of previous version does exist, the app then offers the user the option of using them. That is, two versions of the app in a single icon and bundle. Not very difficult to do.

BUT, the very weird thing is that I think that new iOS version and iTunes don't allow downgrades. I have tried to do it but didn't get it done. That is, if you install a version, for example 1.2, it is impossible AFAIK to install latter v1.1 on the device nor in iTunes->"Applications". So, the double version bundle will live until a reinstallation of the app.

赠佳期 2024-12-27 18:16:26

您需要创建一个新的版本号,这是有意义的,因为这是您的应用程序的新版本。然后,这将作为更新显示给您的客户。我认为您无法在不从商店中删除旧二进制文件的情况下上传具有相同版本的新二进制文件。

您在 iTunes connect 中添加新版本,然后更新 Xcode 中的版本号以匹配并创建新的存档。这非常简单。

You need to create a new version number, which makes sense since this is a new version of your app. This will then appear as an update for your customers. I don't think you can upload a new binary with the same version without removing the old one from the store.

You add a new version in iTunes connect, then update the version number in Xcode to match and create a new archive. It's pretty straightforward.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文