Skip to content

Conversation

@Soliez
Copy link

@Soliez Soliez commented Oct 1, 2024

Function for getting the Bundle ID from a local Application using mdfind (spotlight) and defaults

It checks to see if an app is in installed locally and extracts the bundle ID from it's Info.plist if it does.

The Bundle ID of an app can be found in its Info.plist file in a key named CFBundleIdentifier

  • On MacOS, this file will be found in the Contents directory inside the Bundle (.app) directory
  • On iOS, this file will be inside in the Bundle (.app) directory

Related:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant