I am trying to open an bundle file on my Mac Big Sur version 11.3.1 with Apple M1. I thought .bundle files are Mac specific files so there should be also something built in which opens this files. This is not the case. How can I open the file with Mac? Other ressources like 
CodePudding user response:
A bundle is just a file directory with a defined structure that the Finder treats as a single file. Unless it is an App Bundle it is not executable.
But you can examine the contents of the bundle if you control-click the file and choose "Show Package Contents"
If you do not have a "Show Package Contents": Control-click on the file, hold down option, choose "Copy ... as Pathname".
Open the Terminal and type cd ", paste the clipboard, followed by a closing " and hit enter. If your bundle was called My.bundle on the Desktop the Terminal would look like similar to this:
If you get an error, it is not actually a Bundle, but a plain file with the name .bundle.
If you don't get an error, type open . followed by return and it will open the Bundle contents in the Finder.


