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,
- 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).
- Click on the required macOS device and navigate to the Applications sub-tab.
- 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. 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:
- Head to the Apps tab.
- Choose the App Platform as macOS under Filter Apps.
- Search and find the required app.
- 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:
The following instructions provide the details on locating the bundle ID of an app on Terminal.
- Open Terminal on your Mac.
- Run the following command:
Bundle ID of App1osascript -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 Finder1osascript -e 'id of app "Finder"'
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:
- 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.
- Copy the number that suffixes the ID in the URL (here, it’s 497799835).
- Next, open the below URL by replacing the number in the URL with the number that you just copied:
- 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”.
Following are the steps to find the bundle ID of already installed applications on your Mac:
- Open Finder on your Mac.
- Head on to Applications.
- Right-click on the required application and select ‘Show Packaged Contents’.
- Open the Contents folder of that application.
- Open the info.plist file using either Xcode or TextEdit. You can find the bundle ID of that application in this file.