Finding Team ID and Bundle ID
codesign -dv [PATH OF APPLICATION]
Team ID, find the text starting with “TeamIdentifier=”
Bundle ID, find the text starting with “Identifier=”
Finding Code Requirement
codesign -dr - [PATH OF APPLICATION]
Find the text starting with “designated =>” (this is the Code Requirement)
Links:
https://support.addigy.com/hc/en-us/articles/4403542583187-How-To-Get-The-Team-ID-Bundle-ID-and-Code-Requirement
Find 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.
Open Terminal on your Mac.
Run the following command:
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:
osascript -e ‘id of app “Finder”‘