更新之间更改AppID前缀是否安全? [英] Is it safe to change the AppID Prefix between updates?

查看:272
本文介绍了更新之间更改AppID前缀是否安全?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试了解iOS应用程序AppID第一部分的作用。
这部分以前称为捆绑种子ID,但现在通常被称为AppID前缀。

I am trying to understand the role of the first part of the AppID for iOS apps. This part was formerly known as the "Bundle Seed ID", but is now often referred to as the AppID Prefix.

前一段时间(iOS 5? ),Apple对其门户网站和文档进行了一些更改,并开始建议使用团队ID(每个开发人员帐户唯一)作为AppID前缀。对于使用新应用程序的新开发人员来说,这很简单直接。

A while ago (iOS 5?), Apple made some changes in both their portal and their documentation and started to recommend using the "Team ID" (unique per developer account) as the AppID Prefix. This is simple and straightforward for new developers with new apps.

但是,处理与AppID前缀有关的现有应用程序的最佳做法是什么?
我知道在两个应用版本之间无法更改BundleID(= AppID的第二部分),但可以安全地更改应用版本之间的前缀吗?

But what is the the best practice for handling existing apps with regards to the AppID prefix? I know that it is not possible to change BundleID (= the second part of the AppID) between two app versions, but is it safe to change the prefix between app versions?

请注意,我并不是指更换通配符AppID,例如ABC1234567。*,使用相同的前缀的显式AppID,例如, ABC1234567.com.mycompany.myapp。有大量关于此的信息(其中大部分已过时)。我正在考虑更改完整的AppID,例如ABC1234567.com.mycompany.myapp,用于通过用我的团队ID替换前缀来为现有应用程序,例如: DEF7654321.com.mycompany.myapp。

Note that I am not referring to replacing a "wildcard AppID", e.g. ABC1234567.*, to an explicit AppID using the same prefix, e.g. ABC1234567.com.mycompany.myapp. There is tons of information about this (most of it outdated, though). I am thinking about changing the complete AppID, e.g. ABC1234567.com.mycompany.myapp, for an existing app by replacing the prefix with my Team ID, e.g. DEF7654321.com.mycompany.myapp.

我想我已经读过某个地方应该可以更改现有应用的前缀,除非应用的特殊情况正在使用钥匙串来存储数据。如果是这样,处理现有应用程序前缀的最简单方法是在发布下一次更新时迁移到新的团队ID。当我的所有应用程序都被迁移后,我可以继续使用团队ID(正如Apple推荐的新应用程序),最后忘记所有这些混乱。
任何人都可以确认这一点吗?

I think I have read somewhere that it should be OK to change the prefix for existing apps, except in the special case that the app is using the keychain to store data. If this is true, the easiest way to handle the prefix for existing apps would be to migrate to the new Team ID when it's time to release next update. When all my apps are migrated, I can continue using the Team ID (as Apple recommends for new apps) and finally forget about all this mess. Can anyone confirm this?

如果您可以更多地了解AppID前缀的概念,那么它是什么实际上用于iOS设备(除了我已经知道的钥匙串),如果你能写评论我会很高兴。也许我们可以通过添加来自不同来源的零碎来建立对此的充分理解。可悲的是,这方面的Apple文档很薄。

If you can shed some more lights upon the concept of the AppID prefix, and what it is actually used for on an iOS device (except the keychain which I already know about), I would be happy if you could write a comment. Perhaps we could build up the full understanding of this by adding bits and pieces from different sources. Sadly, the Apple documentation is very thin in this area.

(还有一个类似的问题:我可以在批准后更改我的应用程序中的Bundle Identifier吗?但这主要集中在BundleID,即AppID的第二部分,所以这不是重复,即使有些回答和评论都涉及到这个主题。)

(There is another similar question: Can I change the Bundle Identifier in my app after it's been approved? But that is mainly focusing on the BundleID, i.e. the second part of the AppID, so this is not a duplicate, even though some of the answers and comments are touching upon this topic.)

推荐答案

我的结论,截至今天,它是完全安全的除了使用钥匙串的应用程序之外,用新的替换AppID前缀。这样就可以将App Store上所有现有应用的前缀迁移到新的基于TeamID的前缀。

My conclusion, as of today, is that it is completely safe to replace the AppID prefix by a new one, with the exception of apps using the keychain. This opens up for migrating the prefix for all my exiting apps on the App Store to the new TeamID based prefix.

此结论基于以下输入:


  • 我花了几周时间与Apple的开发人员支持讨论了
    。他们告诉我,除了使用钥匙串的应用程序之外,更改前缀应该没有任何问题。

  • 我做过的测试,使用ad-hoc分发,验证现有应用程序是否正确当测试设备更新为带有其他前缀的新版本时,测试设备没有丢失任何数据。

  • 我已经成功上传了两个
    的更新前缀的新版本我现有的应用程序到目前为止没有任何问题。

我改变的两个实时应用程序的状态是它们已在审查中获得批准。但是,他们目前正等待正在等待开发人员发布,因为我正在等待第三个应用程序做好准备,以便将该版本与该版本同步。

The status of the two "live" apps that I have changed, is that they have been approved in the review. However, they are currently waiting in "Pending Developer Release", since I am waiting for a third app to get ready in order to sync the release with that one.

如果当他们在App Store上线时我发现任何问题,我当然会更新这个答案。

If I see any kind of problems when they go live on the App Store, I will of course update this answer.

更新:

两个应用程序在三周前成功发布。推出工作按预期进行,我没有收到任何用户投诉。

The two apps were released successfully more than three weeks ago. The roll-out worked as expected and I have not received any user complaints.

总之,答案是肯定的,这是完全安全的!

In summary, the answer is YES, this is completely safe!

这篇关于更新之间更改AppID前缀是否安全?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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