LoginSignup
19
14

More than 5 years have passed since last update.

【OSX】利用しているアプリケーションのBundle Identifierを調べる

Posted at

1. lsappinfoコマンドを使う

起動中のアプリはこれで見れる。

$ lsappinfo info -only bundleid Finder

2. Info.plistを見る

Application ディレクトリにある *.app ファイルの中の Info.plist を見てもよい。
ただし、たまにバイナリファイルな感じで見れない。

$ grep -A 1 BundleIdentifier ~/Applications/IntelliJ\ IDEA\ 15.app/Contents/Info.plist
    <key>CFBundleIdentifier</key>
    <string>com.jetbrains.intellij</string>
$ grep -A 1 BundleIdentifier /Applications/Evernote.app/Contents/Info.plist
19
14
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
19
14