Page 1 of 1

MacOS – Resource fork, Finder information, or similar detritus not allowed

macOS – Resource fork, Finder information, or similar detritus not allowed

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.
Examples: "MacOS X - Your question", "MS Word - Your Tip or Trick".

Please note that switching to another language when reading a post will not work!
Posts will not have a translated counterpart.




RSS Feed

Home Forums Software Development Delphi, Lazarus, Free Pascal macOS – Resource fork, Finder information, or similar detritus not allowed

This topic contains 0 replies, has 1 voice, and was last updated by  hans 2 months, 2 weeks ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • 11882

    hans
    Keymaster

    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. 

Viewing 1 post (of 1 total)



You must be logged in to reply to this topic.