What is the difference between application id and package id? Where is the application id in the Xcode project?

The pList file has the package identifier form.mycompany.myapp, but Apple also provides the application identifier on the developer portal.

So basically what is a packet identifier? Where can we find the application identifier in an Xcode project?

+44
iphone xcode
Nov 24 '10 at 21:55
source share
5 answers

Answers to OP Questions

What is the difference between application id and package id?

Since most people think of the application identifier as a string, they consider it interchangeable with the Bundle ID. It looks like this because when an application identifier is created in the Member Center, you only use the application identifier prefix that matches the bundle application package identifier

Where is the application id in the Xcode project?

Application ID not found in Xcode. This is an object (not just a string) in a Member Center. Xcode is the Bundle identifier. It is set when creating a new project. (screenshot below) Each target in the project will have a unique Bundle identifier. It can be found / changed by selecting a project in the Project Navigator, selecting "Purpose" and "General" or "Information" in the transition bar.

The Xcode interface is described here or here (depending on how Apple feels that day).

What is a package identifier?

It uniquely identifies each application. It is specified in Xcode. A single Xcode project can have multiple goals and therefore output multiple applications. A common use case is an application that has both Lite / free and pro / full versions or has several different types.

.




Definitions

  • Application id

    Think of it as an object in a Member Center with a lot of metadata, including:

    • Application ID Description
    • Application id prefix
    • Application ID Suffix
    • Application services
  • Application ID Description

    Alphanumeric spaces

    Sometimes you are shown this instead of the application identifier, or the drop-down menu is sorted by this application identifier

    (I always do this the same way as the application identifier, with dots changed to spaces)

  • Application id prefix

    Choose from the list of available hashes in Team ID format (see below)

    You almost always want to select the one that is marked as "(team ID)"

  • Application ID Suffix

    Reverse Domain Style String

    This should match the Bundle id specified in Xcode

  • Explicit Application Id

    Describes the application identifier with an application identifier suffix that does not contain wildcards

    It can be associated with only one application (by exactly matching the package identifier)

    Compatible with all application services

  • Wildcard Application Identifier

    Describes the application identifier with an application identifier suffix that ends with an asterisk

    May be associated with multiple applications (mapped to CLI / bash command line wildcard matching)

    Not compatible with Game Center, In-App Purchase, or Push Notification Services applications.

  • Application services

    Combination

    • Data protection
    • Game center
    • ICloud
    • In-app purchase
    • Inter-App Audio
    • Passbook
    • Push notifications
  • Team id

    10-digit alphanumeric hash

    Unique to each developer account (as in an account that costs $ 99 per year, not every developer in the account)

  • Apple ID

    A unique integer assigned by Apple when the application was first created in iTunes Connect.

  • Package id

    Reverse Domain Style String

    Defined by Xcode

    Uniquely identifies an application package on a device or simulator

    Must have an appropriate Apple-registered application identifier for deployment

    Used to distinguish between application updates and new applications.

  • Application package

    The result of the build process in Xcode. Although it has a .ipa extension, it is a zip file. Content is a very specific directory structure and contains everything needed for the application. Looks like someone took the Mac.app file from / Applications, put it in a directory called "Payload", zipped it up, and then changed the extension.

  • goal

    Each Xcode project has at least 1 goal. Each goal indicates an application that can be created from the project.

  • s

    Apple allows you to store the Unit Keeping Unit string (alphanumeric, cannot have spaces) for each application in iTunes Connect. Apple does nothing with this other than displaying it in the reports generated for your record.

.




Create an Xcode iOS Project Dialog in Xcode

Create Xcode iOS Project screenshot

.




Create Application Center ID page in Member Center

Create App ID screenshot

.




ITunes Connect App Information

iTunes Connect screenshot

+54
Dec 13 '13 at 0:47
source share

The package identifier is the application identifier, but the application identifier is not. An application identifier is a connection between an App profile and a Provision.

In the section "About package identifiers" in here you can see: "The package identifier accurately identifies one application."

And from here you can see: "The primary use of application identifiers is part of the provisioning profile; it indicates which applications are allowed by the profile that will be signed and launched."

The application identifier has 2 parts: “package seed identifier” and “package identifier search string”. The seed identifier of the package makes applications available for key binding, i.e. it is a key chain of applications that have the same package seed identifier. The package identifier search string determines the number of applications covered by this application identifier. If you use the Wildcard application identifier, this means that many applications will be authorized by the provisioning profile associated with this application identifier. For more information see here .

+27
Jun 18 '12 at 9:50
source share

Multiple applications can use the same application identifier. An application identifier does not uniquely identify an application.

An application identifier is a two-part string used to identify one or more applications from a single development team.

https://developer.apple.com/library/content/documentation/General/Conceptual/DevPedia-CocoaCore/AppID.html

The identifier that you see in iTunes Connect, which is unique to all applications, is known as the Apple ID application. I apologize for the confusion because nobody will be at Apple.

+9
May 08 '12 at 15:09
source share

Simply, the package identifier accurately identifies one application. The bundle identifier is used during the development process to provide devices and the operating system when the application is distributed to clients.

During development, you use the application package identifier in different places to identify the application. enter image description here

Whereas an application identifier is a two-part string used to identify one or more applications from a single development team.

enter image description here

The team identifier is provided by Apple and is unique to a specific development group, while the package identifier search string is supplied by you to match either the package identifier of one application or the set of package identifiers for your application group.

There are two types of application identifiers: an explicit application identifier used for a single application, and wildcard application identifiers used for a set of applications.

Sources: Package ID , APP ID

+6
Jan 25 '16 at 18:16
source share

An application identifier is a combination of two lines separated by a period (.). String1 is the team identifier that is assigned to the development team (provided by apple) String2 is the package identifier you selected.

The application identifier has two types.

  • Explicit application identifier: Here, the command identifier must correspond to only one application with a specific package identifier. This application identifier is used for only one application only . Example: TEAM_ID.BUNDLE_ID

  • Wildcard identifiers: Here, the team identifier should correspond to several applications with several package identifiers. This application identifier is used to match multiple applications . examples: TEAM_ID.BUNDLE_ID1, TEAM_ID.BUNDLE_ID1 ...

0
Nov 30 '16 at 4:58
source share



All Articles