Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

blackxacto

macrumors 65816
Original poster
Jun 15, 2009
1,276
152
Middle TN
19,1 iMac, Sequoia15.3:

If i am asked to replace w a bundle identifier in terminal, is there an exact spelling or word form the instructions are asking for?
 
Probably would help to provide more detail re what exactly you are trying to do as answer will be specific to what's going on.

Apple bundle IDs will be along the lines of "com.apple.appnamehere". Chrome is "com.google.Chrome". VLC is "org.videolan.vlc". TurboTax is year dependent: 2024 is "com.intuit.turbotax.2024".

And so on.

So need to get specific if want an answer, as right now, answer is "depends".

Can get bundle ID from an app via either of these:

Code:
% mdls -name kMDItemCFBundleIdentifier /Applications/Google\ Chrome.app
kMDItemCFBundleIdentifier = "com.google.Chrome"
% osascript -e 'id of app "Google Chrome"'
com.google.Chrome
%

Or if Xcode is installed, can view the contents of AppName.app/Contents/Info.plist in Xcode and scroll to bundle ID entry.

Apps have their IDs, extension have their own, subcomponents (eg. Google Updater process) can have their own.
 
Last edited:
  • Like
Reactions: bogdanw
Or if Xcode is installed, can view the contents of AppName.app/Contents/Info.plist in Xcode and scroll to bundle ID entry.
It can also be read from Terminal

Code:
defaults read /Applications/Google\ Chrome.app/Contents/Info.plist CFBundleIdentifier
 
  • Like
Reactions: NoBoMac
Probably would help to provide more detail re what exactly you are trying to do as answer will be specific to what's going on.

Apple bundle IDs will be along the lines of "com.apple.appnamehere". Chrome is "com.google.Chrome". VLC is "org.videolan.vlc". TurboTax is year dependent: 2024 is "com.intuit.turbotax.2024".

And so on.

So need to get specific if want an answer, as right now, answer is "depends".

Can get bundle ID from an app via either of these:

Code:
% mdls -name kMDItemCFBundleIdentifier /Applications/Google\ Chrome.app
kMDItemCFBundleIdentifier = "com.google.Chrome"
% osascript -e 'id of app "Google Chrome"'
com.google.Chrome
%

Or if Xcode is installed, can view the contents of AppName.app/Contents/Info.plist in Xcode and scroll to bundle ID entry.

Apps have their IDs, extension have their own, subcomponents (eg. Google Updater process) can have their own.
I ran an app called Skint. It found:
/Users/johnr/Library/Containers/com.apple.iBooksX/Data/Documents/BCCloudData-iBooks/BCAssetData error -67062 code object is not signed at all
/Users/johnr/Library/Containers/com.apple.iBooksX/Data/Documents/BCCloudData-iBooks/BCCloudGlobalMetadata error -67062 code object is not signed at all
/Users/johnr/Library/Containers/com.apple.iBooksX/Data/Documents/BCCloudData-iBooks/BCReadingStatisticsSync error -67062 code object is not signed at all
/Users/johnr/Library/Containers/com.apple.iBooksX/Data/Documents/BCCloudData-iBooks/CRDTModelSync-ReadingHistoryModel error -67062 code object is not signed at all

I wanted to try to delete them, but they are Private files. The terminal command I was using said to replace a term w the bundle identifier. I like experimenting, but am not a programmer. I wondered if it was asking for the name of the application or another term for the files.
 
Again, lacking information, this time what was the command being run.

And those files (directories/folders actually) are normal items for iBooks and does not need to be touched, no matter what that Skint thinks.

But, in case of iBooks, bundle id is "com.apple.iBooksX", same as Container name.
 
Again, lacking information, this time what was the command being run.

And those files (directories/folders actually) are normal items for iBooks and does not need to be touched, no matter what that Skint thinks.

But, in case of iBooks, bundle id is "com.apple.iBooksX", same as Container name.
Thanks
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.