App配置文件中的应用程序ID(App ID in provisioning profile for iPhone application)

编程入门 行业动态 更新时间:2024-10-25 02:30:04
App配置文件中的应用程序ID(App ID in provisioning profile for iPhone application)

我创建了一个小型的iPhone应用程序,我必须在iPhone上测试这个应用程序。 我必须创建配置文件,但我对我应该选择的App ID感到困惑。 起初,它使我可以选择输入APP ID描述,然后选择后来的2个选项来输入App ID后缀。 这是我的问题

我在这里创建的应用程序ID是否必须对我创建的项目执行任何操作。 我的意思是,如果我只为App ID选择一些随机名称,并且我的应用程序包的名称是其他名称,那么它会在以后为我创建问题吗?

App ID后缀有一个选项可以提供Bundle ID。 它又与我的应用程序的软件包名称有什么关系?

网站上为通配符提供的示例是“com.domainname。*”。 这里的域名必须是一个真实的域名,或者它可以是我选择的任何随机的域名?

请澄清我的疑惑,因为我必须构建配置文件来测试我的应用程序。

提前致谢。

I have created a small iPhone application and I have to test this application on iPhone. I have to create a provisioning profile, but I am confused about the App ID that I should choose. At first it gives me option to enter APP ID description and then later 2 options to enter App ID suffix. Here are my questions

The App ID that I create here, does it have to do anything with the project that I have created. I mean, if I just choose some random name for App ID and the name of the bundle of my application is something else then will it create problems for me later?

App ID suffix has an option to give Bundle ID. Again does it have anything to do with the bundle name of my application?

The example provided on the website for wildcard is "com.domainname.*". Here domain name has to be an actual domain name or can it be just anything at random that I choose?

Please clarify my doubts as I have to build a provisioning profile to test my application.

Thanks in advance.

最满意答案

App ID必须与Bundle identifier (在Xcode中),并且如果您通过iTunesConnect发布它,则此应用程序的标识符将被给出并且不能再被更改。 AppID描述是独立的,可编辑的,并在DeveloperPortal中可见。 它只是使处理许多ID变得更容易。

AppID / BundleIdentifier标识一个独特的应用程序。 Bundle Name只是一个名字,如果你愿意的话,你可以稍后改变它。

反向域是一个建议,你应该使用你的域名,所以你可以确定没有其他人使用这个标识符,否则可能会导致一些问题。 最后一部分只是为了你,所以你可以很容易区分你的应用程序,特别是如果你有很多很多的应用程序在未来;)

com.yourdomain.yourappname , com.yourdomain.yourappname.subApp123 , com.yourdomain.whateveryouwant , com.yourdomain.* (通配符易于使用,但不能使用PushNotification等)。

但正如我在1中所说的。如果你的App在AppStore中,Identifier和App是连接的。 所有AppID都可以重命名,Provisioning-Profiles可以删除并重新创建。 Appname(在iTunes和AppIcon下的设备)也是可编辑的,所以不要担心;)

The App ID has to be equal the Bundle identifier(in Xcode) and if you publish it via iTunesConnect, the identifier for this App is given and can't be changed anymore. The AppID Description is independent, editable and just visible within the DeveloperPortal. It just makes it easier to handle many IDs.

The AppID/BundleIdentifier identifies a unique App. The Bundle Name is just a name, you can change it later if you want.

The reverse domain is a suggestion and you should use yourdomain, so you can be sure nobody else uses this identifier, otherwise it could cause some Problems. The last Part is just for you, so you can easiely distinguish you App, espacially if you have many many Apps in the Future ;)

com.yourdomain.yourappname, com.yourdomain.yourappname.subApp123, com.yourdomain.whateveryouwant, com.yourdomain.* (Wildcards are easy to use but then you cant use PushNotification,etc.)

But like I said in 1. If you App is in the AppStore the Identifier and the App are connected. All the AppIDs can be rename and the Provisioning-Profiles can be deleted and recreated. And the Appname(In iTunes and an the Device under the AppIcon) is also editable, so don't worry about that ;)

更多推荐

本文发布于:2023-08-07 18:55:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1465950.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:配置文件   应用程序   ID   App   iPhone

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!