# Bundle Identifier

A bundle ID (also known as a bundle identifier) is a unique identifier assigned to an app or a suite of apps. It identifies and distinguishes the app from other apps on the Apple platform.

A bundle ID is typically a reverse-DNS string in the form of a domain name, with the app's name appended to the end. For example, a bundle ID for an app called "My App" might be "com.codemash.myapp". This ensures that the bundle ID is unique and can't be confused with any other app on the Apple platform.

Bundle IDs are used for a variety of purposes in Apple app development, including:

* Identifying an app in the App Store, the Mac App Store, and other app distribution platforms.
* Identify an app in the iOS and macOS keychain which stores passwords, certificates, and other sensitive information.
* Identifying an app when it is installed on a device so it can be launched and run by the operating system.
* Identifying an app when it is being tested or debugged so that the correct app is being tested or debugged.

## Find Bundle ID using Apple Developer Portal

1. Go to the [Apple Developer Portal](/other-topics/apple/developer-portal.md) and sign in with your Apple ID.
2. From the home page, click on the "Identifiers" link.

   <figure><img src="/files/e6sggCbJsuki10EzvI7T" alt=""><figcaption><p>Click on identifiers</p></figcaption></figure>
3. You will see a list of all registered identifiers to your account. This list will include the bundle ID for each app.
4. Look for the app you want to find the bundle ID for, and click on the identifier to view more information.

   <figure><img src="/files/OA7tN7NKxJjkPlHlPnbF" alt=""><figcaption></figcaption></figure>
5. The bundle ID for the app will be displayed in the "Identifier" field.

## Find Bundle ID using Xcode

1. Open the Xcode project for the app.
2. In the Xcode project navigator, select the app target.
3. In the "General" tab, look for the "Bundle Identifier" field. This field should contain the bundle ID for the app.

<figure><img src="/files/AfEHjTcgS6FYs4inyXRz" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.codemash.io/other-topics/apple/bundle-identifier.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
