ios 捆绑 ID 后缀?它是什么?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3436260/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-30 17:31:18  来源:igfitidea点击:

Bundle ID Suffix? What is it?

iphonecocoa-touchapp-store-connectios

提问by Ian McIntyre Silber

I'm new to the iPhone submission process. Apple asks for the Bundle ID Suffix. What is this? Not sure what to put here and what the significance of it is.

我是 iPhone 提交过程的新手。Apple 要求提供捆绑 ID 后缀。这是什么?不确定在这里放什么以及它的重要性是什么。

回答by Nikolay Frick

If you don't have a company, leave your name, it doesn't matter as long as both bundle id in info.plist file and the one you've submitted in iTunes Connect match.

如果您没有公司,请留下您的姓名,只要 info.plist 文件中的 bundle id 和您在 iTunes Connect 中提交的 bundle id 匹配就可以了。

In Bundle ID Suffix you should write full name of bundle ID.

在 Bundle ID Suffix 中,您应该写出 Bundle ID 的全名。

Example:

例子:

Bundle ID suffix = thebestapp (NOT CORRECT!!!!)

Bundle ID suffix = com.awesomeapps.thebestapp (CORRECT!!)

The reason for this is explained in the Developer Portal:

原因在开发者门户中解释:

The App ID string contains two parts separated by a period (.) — an App ID Prefix(your Team ID by default, e.g. ABCDE12345), and an App ID Suffix(a Bundle ID search string, e.g. com.mycompany.appname). [emphasis added]

App ID 字符串包含由句点 (.) 分隔的两部分 - App ID 前缀(默认情况下您的团队 ID,例如ABCDE12345)和App ID 后缀(Bundle ID 搜索字符串,例如com.mycompany.appname)。[强调]

So in this case the suffix is the full string com.awesomeapps.thebestapp.

所以在这种情况下,后缀是完整的 string com.awesomeapps.thebestapp

回答by Jasarien

The bundle identifier is an ID for your application used by the system as a domain for which it can store settings and reference your application uniquely.

捆绑标识符是系统用作您的应用程序的 ID,它可以存储设置并唯一地引用您的应用程序的域。

It is represented in reverse DNS notation and it is recommended that you use your company name and application name to create it.

它以反向 DNS 表示法表示,建议您使用公司名称和应用程序名称来创建它。

An example bundle ID for an App called The Best App by a company called Awesome Apps would look like:

由一家名为 Awesome Apps 的公司开发的名为 The Best App 的应用程序的示例包 ID 如下所示:

com.awesomeapps.thebestapp

In this case the suffix is thebestapp.

在这种情况下后缀为thebestapp