Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

analysis: automatically exclude macOS .DS_Store files #8042

Merged
merged 1 commit into from Oct 26, 2023

Commits on Oct 26, 2023

  1. analysis: automatically exclude macOS .DS_Store files

    On macOS, have Analysis automatically filter `.DS_Store` files from
    `datas` TOC list. These files might be present in package directories
    as result of user navigating them in the Finder app.
    
    The `.DS_Store` files are treated as data files, so when placed in
    a mixed-content directory (i.e., next to binaries), the `BUNDLE`
    generator cross-links them from `Resources` to `Frameworks`
    directory tree in the .app bundle. This, however, causes `codesign`
    to raise the following error: `.DS_Store files cannot be a symlink`.
    
    Since we have no reason to be collecting Finder's `.DS_Store`
    files in the first place, filter them out at the end of analysis.
    rokm committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    da759fe View commit details
    Browse the repository at this point in the history