适用于iPhone / iPod Touch应用程序的通配符应用程序ID [英] Wildcard App IDs for iPhone/iPod Touch Apps

查看:134
本文介绍了适用于iPhone / iPod Touch应用程序的通配符应用程序ID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写我的第三个应用程序,我已经在App Store中有一个应用程序,但我仍然没有获得此App ID业务。

I'm writing my third app, and I already have an app in the App Store, but I still don't get this App ID business.

I为我的前两个应用程序创建了这样的App ID:

I created the App IDs for my first two applications like this:

XXXXXXXXXX.me.cbg.FirstApp
YYYYYYYYYY.me.cbg.SecondApp

然后Apple引入了App ID向导,我用它来为我的第三个应用程序创建App ID和配置文件:

but then Apple introduced the App ID wizard, which I used to create the App ID and provisioning profiles for my third application:

ZZZZZZZZZZ.*

所以我的问题是:为三个完全独立的人创建App ID的正确方法是什么?应用程序?

So my question is: What is the "proper" way of creating App IDs for three completely independent apps?

我应该使用 XXXXXXXXXX。* 格式还是 XXXXXXXXXX.me.cbg 。*

我应该创建三个不同的应用ID,还是只创建一个通配符ID?

Should I create three different App IDs, or just one wildcard ID?

推荐答案

两者都是正确的,这主要是在易于管理和允许更细粒度的证书管理之间进行权衡的问题。

Both are "proper", it's mostly a question of the tradeoff between ease of management and allowing more granular management of certificates.

那里两个技术差异:


  1. ID为
    的应用程序与顶级
    相同(例如com.mycompany.aaa和
    com.mycompany.bbb)能够
    访问彼此保存的数据。如果
    你正在编写一套
    的应用程序,那么这可能是
    非常有用。

  1. Applications with IDs that are identical save from the top level (e.g. com.mycompany.aaa and com.mycompany.bbb) are able to access each others saved data. If you are writing a suite of applications then this could be extremely useful.

你只能创建一个限量
的AdHoc证书。如果您的
应用具有相同的通配符
标识符,那么此限制将是所有
应用中的

You can only create a limited number of "AdHoc" certificates. If your apps have the same wildcard identifier then this limit would be imposed across all your applications.

对于小型开发人员,我建议使用通配符ID。它导致在几个领域管理的次数要少得多,因此消除了很多错误的可能性。请记住,对于每个ID,您可能有三个单独的证书(dev / adhoc / appstore)。

Personally for a small developer I would recommend using a wildcard ID. It results in a lot less to manage in several areas, and hence removes a lot of potential for mistakes. Remember that for each ID you'll probably have three individual certificates (dev/adhoc/appstore).

背景:

每个iPhone应用程序都必须具有唯一的标识符和证书。开发人员可以使用完整的名称(例如com.mycompany.aaa)为每个应用程序创建证书,也可以创建通配符证书/ ID(例如com.mycompany。*),在这种情况下,.plist文件中的应用程序名称用于在DRM过程中完成标识符。

Every iPhone application must have a unique identifier and certificate. Developers can either create a certificate per application by using a complete name (e.g. com.mycompany.aaa), or they can create a wildcard certificate/ID (e.g. com.mycompany.*) in which case the app name in the .plist file is used to complete the identifier during the DRM process.

这篇关于适用于iPhone / iPod Touch应用程序的通配符应用程序ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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