# How to find bundle ID of an application on Mac

A bundle ID or bundle identifier is a unique identifier of an app in Apple’s ecosystem. It means that no two apps can have the same bundle ID.

A bundle identifier lets macOS recognize any updates to your app. It is used in validating the application signature. A bundle ID is of the format – com.hexnodemdm.macvalidator

Find the bundle ID of an app using Hexnode UEM
----------------------------------------------

Hexnode offers two ways to find the bundle ID of an application:

### Find bundle ID from the Manage tab

To find the bundle ID of an app installed on a macOS device,

1. Head to **Manage** > **Devices**. You can utilize the search box to find the required device or use the filter column to sort devices based on the platform (macOS).
2. Click on the required macOS device and navigate to the **Applications** sub-tab.
3. Search for the required app and find the bundle ID of the corresponding app using the **Identifier** column in the filter menu.

### Find bundle ID from the Apps tab

The bundle ID of an application can also be obtained from the [app inventory](https://www.hexnode.com/mobile-device-management/help/setting-up-app-inventory-in-hexnode-mdm/). Make sure that the app is already added to the app inventory. Else, add them from **Apps** > **+Add Apps** > **Store App**. Then, perform the following steps to obtain the bundle ID of an app:

1. Head to the **Apps** tab.
2. Choose the **App Platform** as **macOS** under **Filter Apps**.
3. Search and find the required app.
4. Click on the app. The value corresponding to the **Identifier** gives the bundle ID of the app.

Find the bundle ID of an app on Mac
-----------------------------------

There are multiple ways to determine the bundle ID of an app using the Mac. Some of them are detailed below:

### Method 1

The following instructions provide the details on locating the bundle ID of an app on Terminal.

1. Open Terminal on your Mac.
2. Run the following command: Bundle ID of App
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    osascript -e 'id of app "App Name"' 
    
       1
    
    
    
      osascript -e 'id of app "App Name"' 
    
    
    
       
    
     
    
      
    
    Replace the “App Name” with the exact name of the app, as it shows when you hover over its icon in the dock. For example, to get the bundle id of Finder, enter the command:
    
    Bundle ID of Finder
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    osascript -e 'id of app "Finder"' 
    
       1
    
    
    
      osascript -e 'id of app "Finder"'

### Method 2

There’s no possible solution to locate the bundle ID of apps within the Mac App Store. There’s an alternative way to look at a file within the app to fetch its bundle ID in such cases. Here’s how you can do it:

1. Search and find the app online on a web browser. Here, we consider the Xcode application as the reference app. Be sure not to open the link in the Mac App Store.
2. Copy the number that suffixes the ID in the URL (here, it’s 497799835).
3. Next, open the below URL by replacing the number in the URL with the number that you just copied: <https://itunes.apple.com/lookup?id=497799835>
4. A file will be downloaded from which the bundle ID of the concerned app can be fetched. In this case, it will look like (apart from other data): “bundleId”:”com.apple.dt.Xcode”. Here, the bundle ID of the given application Xcode will be “com.apple.dt.Xcode”.

 Note: 
This method is applicable only for apps available on the Mac App Store.

 

### Method 3

Following are the steps to find the bundle ID of already installed applications on your Mac:

1. Open **Finder** on your Mac.
2. Head on to **Applications**.
3. Right-click on the required application and select ‘**Show Packaged Contents**’.
4. Open the **Contents** folder of that application.
5. Open the **info.plist** file using either *Xcode* or *TextEdit*. You can find the bundle ID of that application in this file.

![Find bundle id of macOS applications using Finder](https://cdn.hexnode.com/mobile-device-management/help/wp-content/uploads/2021/03/Find-bundle-id-of-macOS-applications.png "Find bundle id of macOS applications")