Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!
Topics for particular software or systems: Start your topic link with the name of the application or system.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.
Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is most likely no translated for the post!
macOS - Resource fork, Finder information, or similar detritus not allowed
April 30, 2019 12:07 AM
When signing you application, sometimes you can get the unexpected "resource fork, Finder information, or similar detritus not allowed" error message.
This refers to additional files and/or information stored in your .app bundle.
Code signing no longer allows any file in an app bundle to have an extended attribute containing a resource fork or Finder info.
To see which files are causing this error, run this command in Terminal:
You can list the extra's like so:
$ xattr -lr <path_to_app_bundle>
and you can clean them up like so:
$ xattr -cr <path_to_app_bundle>
According to Apple:
Note that browsing files within a bundle with Finder's Show Package Contents command can cause Finder info to be added to those files.