码迷,mamicode.com
首页 > 移动开发 > 详细

Cocoa Core Competencies_3_App ID

时间:2015-03-05 00:24:58      阅读:202      评论:0      收藏:0      [点我收藏+]

标签:app   系列文章   ios   developer   cocoa   

注: 该系列文章翻译自iOS Developer Library –> Cocoa Core Competencies

Cocoa Core Competencies, 顾名思义 Cocoa核心概念。只是各个部分概念介绍, 更加详尽的学习, 参见各个章节提供的相关链接。

译者水平有限, 难免存在各种问题, 欢迎指正交流。

欢迎转载, 转载请注明出处: Colin

App ID

An App ID is a two-part string used to identify one or more apps from a single development team. The string consists of a Team ID and a bundle ID search string, with a period (.) separating the two parts. The Team ID is supplied by Apple and is unique to a specific development team, while the bundle ID search string is supplied by you to match either the bundle ID of a single app or a set of bundle IDs for a group of your apps.

一个App ID是由两个部分内容组成的字符串, 用来区分一个开发团队中的多个App。这个字符串由一个Team ID 和 Bundle ID search string 组成, 用一个句号(.)来分开这两个部分。Team ID是由Apple提供的并且每个开发团队的都是独一无二的。然而Bundle ID search string是由你自己提供来匹配单个App的Bundle ID或者 一组 Apps的  bundle IDs。

技术分享

There are two types of App IDs: an explicit App ID, used for a single app, and wildcard App IDs, used for a set of apps.

有两种类型的 App ID: 一个 明确的/显式App ID ,用于单个App, 另外一个通配App IDs ,用于一组 Apps。

An Explicit App ID Matches a Single App

一个用于匹配单个App的明确的/显式App ID

For an explicit App ID to match an app, the Team ID in the App ID must equal the Team ID associated with the app, and the bundle ID search string must equal the bundle ID for the app. The bundle ID is a unique identifier that identifies a single app and cannot be used by other teams.

一个明确的/显示App ID为了匹配一个应用, 它的Team ID必须等同于这个App所属的Team ID, 并且它的Bundle ID search string必须等同于这个App的Bundle ID。Bundle ID是一个用来标识一个App的唯一标识符, 它不能由其他开发团队使用。

Wildcard App IDs Match Multiple Apps

用来匹配多个Apps的通配App IDs

A wildcard App ID contains an asterisk as the last part of its bundle ID search string. The asterisk replaces some or all of the bundle ID in the search string.

一个通配App ID的 bundle ID search string 末尾包含一个星号(*)。这个星号(*)代替部分或者全部 bundle ID search string.

技术分享

The asterisk is treated as a wildcard when matching the bundle ID search string with bundle IDs. For a wildcard App ID to match a set of apps, the bundle ID must exactly match all of the characters preceding the asterisk in the bundle ID search string. The asterisk matches all remaining characters in the bundle ID. The asterisk must match at least one character in the bundle ID. The table below shows a bundle ID search string and some matching and nonmatching bundle IDs.

当bundle ID search string匹配 bundle IDs的时候, 星号(*)作为一个通配符。当通配App ID匹配一组Apps的时候, Bundle ID必须精确匹配bundle ID search string里在星号(*)之前的所有字符。星号(*)必须至少匹配Bundle ID中的一个字符。下表展示了一个 bundle ID search string 和 一些匹配/不匹配的 Bundle IDs。

技术分享

For a wildcard App ID to match an app, the Team ID must match exactly and the bundle ID must match the bundle ID search string using the wildcard matching rules.

当通配App ID匹配一个App的时候, 它的Team ID必须完全匹配, 并且bundle ID必须和符合通配匹配规则的bundle ID search string相匹配。

Related Articles

(None)

Definitive Discussion

App Distribution Guide

Cocoa Core Competencies_3_App ID

标签:app   系列文章   ios   developer   cocoa   

原文地址:http://blog.csdn.net/hitwhylz/article/details/44067859

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!